Entities Subtree is not properly baked on a closed subscene

sanyaK

New member
Good day. I noticed a bug, that when I have subtree on my main tree - there are not all the nodes being baked. That is not happening when subscene in opened for editing. I made workaround.
Pls see gist -snip-. This is a patch to be applied. You can save it as my-change.patch. And after that apply git apply my-change.patch.
Or here is a full BehaviorTree.cs file -snip-
 
Last edited by a moderator:
Please do not post entire source code from our assets. Not everyone who views the forum or github has a license to it.

With that said, subtrees are not fully supported by Behavior Designer for the entity workflow yet. I plan on adding support after version 2.2 is released which will allow for runtime visualiztion of entity trees. When I take a look at this I'll look at your patch. I have it downloaded so you can remove it. Thank you.
 
I was just about to post the same sort of bug. But glad that you are taking care of it Justin!

My bug is that, instead of using the Graph Name behaviour tree -> use a Subtree, it wont bake at all when the subscene is closed. So not just parts of the node, the whole tree does not get baked. Move the logic back into the Graph Name and it works again with subscene closed.
 
Back
Top