Hello!
So I updated a project to IAP 2.2.6 today and am now starting to see this error when building for Windows UWP (IL2CPP)…
Reference Rewriter found some errors while running with command “–target=Temp\StagingArea\Data\Managed\UnityEngine.Purchasing.dll” “–target=Temp\StagingArea\Data\Managed\UnityEngine.Monetization.dll” “–target=Temp\StagingArea\Data\Managed\Unity.RemoteConfig.Editor.Core.dll”
Reference rewriter: Error: method System.Void UnityEngine.Purchasing.Extension.IStoreCallback::OnAllPurchasesRetrieved(System.Collections.Generic.List
1<UnityEngine.Purchasing.Product>)` doesn’t exist in target framework. It is referenced from Stores.dll at System.Void UnityEngine.Purchasing.ScriptingStoreCallback/<>c__DisplayClass8_0::b__0().
I also updated Remote Config to 2.0.1 shortly after, so not exactly sure which one is causing the issue.
The game builds though and appears to run fine, although not checked if IAP is working yet.