thanks for the quick response - perhaps i misunderstand you but i know what caused the problem. it was upgrading in-app purchasing via the services window. Everything was fine before that.
So I guess the first question is whether there a way to roll this back - pulling the last good code from github didn’t do this so is there anything else i can do before I start rebuilding the application from scratch?
I was within a hairs breadth of publishing to Google Play but their new(ish) policy meant i had to make this change and now i have this major problem
I am using the LTS version of 2019. i did try upgrading to 2021 lts and these are my new errors
I will have to downgrade to 2019 once fixed but perhaps this will help?
error CS1704: An assembly with the same simple name ‘Purchasing.Common’ has already been imported. Try removing one of the references (e.g. ‘E:\Development\masterchange2023\Assets\Plugins\UnityPurchasing\Bin\Purchasing.Common.dll’) or sign them to enable side-by-side.
error CS1704: An assembly with the same simple name ‘Purchasing.Common’ has already been imported. Try removing one of the references (e.g. ‘E:\Development\masterchange2023\Assets\Plugins\UnityPurchasing\Bin\Purchasing.Common.dll’) or sign them to enable side-by-side.
Library\PackageCache\com.unity.purchasing@4.1.5\Runtime\WinRTStub\Factory.cs(15,23): error CS0433: The type ‘IWindowsIAP’ exists in both ‘UnityEngine.Purchasing.WinRTCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ and ‘winrt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’
Library\PackageCache\com.unity.purchasing@4.1.5\Runtime\SecurityStub\GooglePlayReceipt.cs(32,38): error CS0433: The type ‘IPurchaseReceipt’ exists in both ‘Security, Version=1.0.7807.33496, Culture=neutral, PublicKeyToken=null’ and ‘UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
Library\PackageCache\com.unity.purchasing@4.1.5\Runtime\SecurityStub\CrossPlatformValidator.cs(43,16): error CS0433: The type ‘IPurchaseReceipt’ exists in both ‘Security, Version=1.0.7807.33496, Culture=neutral, PublicKeyToken=null’ and ‘UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
Library\PackageCache\com.unity.purchasing@4.1.5\Runtime\SecurityStub\AppleValidator.cs(33,16): error CS0433: The type ‘AppleReceipt’ exists in both ‘Security, Version=1.0.7807.33496, Culture=neutral, PublicKeyToken=null’ and ‘UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
Library\PackageCache\com.unity.purchasing@4.1.5\Runtime\SecurityStub\AppleValidator.cs(53,16): error CS0433: The type ‘AppleReceipt’ exists in both ‘Security, Version=1.0.7807.33496, Culture=neutral, PublicKeyToken=null’ and ‘UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
Plugin ‘Assets/Plugins/UnityPurchasing/Bin/Purchasing.Common.dll’ has the same filename as Assembly Definition File ‘Packages/com.unity.purchasing/Runtime/Common/Purchasing.Common.asmdef’. Rename the assemblies to avoid hard to diagnose issues and crashes.
thanks