Skip to content

Debugging Error Messages

Stacey edited this page Sep 14, 2020 · 5 revisions

The following is a list of common error messages that the Behavior Tree Tool may output.

Did not find any scripts that reference IBehaviorTree. Are they in a different assembly than Assembly-CSharp?

There are two reasons that you may encounter this error. The first is that your base node does not implement IBehaviorTree, and thus no references can be detected. Make sure you implmenet the interface.

The second reason is that your scripts are not in the default Assembly-CSharp assembly. For performance reasons, the Behavior Tree Debugger only scans the default assembly for references to IBehaviorTree. It is possible to seperate your game into multiple assemblies and if you have done this, you will need to update the tool to include a reference to the assembly(s). This can be done in BehaviorTreeGraphWindow.ScanProjectForTreeReferences().

Scanning only works when your game is running

The Scan Scene button on the toolbar is used to scan for behavior trees actively running in your scene. You'll see this error message if you click on the button when not in play mode.

Clone this wiki locally