Search Issue Tracker
Fixed
Fixed in 2020.3.42f1, 2021.3.13f1, 2022.1.19f1, 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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Resolution Note:
Fixed in 2022.2.0a16