Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
4.1.0
Issue ID
1242615
Regression
No
[2D SpriteShapeProfile] "Assertion failed on expression" thrown on Increasing scale of z axis to 1e+23
"Assertion failed on expression" thrown on Increasing scale of z axis to 1e+23 or more of SpriteShapeProfile
Steps to Reproduce:
1. Create a new Project
2. Install 2D SpriteShape (if not installed)
3. Project > Create > Sprite Shape Profile > Closed Shape
4. Assign at least 1 Sprite in the Sprites List
5. Increase value of New SpriteShapeProfile > Inspector > Transform > Scale > Z to 1e+23 or more than that
Expected Result: Scale should be set
Actual Result: "Assertion failed on expression" exception is thrown
Reproducible on: 2020.2.0a10, 2020.1.0b7, 2019.3.10f1, 2019.2.12f1, 2019.1.14f1, 2018.4.22f1
Note: Working fine on Sprites and 3D GameObjects
StackTrace:
Assertion failed on expression: 'IsFinite(outDistanceForSort)'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Invalid worldAABB. Object is too large or too far away from the origin.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment