I am unable to resolve the reference error regarding the UnityEngine.UI. I read on this forum that the assembly issue has something to do with the packaging of the UI library in 2019+, hence the unresolved references.
I thought the latest IAP 1.23.0 was solving this issue, but I tried multiple times to import the package from the store, enable/disable the In-App Purchasing Service, loading the package with/without prior import under the service, importing the Unity Packages created under the UnityPurchasing/UDP folders and trying to double click these packages until Unity crashes… Nothing has worked so far. I spent hours looking for hacks/fixes in this forum, but I haven’t really made any progress to resolve this.
Is the version I am using incompatible with IAP or is there something I have forgotten completely?
We are hearing of this issue when moving projects between 2019 versions. Can you describe the exact version of Unity that you are using? Did you upgrade this project, or is it a new project?
I’m having the exact same issue when trying to build my app using cloud build. Build Compact Log:
[Unity] Error: Could not load signature of UnityEngine.Purchasing.UIFakeStore:GetOkayButton due to: Could not load file or assembly ‘UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. assembly:UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type: member:(null) signature:
@JeffDUnity3D I can confirm that this is a project that I have upgraded. Currently using latest 2019.2.11f1
The build completes successfully, I only noticed this error due to me using cloud build for iOS. There is nothing in my console when I build to android on my local machine.
Is this error likely to cause problems despite the successful build?