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
- [Android] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
Add comment