Search Issue Tracker
Fixed
Fixed in 2.8.2
Votes
0
Found in [Package]
2.8.1
Issue ID
SPLB-359
Regression
No
Multiple errors are spammed in the Console window after reseting updated Knot Position values
*Steps to reproduce:*
1. Create a new Unity project
2. In Scene view Tools click on “Create Spline”
3. Create a closed path (a square or circle)
4. Select one Knot from the path in the Scene view
5. In Scene view > Element Inspector change Knot X, Y and Z Position values (for example to 2)
6. In the Inspector window > Spline Container > click on the kebab menu
7. In the drop down menu press “Reset”
8. Observe Console window
*Actual results:* Multiple errors are spammed in the Console window after resetting previously updated Knot position values
*Expected results:* No errors are thrown in the Console window after resetting updated Know position values
*Reproducible with versions:* 2.8.1 (6000.0.54f1,, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2)
*Tested on (OS):* macOS Silicon, Sequoia 15.5 (M1)
Errors:
{code:java}
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <a8215f4eae80496392bd5131182e062e>:0)
UnityEngine.Splines.Spline.get_Item (System.Int32 index) (at ./Library/PackageCache/com.unity.splines@b909627b5095/Runtime/Spline.cs:757)
UnityEditor.Splines.SelectableKnot.get_LocalPosition () (at ./Library/PackageCache/com.unity.splines@b909627b5095/Editor/Core/SplineElement.cs:67)
UnityEditor.Splines.SelectableKnot.get_Position () (at ./Library/PackageCache/com.unity.splines@b909627b5095/Editor/Core/SplineElement.cs:60)
UnityEditor.Splines.EditorSplineUtility.GetElementBounds[T] (System.Collections.Generic.IReadOnlyList`1[T] elements, System.Boolean useKnotPositionForTangents) (at ./Library/PackageCache/com.unity.splines@b909627b5095/Editor/Utilities/EditorSplineUtility.cs:226)
UnityEditor.Splines.TransformOperation.UpdatePivotPosition (System.Boolean useKnotPositionForTangents) (at ./Library/PackageCache/com.unity.splines@b909627b5095/Editor/Tools/TransformOperation.cs:120)
UnityEditor.Splines.SplineTool.UpdatePivotPosition (System.Boolean useKnotPositionForTangents) (at ./Library/PackageCache/com.unity.splines@b909627b5095/Editor/Tools/SplineTool.cs:132)
UnityEditor.Splines.SplineMoveTool.OnToolGUI (UnityEditor.EditorWindow window) (at ./Library/PackageCache/com.unity.splines@b909627b5095/Editor/Tools/SplineMoveTool.cs:37)
UnityEditor.EditorTools.EditorToolManager.OnToolGUI (UnityEditor.EditorWindow window) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Tools/EditorToolManager.cs:555)
UnityEditor.SceneView.DefaultHandles () (at /Users/bokken/build/output/unity/unity/Editor/Mono/SceneView/SceneView.cs:3641)
UnityEditor.SceneView.DoOnGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/SceneView/SceneView.cs:2748)
UnityEditor.SceneView.OnSceneGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/SceneView/SceneView.cs:2582)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:406)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:224){code}
{code:java}
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:224){code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Add comment