In the Window → Package Manager
I apparently have In App Purchasing (com.unity.purchasing) installed
v2.0.6 from April 03, 2019
In the Window → Unity IAP → IAP Updates
I’m being offered an update to [1.23.4] - 2020-07-13
The latter v1.23.4 sounds better to me, as it’s from 4 days ago.
But I thought things were supposed to be through the Package Manager now? So this is a bit confusing.
Should I keep both? Should I delete the Package Manager one, even though it’s Package Manger, because it’s over a year out of date?
Removed v2.06 via the Package Manager.
Saved, exited, came back into Unity.
Went to Services, In-App Purchasing, hit the Update button now I get 6 Critical errors
Nuke the /Plugins/UnityPurchasing/ dir?
Error: Could not load signature of UnityEditor.Purchasing.GooglePlayProductCatalogExporter:ProductTypeString due to: Could not load file or assembly ‘UnityEngine.Purchasing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. assembly:UnityEngine.Purchasing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type: member:(null) signature:
0x00000001421A99AC (Unity) StackWalker::GetCurrentCallstack
0x00000001421AD961 (Unity) StackWalker::ShowCallstack
0x00000001408A6265 (Unity) GetStacktrace
0x0000000142E28D7E (Unity) DebugStringToFile
0x00000001420D452B (Unity) ScanForAttributesAndInterfaceImplementations
0x00000001420E2936 (Unity) MonoManager::EndReloadAssembly
0x00000001420E9217 (Unity) MonoManager::ReloadAssembly
0x0000000140506647 (Unity) LoadDomainAndUserAssemblies
0x0000000140509422 (Unity) RegisterScriptsAndTryLoadingExistingUserAssemblies
0x0000000140A1BD44 (Unity) ImportAndPostprocessOutOfDateAssets
0x0000000140A23A3B (Unity) RefreshInternalV2
0x0000000140A266B6 (Unity) StopAssetImportingV2
0x0000000140A1DAE6 (Unity) InitialScriptRefreshV2
0x000000013FF56472 (Unity) Application::InitializeProject
0x00000001408D5944 (Unity) WinMain
0x00000001438C7032 (Unity) __scrt_common_main_seh
0x0000000076EC59CD (kernel32) BaseThreadInitThunk
0x00000000774A385D (ntdll) RtlUserThreadStart
Assembly ‘Assets/Plugins/UnityPurchasing/Bin/Editor.dll’ will not be loaded due to errors:
Unable to resolve reference ‘UnityEngine.Purchasing’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference ‘UnityEditor.Purchasing’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Assembly ‘Assets/Plugins/UnityPurchasing/Bin/Stores.dll’ will not be loaded due to errors:
Unable to resolve reference ‘UnityEngine.Purchasing’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Reimporting, Disabling, exiting Unity, re-Enabling has fixed the errors. Re-enabling seemed to do some type of rebuild, I saw com.unity.purchasing come up.
There is no need to touch Package Manager when updating IAP. IAP requires both an Asset component and a Package Manager package, but the install handles both. We plan to go to only Package Manager install later this year.
It doesn’t look like Unity IAP 2.0.0 that was just released is a UPM package yet, just the UDP part? I’m curious what the current Unity Purchasing UPM package does (com.unity.purchasing)? Is it just an “installer” for the Asset Store UnityIAP unitypackage?