Version: 2020.1
UDP reference
XR

UDP troubleshooting

Incorrect UDP implementation

An incorrect implementation of UDP in your game client could prevent users from purchasing IAP products. Typical symptoms of such a problem in your game include:

  • The wallet doesn’t appear when invoked

  • In-app purchases are unresponsive If these symptoms occur in your generic UDP build, resolve them before you repack your game.

No IAPs are displayed in the UDP console

Make sure you push your IAP Catalog information in the Editor.

Error: Packing Failed: No UDP SDK detected

This can happen with an implementation via Unity IAP, if you forget to set UDP as the build target.

It can also happen if you use the Minify option while building your APK; UDP may not be able to find files/directories that it needs because of it. Keep UDP-related packages in a customized proguard file (or disable Minify option) and rebuild your game.

UDP Sandbox: login screen doesn’t appear

The login screen in the Sandbox can fail to appear if the Init() method has not been implemented properly. The login screen is displayed when Init() is called. Init() is successful only when the login is successful. Unity recommends to implement Init() when your game launches.

UDP reference
XR
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961