Cause and mechanism
NavMeshAgent moves a GameObject along paths on a walkable NavMesh. If a dynamic Rigidbody or animation Root Motion also writes its Transform, competing movement can cause jitter. Choose which system owns movement, and inspect NavMesh obstacles separately from PhysX collider walls.
Check and correct the setup
- Choose one movement owner; use a suitable kinematic setup for agent-driven collision/trigger interactions.
Resolve competing writers of the same position - Inspect agent/bake dimensions, paths, stopping distances, priorities, and crowded targets.
Resolve competing writers of the same position - Do not enable an agent and its obstacle simultaneously. Manage carving delay, valid placement, and path restoration during switching.
Resolve competing writers of the same position
Limits and verification
Switching every stopped agent into an obstacle is not always best. Test narrow passages, restart, root motion, and wall geometry.
A focused diagnostic setup
Test one agent on open navigation without animation or a dynamic rigidbody. Restore movement systems individually.
Test in this order
- Verify the agent-only path and stopping point.
Resolve competing writers of the same position - Define transform ownership/synchronization before restoring root motion or physics.
Resolve competing writers of the same position - Test narrow paths, multiple agents and obstacle switching separately.
Resolve competing writers of the same position
Interpret the result
Added-component-only jitter suggests conflicting movement; narrow-path failure suggests bake/radius; crowd-only failure suggests avoidance/goals. Verify physics walls against navigation geometry too.