Wanderer gets stuck

plufz

New member
Hi!

I have problems with wandering units (movement pack + ucc characters) getting stuck on objects in the scene (for example when they meet a small cube in an otherwise open area). I haven't quite figured out the exact circumstances since it only happens now then. But it might be that it gets stuck on dynamic objects with colliders, so they are not a part of the navmesh. I also sometimes have trouble with wandering characters getting stuck walking around in a small circle in an open area just walking on a big plane (to make a gruesome comparison, looks quite a lot like a stressed animal in a cage). Any ideas on what this is?
 
If you spawn the object dynamically are you adding the NavMeshObstacle? This should tell the NavMeshAgent to avoid that area.
 
Top