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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note:
Fixed in 2022.2.0a16