Unity IAP on latest version 2.1.1
Unity version 2020.2.0b.3094
Android SDK Platform 30
Since updating Unity, IAP and Android SDK I can no longer use IAP, looks like exactly the same error as here:
I have attempted all resolutions mentioned in the post above.
I receive the error: Exception: Error: called non-existent method System.Boolean UnityEngine.VR.VRSettings::get_enabled
when running logcat, does not appear in editor.
Running API updater does not resolve it, deleting Library folder does not resolve it.
Ideally I would manually update the API but that does not seem possible?
You are using a Beta version of Unity, we haven’t tested this yet. Thanks for the heads up, we will keep an eye out for this! In the meantime, I would recommend to use a released and supported version of Unity.
I’m using 2019 here without issue (all versions), I haven’t tested with 2020. As always, first test with a new/empty project and import IAP, and then compare to any issues you might be having in your project.
Hi Jeff, despite lacking a backup I managed to downgrade the project to 2019.4.11f1
Reimporting some of the packages and fixed some bugs that came with that…
In this version the error does not appear and IAP is working as expected.
Can I find a timeframe somewhere on when the 2020 production version of Unity will be released? I much prefer the new version despite that old bug reappearing.
Did you get the “Update Unity API?” dialog during IAP install? I just tested with Unity 2020.1.6f1 and properly received the popup. I then clicked “Yes, I have made a backup” (required). I haven’t tested on a device yet however. Can you confirm the steps so far?
Yeah I get that prompt and click on Yes, it all looks fine in Editor. There’s no errors, it compiles and can build. But the error mentioned above appears on the device and the IAP (Google) window does not appear.
It would be amazing if it would work on 2020 because I really enjoyed using it.
Appreciate it Jeff, I guess this thread can be closed now as the LTS version of Unity does not contain the issue and you are aware of it in 2020 versions.
I did not see the VRSettings issue. I’m using Unity 2020.1.6f1 on Windows 10 and IAP 2.0.0 with In App Purchasing 2.1.1 in Package Manager. It initialized and I received several receipts from previous purchases during initialization, and was able to make purchases. I tested on a Samsung tablet SM-T380