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
- 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