IAP On VisionOS “NoProductsAvailable”

Has anyone tried running Unity IAP 4.11.0 on VisionOS? I configured it according to the documentation, but during sandbox testing, the IAP initialization keeps returning “NoProductsAvailable.”

Hello binbinku,

On IAP 4.11.0, we improve the IStoreListener.OnInitializeFailed error message associated with the NoProductsAvailable, this should give you a better idea on what went wrong.

Are you testing on a real device or on a simulator? The simulator requires using a StoreKit configuration file.

1 Like

I successfully conducted Unity’s IAP local testing on VisionOS using Xcode and completed Sandbox testing.

1. Carefully configure Apple Connect backend according to the IAP documentation, especially ensuring that the product status is set to Ready to Submit.
2. The Bundle ID in Apple Connect for the app must match the Bundle ID in the Xcode project.
3. When performing Xcode StoreKit local testing, make sure to select the VisionOS app as the Target while creating the StoreKit configuration.
4. During Sandbox testing, the Sandbox account prompt only appears the first time the app is launched after a Vision Pro restart. Additionally, the prompt appears on the back side and cannot be moved.
5. For Unity, version 4.11.0 is the correct one for this process. However, the changelog for 4.12.0 mentions VisionOS support. Based on testing, versions above 4.11.0 all work properly.