[SOLVED]FormatException when I launch BD editor

Sylmerria

New member
Unity 20.1.16
BD 1.6.6

I have this error when I try to open BD editor from sample scene.
My PC is set on french culture so our numbers are not written 5.5 but 5,5.

Code:
FormatException: Input string was not in a correct format.
System.Version+VersionResult.SetFailure (System.Version+ParseFailureKind failure, System.String argument) (at <fb001e01371b4adca20013e0ac763896>:0)
System.Version.TryParseComponent (System.String component, System.String componentName, System.Version+VersionResult& result, System.Int32& parsedComponent) (at <fb001e01371b4adca20013e0ac763896>:0)
System.Version.TryParseVersion (System.String version, System.Version+VersionResult& result) (at <fb001e01371b4adca20013e0ac763896>:0)
System.Version.Parse (System.String input) (at <fb001e01371b4adca20013e0ac763896>:0)
System.Version..ctor (System.String version) (at <fb001e01371b4adca20013e0ac763896>:0)
BehaviorDesigner.Editor.BehaviorDesignerWindow.DrawDebugToolbar () (at <9d8828ce63fb46ac87f1584b7fda7530>:0)
BehaviorDesigner.Editor.BehaviorDesignerWindow.Draw () (at <9d8828ce63fb46ac87f1584b7fda7530>:0)
BehaviorDesigner.Editor.BehaviorDesignerWindow.OnGUI () (at <9d8828ce63fb46ac87f1584b7fda7530>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <67055f1be3654e2a987254d5437ee5b8>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <67055f1be3654e2a987254d5437ee5b8>:0)
UnityEditor.DockArea.OldOnGUI () (at <67055f1be3654e2a987254d5437ee5b8>:0)
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 <e11cddb636f444f68eec62123764f018>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
 
Did that error just start to happen? Can you output the value of BehaviorDesignerUtility.Version? This is used to indicate when a new version is released - it should be culture insensitive.
 
> Did that error just start to happen
as the other post said, I just import BD in my project. But in my others projects, I never had this problem
> Can you output the value of BehaviorDesignerUtility.Version? This is used to indicate when a new version is released - it should be culture insensitive.
I can't because this class doesn't exist :/ maybe because of version problem as report in my other thread ?
 
Top