WeChat Mini App
The WeChat integration ships a bridge between Unity and the Tencent Mini Program runtime for launching VPS-enabled AR content inside the WeChat ecosystem. Access is limited to Enterprise contracts.
Enterprise Access
- Provide your Tencent developer account ID, target provinces, and mini program review schedule when contacting
support@arclip.design. - After approval you will receive:
com.webarvps.vps.wechatUnity package.- A WeChat Mini Program scaffold with secure API proxying.
- CI/CD templates for packaging Unity WebGL builds into the WeChat asset bundle format.
Enterprise only: The WeChat transport layer, analytics hooks, and mini program templates are not distributed publicly.
Prerequisites
- Approved WeChat Mini Program account with AR permissions.
- Unity 2022.3 LTS with WebGL build support.
- Access to the AR Clip WeChat proxy endpoint (Enterprise entitlement).
Setup Steps
- Add the Enterprise registry and install
com.webarvps.vps.wechat. - Build your scene for WebGL using the AR Clip template; enable Offscreen Rendering in Player Settings.
- Run the provided
wechat-packagerCLI to wrap the build output into a Mini Program asset. - Configure the API proxy by setting
WECHAT_VPS_PROXY_URLinAssets/WebARStudio/Wechat/Resources/Config.asset. - Deploy to the WeChat developer console and test via the Mini Program dev tools.
Testing Checklist
- Verify login and signature validation using your Tencent sandbox credentials.
- Run localization in both Wi-Fi and cellular scenarios to ensure low-latency frame uploads.
- Confirm analytic events reach the WeChat data dashboard via the bundled telemetry plugin.
- Test graceful fallback to 2D content if camera permission is denied.
Support
Enterprise support includes help with Tencent security reviews, traffic quota sizing, and joint debugging sessions with AR Clip engineers.