The type or namespace name 'BehaviorTree' does not exist in the namespace 'BehaviorDesigner.Runtime'

Justin

Administrator
Staff member
You should be able to. Are you using assembly definitions? That's my only guess why you aren't able to access it.
 

pheik

New member
I'm using assembly definitions, but I can still access other classes under BehaviorDesigner, which makes me doubt that is not the issue here.
 

Justin

Administrator
Staff member
Have you tried reproducing it in a fresh project? As a test I just tried and am not able to reproduce it.

The BehaviorTree component definitely exists within the runtime namespace. There's the BehaviorTree.cs MonoBehavior that you're able to check to verify.
 

pheik

New member
1610281985738.png

AssemblyDefinitions seem to have something to do with it. In a clear project, the BehaviorTree does show up. If I try to access it from a script under an AsmDef, I see a number of classes but not the BehaviorTree.
 

Justin

Administrator
Staff member
That's definitely assembly definition related. You can just use the behavior class as it is the parent of behavior tree.
 
Top