Search Issue Tracker
Fixed in 3.0.1
Votes
1
Found in [Package]
2.0.6, 2.0.3, 2.0.0
Issue ID
1254917
Regression
Yes
[IAP] "Assertion failed on expression" error thrown on importing "UnityIAP" Package from Unity IAP Installer
On importing "UnityIAP" Package from "Unity IAP Installer" then it causes the Editor to throw "Assertion failed on expression" error, refer attached video.
To repro this issue:
1. Create a new project
2. Window > Package Manager > In App Purchasing package > Install
3. Edit > Project Settings > Services > In-App Purchasing > ON
4. Import the package > Unity IAP Installer > Install Now
5. Unity IAP Installer > Next > Import Unity Package(UDP) > Import
6. API Update Requierd > I Made a Backup, Go Ahed! > Select
7. Unity IAP Installer > Next > Import Unity Package(UnityIAP) > Import
Actual Result:
"Assertion failed on expression" error is thrown when "UnityIAP" Package imported from "Unity IAP Installer"
Expected Result:
UnityIAP Package is imported gracefully
Occurring in:
2020.2.0a15, 2020.1.0b12, 2020.1.0a23 with package version 2.0.6, 2.0.3, 2.0.0
Working fine in:
2020.1.0a22, 2019.3.15f1 with package version 2.0.6, 2.0.3, 2.0.0
Environment:
Windows10 and macOS 10.14
Stack trace:
Assertion failed on expression: 'ins.second || ins.first->second == artifactID || (ins.first->second == CircularDependencyArtifactID() && !artifactID.IsValid()) || GetPathFromAssetGuidV2(key.GetGUID()).ends_with(".cs")'
UnityEditor.AssemblyHelper:ExtractAllClassesThatAreUserExtendedScripts (string,string[]&,string[]&,string[]&)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment