Search Issue Tracker
Not Reproducible
Votes
0
Found in
6000.0.49f1
6000.1.4f1
6000.2.0b2
6000.3.0a1
Issue ID
UUM-105819
Regression
No
Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
Steps to reproduce:
1. Create new Unity project
2. Create new UI Document
3. Open it in UI Builder
4. In Library section enable "Editor Extension Authoring"
5. Add Curve Element to the Hierarchy
6. Make sure "CurveField" element is selected in Hierarchy
7. In UI Builder > Inspector > Attributes select on Curve Value to open Curve Editor window
8. In the Curve Editor window double click on the Curve
9. Save changes with shortcut CRTL+S
10. Observe the Console window
Actual results: Multiple errors are thrown in the Console window
Expected results: No errors are thrown in the Console
Reproducible with versions: 6000.0.49f1, 6000.1.4f1, 6000.2.0b2
Tested on (OS): Windows 11
Errors:
*
{code:java}
ArgumentOutOfRangeException: [UxmlAttributeConverter] AnimationCurve's KeyFrame does not have the correct format.
Parameter name: value
UnityEditor.UIElements.AnimationCurveAttributeConverter.FromString (System.String value) (at <314f8032995c4bb8a81979ad42f40d7d>:0)
UnityEditor.UIElements.UxmlAttributeConverter`1[T].UnityEditor.UIElements.IUxmlAttributeConverter.FromString (System.String value, UnityEngine.UIElements.CreationContext cc) (at <314f8032995c4bb8a81979ad42f40d7d>:0)
UnityEditor.UIElements.UxmlAttributeConverter.TryConvertFromString (System.Type type, System.String value, UnityEngine.UIElements.CreationContext cc, System.Object& result) (at <314f8032995c4bb8a81979ad42f40d7d>:0)
UnityEditor.UIElements.UxmlSerializedAttributeDescription.TryGetValueFromBagAsObject (UnityEngine.UIElements.IUxmlAttributes bag, UnityEngine.UIElements.CreationContext cc, System.Object& value) (at <314f8032995c4bb8a81979ad42f40d7d>:0){code}
*
{code:java}
Asset import failed, "Assets/test1.uxml" > ArgumentOutOfRangeException: [UxmlAttributeConverter] AnimationCurve's KeyFrame does not have the correct format.
Parameter name: value
UnityEditor.UIElements.AnimationCurveAttributeConverter.FromString (System.String value) (at <314f8032995c4bb8a81979ad42f40d7d>:0)
UnityEditor.UIElements.UxmlAttributeConverter`1[T].UnityEditor.UIElements.IUxmlAttributeConverter.FromString (System.String value, UnityEngine.UIElements.CreationContext cc) (at <314f8032995c4bb8a81979ad42f40d7d>:0)
UnityEditor.UIElements.UxmlAttributeConverter.TryConvertFromString (System.Type type, System.String value, UnityEngine.UIElements.CreationContext cc, System.Object& result) (at <314f8032995c4bb8a81979ad42f40d7d>:0)
UnityEditor.UIElements.UxmlSerializedAttributeDescription.TryGetValueFromBagAsObject (UnityEngine.UIElements.IUxmlAttributes bag, UnityEngine.UIElements.CreationContext cc, System.Object& value) (at <314f8032995c4bb8a81979ad42f40d7d>:0){code}
*
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Unity.UI.Builder.BuilderDocumentOpenUXML.PostSaveToDiskChecksAndFixes (System.String newUxmlPath, System.Boolean needsFullRefresh) (at <520627d618084211ad7f451c0d732996>:0)
Unity.UI.Builder.BuilderDocumentOpenUXML.ReloadDocument (UnityEngine.UIElements.VisualElement documentRootElement, System.String newUxmlPath, System.Collections.Generic.List`1[T] savedUSSFiles) (at <520627d618084211ad7f451c0d732996>:0){code}
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Tested on 6000.3.0a1 and 6000.1.3f1 - probably fixed through another bug fix.