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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment