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
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
- Missing Render Feature "Full Screen Pass Render Feature" in any “Universal Renderer Data” asset when upgrading from 2022.3
- Inconsistent ParticleSystemVertexStream.PercentageAlongTrail data range in Trail Texture Modes except "Stretch"
- The Graph Debug Window can be right clicked through and the Node Workspace is manipulated instead
Add comment