I created a copy of my project and imported the copy into the latest Unity 2023 beta (2023.2.6f1). It seems to be working significantly better than it was before now. A number of things have actually started working better. I can now connect Unity properly to my IDE of preference (VS Code), My device simulator is now working properly.
I am still getting the following debug message:
Unity IAP: Unity In-App Purchasing requires Unity Gaming Services to have been initialized before use.
- Find out how to initialize Unity Gaming Services by following the documentation https://docs.unity.com/ugs-overview/services-core-api.html#InitializationExample
or download the 06 Initialize Gaming Services sample from Package Manager > In-App Purchasing > Samples.
- If you are using the codeless API, you may want to enable the enable Unity Gaming Services automatic initialization by checking the Automatically initialize Unity Gaming Services checkbox at the bottom of the IAP Catalog window
UnityEngine.Purchasing.BaseIAPButton:OnEnable () (at ./Library/PackageCache/com.unity.purchasing@4.10.0/Runtime/Codeless/BaseIAPButton.cs:61)
But at least for now, Anyway, the mechanics of my store are actually working in the Unity Editor.
I haven’t tested to see if upgrading to my version of 2022, or the latest version of 2022, or the latest version of 2021 would fix.
Something to note is that for my version, I get it set up with the IAP button, to use PurchaseFailureDescription
instead of PurchaseFailureReason
, and using UnityEngine.Purchasing.Extension;