Error in using BehaviorTree class

positiv

New member
Hi, I just purchased BD and wanted to use the BehaviorTree class in my script, but I cannot get it working. The error is

The type or namespace name 'BehaviorTree' could not be found (are you missing a using directive or an assembly reference?)
Seems like it cannot resolve this class BehaviorTree. The Runtime Source package I installed.
What could be the reason? Any advice? Thanks!
My code :
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using BehaviorDesigner.Runtime;
using IE.RSB;
public class AIBehaviourTreeController : MonoBehaviour
{
private BehaviorTree m_behaviorTree; << HERE IS THE ERROR
private GameObject m_kiledObject;
// Start is called before the first frame update
void Start()
{
}
 
One more error after unity restart

Plugin 'Assets/Behavior Designer/Runtime/BehaviorDesigner.Runtime.dll' has the same filename as Assembly Definition File 'Assets/Behavior Designer/Runtime/BehaviorDesigner.Runtime.asmdef'. Rename the assemblies to avoid hard to diagnose issues and crashes.
How to fix that?

In the Rider debugger I can use BehaviorThree class in EvaluateExpression window, but not in the code directly.
 
Top