Behavior Designer Pro - Editor graph unstable

maestroymn

New member
So I have been using the behavior designer for a long time, and had no issues while using it. However, we have recently switched to pro version and start using it on a brand new project. So there weren't any adapting the whole project step or so. But since we switched to the pro version, I have been experiencing weird editor issues like:
- cannot use space shortcut for creating new nodes (it actually works once when I opened the unity editor from start, and then not working after that first time)
- sometimes my main tree that inherits many subtrees got randomly broken, and all subtrees lost their connection to their referenced subtree. Which leads to whole main tree to be static noded tree, not referencing any subtree, only exposing all subtree nodes on the main one.
- sometimes my shared variables are magically vanishes, and I had to recreate them for the subtree that I have been using.

I started thinking that something is definetly wrong with the editor layer of the BD-Pro plugin. And it looks like not any other users are experiencing such issues. Can you suggest me solutions to fix my editor for BD-Pro, what are some best ways to get stable editor, maybe with strict reinstall guides? Thank you in advance 🙏
 
As an example, for the second issue that I mentioned, you can check following screenshots. First one is how it should look like during editor time, but sometimes it starts look like the second screenshot. Each time this happens, I am forced to reset all changes on that tree in order to fix it, pretty annoying tbh.
Screenshot 2025-07-11 at 16.59.15.pngScreenshot 2025-07-11 at 16.58.53.png
 
- cannot use space shortcut for creating new nodes (it actually works once when I opened the unity editor from start, and then not working after that first time)
Do you have a non-standard keyboard? The node dialogue is shown with a normal UIElements event:

Code:
        private void OnKeyDown(KeyDownEvent evt)
        {
            if (UnityEditor.Selection.activeGameObject == null && m_GraphWindow.Graph == null) {
                return;
            }

            if (evt.keyCode == KeyCode.Space) {
                ShowNodeCreationWindow(evt.originalMousePosition);
            }
        }
The only reason I can think this would fail is if you don't have the editor window selected?

As an example, for the second issue that I mentioned, you can check following screenshots. First one is how it should look like during editor time, but sometimes it starts look like the second screenshot. Each time this happens, I am forced to reset all changes on that tree in order to fix it, pretty annoying tbh.
View attachment 14408View attachment 14409
Are you running the latest version of Behavior Designer Pro? This issue should have been fixed in version 2.0.12.

For all of your issues if you are able to tell me how to reproduce it from a fresh project or send me a repro scene I can take a look.
 
I am using standard keyboard, well if editor wasn't focusing on behavior tree graph window, I wouldn't be able to use space on the first time i suppose? By the way, when I perform ctrl + space, it does open node creation window. But with an editor warning sound, that doesn't seems like the right way
 
Well repro case for the space issue is pretty straightforward:
1) I open the unity editor from start
2) I open any subtree on graph editor
3) I click on graph editor grid, so that it focuses on the window
4) I perform space, observe node creation is opened
5) I click any space on the graph editor window, in order to cancel node creation
6) I perform space, and observe node creation window is not opened.
 
It does happens each time, and happens on a different computer with the same steps.
Unity Editor: 2022.3.21f1
OS: Macos 15.5 (24F74)
 
Maybe we need to reimport the whole package? Could that be the solution for all problems? Since you mentioned that issues should be fixed on the latest version. So you know these issues are valid for some versions?
 
Do you by chance have a Windows machine to test against? I don't have a Mac and am unable to reproduce it. If you don't I can create an editor script that allows you to test it separately (though I have to leave shortly so it'll be this weekend)


Maybe we need to reimport the whole package? Could that be the solution for all problems? Since you mentioned that issues should be fixed on the latest version. So you know these issues are valid for some versions?
The only issue that I have seen is the one with the subtree persisting. The others I haven't observed nor seen reported. The spacebar one especially would have been an extremely common one. You could try completely removing the package from the Packages folder and also your download cache to see if that helps.
 
Maybe other weird issues are also macos only currently? Can it be? If so, will you be trying to check overall status on macos platform?
 
The other issues are not hardware related so I doubt that's the case. When BDPro went through the Verified Solution process Unity tested it on a Mac so I wonder what is different. Unfortunately I don't have a Mac to test against but I'll add some debugging over the weekend to see if we can track it down. Are you on discord? If so, can you send me a message?

Also, have you tested in a fresh project to ensure its not project specific?
 
Hello again Justin, actually I am facing the subtree persisting issue so often and it is actually costing too much time to rollback to proper tree. Is that issue is properly solved on windows platform, I guess you mentioned that earlier, in version 2.0.12? My use case is I have a base prefab for NPCs that has the reference for the main tree, and I have several prefab variants for all NPCs that inherits from base NPC prefab. I am guessing thats the main cause of this case.

If you are saying that this issue is properly solved on windows machine, I can switch to a windows machine. All I need right now is stability actually :D
 
Back
Top