简体   繁体   中英

I have an error with my Unity game In App Purchases

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.UnityPurchasing:Initialize (UnityEngine.Purchasing.IStoreListener,UnityEngine.Purchasing.ConfigurationBuilder)

I am getting these errors, how can I fix them? How can I fix this and stop it from happening? My unity IAP doesn't take any datas from the user right? I mean last time that I checked, when I purchased IAP in my TestFlight, it just pop a simple page and says confirm. It doesn't take any data like credit or debit information, so I don't have to report this to Apple Store or Play Store data privacy?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM