IAP bool UnityEngine.VR.VRSettings.get_enabled() error

I read about it in old topic jeff said that try to full acces your project folder. And i did it. I added everyone to security in folder settings and give it full control. And now i’m started to get the first update error again :slight_smile: and can’t solve it although i removed notification package. Also i couldn’t find how to start editor as administrator in unity hub. when you check exe’s tick unity hub doesn’t start it. I upgraded to b08 still same :). And Jeff would you install b08 and try?

You mean Unity 2019? I would not recommend a beta version at this point as it may still have issues. Please try with Unity 2018.

I cannot downgrade the project :slight_smile:

I get this error after deleting purchasing and channel folder if i don’t delete Resources folder before them. And i run hub with administrator and i don’t get update errors but api updater still doesn’t pop up. And if i try iap package from asset store i get update error.

Menu Window/Unity IAP/Android/Target Google Play can’t be checked because it doesn’t exist

We have not heard of this error. You might need to start with a new project, or revert to a backup, and attempt with a previous version of Unity. I haven’t had a chance to check on 2019 yet. Once you remove the folders, you must ensure that there are no compiler errors as mentioned here https://discussions.unity.com/t/687770

But api updater doesn’t pop-up in empty project too. So creating new project won’t be solution.

Previously you stated “But it works in empty project Ok” And IAP 1.22 was JUST released https://discussions.unity.com/t/632966

Yeah but i just didn’t recognize that api updater prompt should be shown. I didn’t know it has to pop-up. I just tried to say that i don’t get error in empty project. So found after that the reason is notification package. After all that one big problem occured. Api-updater doesn’t pop-up. I’m trying new version

It doesn’t pop-up again.(in new project and in my project) I’m giving up on this. I will wait for fix.

Are you using Unity 2018.3? I’m using Unity 2018.3.4f1 here without issue.

2019.1.0b8
Also getting this error again only in asset store import
Assertion failed on expression: ‘!performAutorepaint || GetApplication().MayUpdate()’
UnityEditor.Purchasing.UnityIAPInstaller:Install()

I just tested on Unity 2019.1.0b8. I installed IAP via the Services window into an empty project. I did NOT get the API Update prompt, I’m glad they fixed that in 2019. I opened the Demo IAP scene and it ran in the Editor without issue. I have not received any errors so far, but I have not tested a build on an Android device yet.

Ok waiting for buying attempt

Ok, please keep me posted.

I thought that you will try. I tried and it doesn’t work.

Ok, I’ve managed to fix it in Unity 2019.1. Here’s how:
I downloaded an older version of unity (2018.3), started an empty project and installed IAP via the service. I got the API Update prompt and after it finished I copied the folders from the Plugins forlder to my main project. After that I compiled an Android version and made a few purchases without problem.

1 Like

Ok I will try this thank you.

It works. Thanks dude. You are my hero. Case closed.

I was able to test with Unity 2019 and IAP 1.22 without issue, and initialization worked as expected, and I don’t receive the VRSettings error. I did not receive a dialog to update the API. I suspect the issue lies with a specific component that is being used in addition to IAP.

I’m using Unity 2019.1 b8 and I had exactly the same problem described in this thread, I’d solved the issue with the solution that Ivy-SM gaved. Apparently the API Updater doesn’t trigger when reinstalling the IAP plugin in Unity 2019.1 beta.