Cannot find the referenced external task

CloudShadow

New member
Hi, when I was using the Deathmatch kit, the following errors occurred:
----------------------------------------------
The behavior "Behavior" on GameObject "Barbarian" cannot find the referenced external task. This behavior will be disabled.
UnityEngine.Debug:LogError (object)
BehaviorDesigner.Runtime.BehaviorManager:LoadBehaviorComplete (BehaviorDesigner.Runtime.Behavior,BehaviorDesigner.Runtime.BehaviorManager/BehaviorTree)
BehaviorDesigner.Runtime.BehaviorManager:EnableBehavior (BehaviorDesigner.Runtime.Behavior)
BehaviorDesigner.Runtime.Behavior:EnableBehavior ()
BehaviorDesigner.Runtime.Behavior:Start ()
----------------------------------------------
The behavior "Behavior" on GameObject "Barbarian" cannot find the referenced external task. This behavior will be disabled.
UnityEngine.Debug:LogError (object)
BehaviorDesigner.Runtime.BehaviorManager:LoadBehaviorComplete (BehaviorDesigner.Runtime.Behavior,BehaviorDesigner.Runtime.BehaviorManager/BehaviorTree)
BehaviorDesigner.Runtime.BehaviorManager:EnableBehavior (BehaviorDesigner.Runtime.Behavior)
BehaviorDesigner.Runtime.Behavior:EnableBehavior ()
Opsive.DeathmatchAIKit.AI.DeathmatchAgent:Start () (at Assets/Opsive/DeathmatchAIKit/Scripts/AI/DeathmatchAgent.cs:253)
 
Last edited:
Can you try reimporting into a fresh project just to ensure it's working? It does look like one of the behavior trees that you are using doesn't have any tasks.
 
Thank you Justin, the problem has been solved. It works in new project, so I delete and reimport all Behavior Designer packages and it works well.
 
Top