- Home /
UnityPurchasing is not initializing on UWP
Hi,
I am successfully using Unity IAP on Android and iOS, but on UWP builds it does not initialize.
UnityPurchasing.Initialize(listener, builder);
does not give any callback (neither OnInitialized nor OnInitializeFailed). The app is registered in the Windows Store and IAP items have been configured and show "In the Store".
Also builder.Configure<IMicrosoftConfiguration>().useMockBillingSystem = true;
does not seem to work properly as I had UnityPurchasing initializing with this line a couple of times, but running the same build again (without any changes) often resulted in the same problem.
I am using:
Unity 2017.1.3p1
Unity IAP 1.18.0
Visual Studio 2017 15.6.3
The Scripting Runtime Version is .Net 3.5 Equivalent, Scripting Backend is IL2CPP and Api Compatibility Level is .Net 4.6.
Thank you for your time.
Hopefully somebody knows what the problem might be.
Your answer
Follow this Question
Related Questions
IAP fails on Windows Store 0 Answers
Fullscreen button at standalone window 0 Answers
UWP 8.1 minimum resolution 0 Answers
Windows Store Logo is Unity Logo 0 Answers
Can't run game on Windows Metro becouse of error with dll's 1 Answer