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
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
Add comment