Search Issue Tracker
Fixed in 2020.3.42f1
Fixed in 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X, 2022.2.0a16
Votes
0
Found in
2020.3.35f1
2021.1.9f1
2021.2.19f1
2022.1.5f1
2022.2.0b1
2022.2.0b2
Issue ID
UUM-2787
Regression
No
Assertion failed on expression: 'IsNormalized' on GUIUtility:ProcessEvent when the Directional Light is positioned particularly
Reproduction steps:
1. Open the attached 'IsNormalized' project
2. Open the 'IsNormalizedBug' Scene
3. Select any GameObject in the Hierarchy
Expected result: No errors are in the Console
Actual result: Two 'Assertion failed on expression: 'IsNormalized(dir)' errors are in the Console
Reproducible with: 2019.4.36f1, 2020.3.33f1, 2021.3.0f1, 2022.1.0b16, 2022.2.0a11
Notes:
- Issue is no longer reproducible when the Directional Light is unparented or reorientated in the Scene view
- Full error:
Assertion failed on expression: 'IsNormalized(dir)'
Assertion failed on expression: 'IsNormalized(dir)'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Comments (2)
-
UnityKimchi
Sep 03, 2023 13:30
Still reproducible when calling UnityEngine.Physics:BoxCastNonAlloc in 2023.2.0b7.
Assertion failed on expression: 'IsNormalized(direction)'
UnityEngine.Physics:BoxCastNonAlloc (UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.RaycastHit[],UnityEngine.Quaternion,single) -
UnityKimchi
Sep 03, 2023 12:52
Still reproducible when calling UnityEngine.Physics:BoxCastNonAlloc in 2023.1.6f1.
Assertion failed on expression: 'IsNormalized(direction)'
UnityEngine.Physics:BoxCastNonAlloc (UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.RaycastHit[],UnityEngine.Quaternion,single)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2020.3.42f1):
Fixed in 2022.2.0a16
Resolution Note (fix version 2022.2.0a16):
Fixed in 2022.2.0a16