The error message Unity: NullReferenceException: Object reference not set to an instance of an object, is either a new error or I missed it last time when I post (sorry> /storage/emulated/0/Android/data/com.Annoying_Cat.Defend_Your_Balls/cache/UnityAdsCache/UnityAdsCache-ecd25554bef9dcc35e60dc66c9ade597ce8e272df5f9df8ddfffa567c0ba8577.mp4Ġ6-19 21:30:06.758 16895-17073/? I/UnityAds: com.unit圓d.() (line:70) :: Requesting ad plan from Ġ6-19 21:30:07.086 16895-17076/? I/UnityIAP: Owned items response: 0Ġ6-19 21:30:07.218 16895-17076/? I/UnityIAP: Querying owned items' purchase history, item type: subs Please note that the line "Unavailable product consumable -consumable" and "Unavailable product nonconsumable -nonconsumable" in the log is because i didn't add these 2 items as IAP item in google dev console. When I click the buy button on device, there is nothing happening on the device screen.
![pro evolution soccer 2018 pc pro evolution soccer 2018 pc](https://www.corporatearmor.com/wp-content/uploads/2019/01/aruba_iap314-5-pack.png)
I mean i'm still getting "The class UnityEngine.VR.VRSettings could not be loaded, used in Stores" that I got previously. Please tell me if you think i missed something important while setting up the IAP, and many thanks
#PRO EVOLUTION SOCCER 2018 PC APK#
However, even after manually update the API and reimport the IAP package and purchaser script as mentioned on the other thread ( ), I'm still getting the same error on unity (ArgumentException: Cannot set currency to an empty or null string.) and same log error from android device.įYI: (i don't know if there is anything to do with the stuff below, but just in case, I'll include it since it's my first time making app)ġ: i did also tried to upload the apk to Google alpha testing and download it from the Play store, but nothing changes.Ģ: I'm pretty sure that i added an IAP item in Google dev console and used the same string in unity.ģ: i original tried the codeless IAP panel in unity before using the purchaser script, but the exact same error occurred.Įdit 1: one more thing i forgot to mention is i opened unity with "right click open with administrator", and it is installed unity in C drive, i think this should give unity access to file(?)
#PRO EVOLUTION SOCCER 2018 PC CODE#
The API updater was greyed out and unclickable, but i simply add some obsolete code (like ) in the script, and i was able the click the API updater manually. The class UnityEngine.VR.VRSettings could not be loaded, used in StoresĠ6-18 01:28:44.112 20205-20220/? E/Unity: TypeLoadException: Could not load type 'UnityEngine.VR.VRSettings' from assembly 'Stores'.Īt ( product, System.String developerPayload) in :0Īt ( product, System.String developerPayload) in :0Īt ( product) in :0Īt InAppPurchaseScene_Purchaser.BuyProductID (System.String productId) in :0Īt InAppPurchaseScene_Purchaser.Buy_10Diamonds () in :0Īt () in :0Īt () in :0Īt UnityEngine.UI.Button.Press () in :0 Please help, and many thanksĠ6-18 01:28:44.107 20205-20220/? W/mono: Missing method get_enabled in assembly /data/app/com.Annoying_Cat.Defend_Your_Balls-1/base.apk/assets/bin/Data/Managed/Stores.dll, type UnityEngine.VR.VRSettings My game is a very simply 2D game, does not have anything to do with Virtual Reality, and I don't quite understand where is the error. The button simply calls a "buy10diamond" function, which is identical to the "bu圜onsumable" function on the above tutorial link.
![pro evolution soccer 2018 pc pro evolution soccer 2018 pc](https://www.illusonic.fr/site/assets/files/1377/iap-config.1200x0.png)
I created a IAP scripts, basically following the codes on the unity IAP tutorial here - ġ: I am aware that the fake store does not work as mentioned on other threads, ArgumentException: Cannot set currency to an empty or null string.Ģ: I tried on an Android device (haven't tried on IOS) and if i click the "buy button", it simply does nothing.