Search Issue Tracker
Active
Under Consideration for 6000.4.X, 6000.5.X, 6000.6.X
Votes
0
Found in
6000.4.0b9
6000.5.0a7
6000.6.0a1
Issue ID
UUM-134403
Regression
No
Typing “Infinity” into Grid and Snap Settings Rotation value fields throws assertion error in the Console window
Steps to reproduce:
1. Create new Unity project
2. Open Grid and Snap Settings in the Scene view window
3. In Grid Transform > Rotation X value type “Infinity”
4. Observe the Console window
Actual results: Entering “Infinity” in Rotation X/Y/Z values throws error in the Console window: “Assertion failed on expression: 'CompareApproximately(SqrMagnitude(result), 1.0F)'
UnityEditor.GUIView:ProcessEvent (UnityEngine.EntityId,intptr,bool&)”
Expected results: Rotation value fields reject non-finite values or event to previous valid value like “0”
Reproducible with versions: 6000.4.0b9, 6000.5.0a7
Can’t test with versions: 6000.3.9f1 and lower (Grid and Snap Settings not available)
Tested on (OS): Ubuntu 24.04, macOS Silicon Tahoe 26.2 (M1)
Notes:
- when entering “Infinity” in Inspector > Transform Position, the value is set to 0, no errors are thrown in the Console window
- on 6000.5.0a7 spams extra unclearable errors and messages:
{code:java}
Quaternion To Matrix conversion failed because input Quaternion is invalid {-nan, -nan, -nan, -nan} l=-nan
UnityEngine.GUIUtility:ProcessEvent (UnityEngine.EntityId,intptr,bool&)
{code}
{code:java}
Look rotation viewing vector is zero
UnityEngine.Quaternion:Internal_LookRotation (UnityEngine.Vector3&,UnityEngine.Vector3&)
UnityEditorInternal.Slider2D:CalcDeltaAlongDirections (int,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,single,UnityEditor.Handles/CapFunction,UnityEngine.Vector2,bool) (at /home/bokken/build/output/unity/unity/Editor/Mono/Handles/Slider2D.cs:92)
UnityEditorInternal.Slider2D:Do (int,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,single,UnityEditor.Handles/CapFunction,UnityEngine.Vector2,bool) (at /home/bokken/build/output/unity/unity/Editor/Mono/Handles/Slider2D.cs:60)
UnityEngine.GUIUtility:ProcessEvent (UnityEngine.EntityId,intptr,bool&)
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment