IAP causing loads of issues and not installing
HI all, so I've been trying to get my player store to work properly with some IAPs. I have previously got adverts working great, so I went to the services tab and switched IAP on and hit import. Not much happened, it created a single folder inside plugins called UnityPurchasing. Also the install prompt wouldn't show.
However when I hit play, the install prompt would ask if i wanted to install now or cancel; I hit install, and it gave me errors about not being able to install during Play Mode.
So After messing around with unistalling IAP through the package manager, and deleting the folder and turning off IAP in services, and trying again I still only seem to get this far. I went inside the package, and there are three .unitypackage files; one called UnityIAP, UnityChannel, and UDP. I double clicked and imported everything from these, which gave me some other issues:
Assembly 'Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll' will not be loaded due to errors:
Reference has errors 'Stores'.
Assembly 'Library/ScriptAssemblies/Assembly-CSharp-Editor-firstpass.dll' will not be loaded due to errors:
Reference has errors 'Assembly-CSharp-firstpass'.
Assembly 'Assets/Plugins/UnityPurchasing/Bin/Stores.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEngine.UI'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Assembly 'Assets/Plugins/UnityPurchasing/Bin/Editor.dll' will not be loaded due to errors:
Reference has errors 'Stores'.
So i assume i'm doing something wrong, but I can't find out what. I haven't upgraded the unity version for this project, and there are no compile errors.
Unity 2019.3.0a3