Hi everyone.
I’m getting this error when I open Muse Sprite generator window.
FormatException: Input string was not in a correct format.
System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) (at <605bf8b31fcb444b85176da963870aa7>:0)
System.Number.ParseSingle (System.ReadOnlySpan1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) (at <605bf8b31fcb444b85176da963870aa7>:0) System.Single.Parse (System.String s, System.IFormatProvider provider) (at <605bf8b31fcb444b85176da963870aa7>:0) Unity.Muse.Sprite.Operators.SpriteGeneratorSettingsOperator.GetStyleStrengthFromOperatorData () (at ./Library/PackageCache/com.unity.muse.sprite@0.4.1/Runtime/Operators/SpriteGeneratorSettingsOperator.cs:366) Unity.Muse.Sprite.Operators.SpriteGeneratorSettingsOperator.GetOperatorView (Unity.Muse.Common.Model model) (at ./Library/PackageCache/com.unity.muse.sprite@0.4.1/Runtime/Operators/SpriteGeneratorSettingsOperator.cs:157) Unity.Muse.Common.NodesList.SetOperator (Unity.Muse.Common.IOperator op) (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Runtime/UI/Controls/NodesList.cs:182) Unity.Muse.Common.NodesList.ResetOperators (System.Collections.Generic.IEnumerable1[T] operators) (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Runtime/UI/Controls/NodesList.cs:157)
Unity.Muse.Common.NodesList.OnOperatorUpdated (System.Collections.Generic.IEnumerable1[T] operators, System.Boolean set) (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Runtime/UI/Controls/NodesList.cs:305) Unity.Muse.Common.Model.UpdateOperators (System.Collections.Generic.IEnumerable1[T] operators, System.Boolean set) (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Runtime/UI/Models/Model.cs:206)
Unity.Muse.Common.NodesList.SetDefaultOperators () (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Runtime/UI/Controls/NodesList.cs:134)
Unity.Muse.Common.NodesList.SetView () (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Runtime/UI/Controls/NodesList.cs:208)
Unity.Muse.Common.NodesList.SetModel (Unity.Muse.Common.Model model) (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Runtime/UI/Controls/NodesList.cs:292)
Unity.Muse.Common.NodesList.b__22_0 (Unity.AppUI.UI.ContextChangedEvent1[T] context) (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Runtime/UI/Controls/NodesList.cs:63) Unity.AppUI.UI.VisualElementExtensions+<>c__DisplayClass16_01[T].g__SendContextChangedEventLocal|0 () (at ./Library/PackageCache/com.unity.dt.app-ui@0.5.1/Runtime/UI/Extensions/VisualElementExtensions.cs:372)
Unity.AppUI.UI.VisualElementExtensions+<>c__DisplayClass16_01[T].<RegisterContextChangedCallback>g__OnAttached|1 (UnityEngine.UIElements.AttachToPanelEvent attachToPanelEvent) (at ./Library/PackageCache/com.unity.dt.app-ui@0.5.1/Runtime/UI/Extensions/VisualElementExtensions.cs:378) UnityEngine.UIElements.EventCallbackFunctor1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.PropagationPhase propagationPhase) (at :0)
UnityEngine.UIElements.EventCallbackRegistry.InvokeCallbacks (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.PropagationPhase propagationPhase) (at :0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at :0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase evt) (at :0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at :0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetAndDefaultPhase (UnityEngine.UIElements.EventBase evt) (at :0)
UnityEngine.UIElements.VisualElement.HasChangedPanel (UnityEngine.UIElements.BaseVisualElementPanel prevPanel) (at :0)
UnityEngine.UIElements.VisualElement.SetPanel (UnityEngine.UIElements.BaseVisualElementPanel p) (at :0)
UnityEngine.UIElements.VisualElement+Hierarchy.SetParent (UnityEngine.UIElements.VisualElement value) (at :0)
UnityEngine.UIElements.VisualElement+Hierarchy.Insert (System.Int32 index, UnityEngine.UIElements.VisualElement child) (at :0)
UnityEngine.UIElements.VisualElement+Hierarchy.Add (UnityEngine.UIElements.VisualElement child) (at :0)
UnityEngine.UIElements.VisualTreeAsset.CloneTree (UnityEngine.UIElements.VisualElement target, System.Collections.Generic.Dictionary2[TKey,TValue] slotInsertionPoints, System.Collections.Generic.List1[T] attributeOverrides) (at :0)
UnityEngine.UIElements.VisualTreeAsset.CloneTree (UnityEngine.UIElements.VisualElement target, System.Int32& firstElementIndex, System.Int32& elementAddedCount) (at :0)
UnityEngine.UIElements.VisualTreeAsset.CloneTree (UnityEngine.UIElements.VisualElement target) (at :0)
Unity.Muse.Common.Editor.MuseEditor.CreateGUI () (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Editor/MuseEditor.cs:84)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) (at <605bf8b31fcb444b85176da963870aa7>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) (at <605bf8b31fcb444b85176da963870aa7>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object parameters) (at <605bf8b31fcb444b85176da963870aa7>:0)
UnityEditor.UIElements.DefaultEditorWindowBackend.Invoke (System.String methodName) (at <8ad9ecbe25e14b10b6dde783af6e4aa2>:0)
UnityEditor.EditorWindow:Show()
Unity.Muse.Common.Editor.EditorModelAssetEditor:OpenEditorTo(Model) (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Editor/EditorModelAssetEditor.cs:56)
Unity.Muse.Common.Editor.EditorModelAssetEditor:OpenWindowForMode(String) (at ./Library/PackageCache/com.unity.muse.common@0.4.1/Editor/EditorModelAssetEditor.cs:75)
Unity.Muse.Sprite.Editor.WindowMenuItem:CreateSpriteWindow() (at ./Library/PackageCache/com.unity.muse.sprite@0.4.1/Editor/WindowMenuItem.cs:15)
And the muse sprite not working due this problem
note that there is no similar issue in Muse Texture