Skip to main content

WeChat Mini App

Launch VPS-enabled AR content inside WeChat. The integration bridges Unity and the Tencent Mini Program runtime. It is available only with Enterprise contracts.

Get access​

  • Email support@arclip.design with your Tencent developer account ID and Mini Program review schedule.
  • You get:
    • the com.webarvps.vps.wechat Unity package;
    • a WeChat Mini Program starter project with secure API proxying;
    • CI/CD templates that package Unity WebGL builds into the WeChat asset bundle format.
Enterprise only

The WeChat integration and its tools are not part of the public SDK.

Requirements​

  • An approved WeChat Mini Program account with AR permissions
  • Unity 2022.3 LTS with WebGL build support
  • Access to the AR Clip WeChat proxy endpoint (part of Enterprise)

Set up​

  1. Add the Enterprise registry and install com.webarvps.vps.wechat.
  2. Build your scene for WebGL with the AR Clip template. Turn on Offscreen Rendering in Player Settings.
  3. Run the included wechat-packager CLI to wrap the build into a Mini Program asset.
  4. Set up the API proxy: set WECHAT_VPS_PROXY_URL in Assets/WebARStudio/Wechat/Resources/Config.asset.
  5. Deploy to the WeChat developer console and test in the Mini Program dev tools.

Testing checklist​

  • Check login and signature validation with your Tencent sandbox credentials.
  • Run localization over Wi-Fi and over mobile data, to make sure frame uploads stay fast.
  • Check that analytics events reach the WeChat data dashboard through the bundled telemetry plugin.
  • Check that the app falls back to 2D content if the user denies camera access.

Support​

Enterprise support includes help with Tencent security reviews, traffic quota sizing, and joint debugging sessions with AR Clip engineers.