Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentNullException: BonsaiBehaviourTree/Editor/BonsaiCanvas #32

Open
karim-dev-coder opened this issue Aug 25, 2023 · 1 comment
Open

Comments

@karim-dev-coder
Copy link

WTR:

  1. Create tree
  2. Add custom node
  3. Rename or delete custom node
  4. Open bonsai designer

ArgumentNullException: Value cannot be null. Parameter name: key System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0) Bonsai.Designer.BonsaiCanvas.ReconstructEditorConnections (System.Collections.Generic.Dictionary2[TKey,TValue] nodeMap) (at Assets/3rdParty/BonsaiBehaviourTree/Editor/BonsaiCanvas.cs:214)
Bonsai.Designer.BonsaiCanvas..ctor (Bonsai.Core.BehaviourTree tree) (at Assets/3rdParty/BonsaiBehaviourTree/Editor/BonsaiCanvas.cs:28)
Bonsai.Designer.BonsaiEditor.SetBehaviourTree (Bonsai.Core.BehaviourTree tree) (at Assets/3rdParty/BonsaiBehaviourTree/Editor/BonsaiEditor.cs:360)
Bonsai.Designer.BonsaiWindow.BuildCanvas () (at Assets/3rdParty/BonsaiBehaviourTree/Editor/BonsaiWindow.cs:218)
Bonsai.Designer.BonsaiWindow.OnGUI () (at Assets/3rdParty/BonsaiBehaviourTree/Editor/BonsaiWindow.cs:92)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <63ccfe108ffa44728b417cb47fb2f841>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <63ccfe108ffa44728b417cb47fb2f841>:0)
UnityEditor.DockArea.OldOnGUI () (at <63ccfe108ffa44728b417cb47fb2f841>: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 <3b9216b5eb2547d2a9ee9f63fc12b7c2>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)`

@karim-dev-coder karim-dev-coder changed the title ArgumentNullException ArgumentNullException: BonsaiBehaviourTree/Editor/BonsaiCanvas Aug 25, 2023
@karim-dev-coder
Copy link
Author

Pull request #33

karim-dev-coder added a commit to karim-dev-coder/BonsaiBehaviourTree that referenced this issue Aug 25, 2023
karim-dev-coder added a commit to karim-dev-coder/BonsaiBehaviourTree that referenced this issue Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant