Search Issue Tracker
Fixed in 3.0.0-pre.5
Fixed in 3.0.1
Votes
14
Found in [Package]
2.1.0
Issue ID
1274768
Regression
Yes
"Could not load file or assembly 'UnityEngine.Purchasing'" error after reimporting project with IAP enabled
Steps to reproduce:
1. Create new project
2. In services window, enable IAP
3. Import store package and go through installation steps (when done, there should be UnityPurchasing folder inside Assets/Plugins)
4. Right-click in project window and select Reimport All
5. When reimporting is done, notice error in console:
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:<unknown type> member:(null) signature:<none>
** The error does not impede the usage of the product since as soon as it is cleared, the IAP SDK can be used and this is non-fatal. **
The error won't reappear unless you redo these steps.
Reproduced with: 2020.1.5f1 (IAP 2.1.0), 2020.2.0b1 (IAP 2.1.0)
Not reproducible: 2019.4.10f1 (IAP 2.1.0), 2020.1.5f1 (IAP 2.0.6), 2020.2.0b1 (IAP 2.0.6) (1193773 was happening instead)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Red squares instead of ticks in Import Activity Window options dropdown
- Multiple simultaneous input with the touch screen sometimes leaves button in not default state
- Crash on ShowDelayedContextMenu(bool) when changing the Size options of a Visual Element in the UIToolkit Inspector
- Crash when total memory consumption is over 2GB
- Red dots are rendered when copying texture with ASTC format and CompressGpu
Takafumi-Yamashita
Jan 05, 2021 06:11
>I think this issue may cause that preventing app from building at first time on ci in my project.
I misunderstood that.
I found out it is fixed by https://issuetracker.unity3d.com/issues/unity-purchasing-define-becomes-disabled-when-recompiling-assemblies
kolmich
Dec 17, 2020 18:18
Happens also in unity cloud build. 2020.1.6f1.
auspicious-iman
Nov 29, 2020 21:58
Happening on 2020.1.15f1
Takafumi-Yamashita
Nov 20, 2020 05:46
I think this issue may cause that preventing app from building at first time on ci in my project.
Dazo1985
Oct 20, 2020 12:17
Got this error in 2020.1.9f1
Ennothan
Sep 08, 2020 13:37
I got this error on 2019.4.9f1