With the configuration shown in this image, I get the following error:
MissingComponentException: There is no ‘NavMeshAgent’ attached to the “Unit_Rifleman” game object, but a script is trying to access it.
You probably need to add a NavMeshAgent to the game object “Unit_Rifleman”. Or your script needs to check if the component is attached before using it.
UnityEngine.AI.NavMeshAgent.SetDestination (UnityEngine.Vector3 target) (at :0)
MxMGameplay.AIDestinationSetter.Start () (at Assets/Plugins/MotionMatching All/MotionMatching/Demo/Code/AIDestinationSetter.cs:30)
I’ve tried everything I can think of. Why does AIDestinationSetter think there’s no NavMeshAgent on the character? I’ve been using A* for years but this issue is new for me. Is it a bug? How do I fix it?