-
Notifications
You must be signed in to change notification settings - Fork 23
Debugging Error Messages
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 MonoBehavior that runs your tree 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()
.
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.
Behavior Tool Debugger was created by What Up Games, LLC. It is currently in beta.