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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
Resolution Note (fix version 2020.3.42f1):
Fixed in 2022.2.0a16
Resolution Note (fix version 2022.2.0a16):
Fixed in 2022.2.0a16