GridVids
Sign in with YouTube

FIX Jittery NavMeshAgent Movement in Unity 6 | Unity Tutorial

LlamAcademy Jun 18, 2025 10:33
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

Chapters
In Unity 6, 6.1, and 6.2 beta there is a bug affecting NavMeshAgents where every time you call SetDestination(), the agent briefly pauses as it recalculates a new path. This was NOT the behavior pre-Unity 6. In this video you'll see how you can solve this problem! ๐Ÿ‘จโ€๐Ÿ’ป As always, all code from this video is available on GitHub: https://github.com/llamacademy/dino-attack ๐ŸŽฎ Play the game on Itch for free: https://llamacademy.itch.io/dino-attack ๐Ÿท๏ธSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly ๐Ÿ‘จโ€๐Ÿ’ปGet my NEW Unity Real Time Strategy course: https://www.gamedev.tv/courses/unity-realtime-strategy?ref=mjuzyjq ๐Ÿ“š Resources: ๐ŸŸ  Bug Tracker: https://issuetracker.unity3d.com/issues/agent-velocity-resets-to-0-when-calling-navmeshagent-dot-setdestination-to-an-unreachable-position ๐ŸŸ  NavMesh Calculate Path: https://docs.unity3d.com/6000.0/Documentation/ScriptReference/AI.NavMesh.CalculatePath.html ๐ŸŸ  Extension Methods Documentation: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/extension-methods ๐Ÿ™ Support LlamAcademy & polyperfect by purchasing these assets! ๐ŸŸ  Polyperfect Dino Pack: https://assetstore.unity.com/packages/3d/characters/animals/low-poly-animated-dinosaurs-110313?aid=1101l9QvC ๐ŸŸ  Polyperfect Ultimate Pack: https://assetstore.unity.com/packages/3d/props/low-poly-ultimate-pack-54733?aid=1101l9QvC ๐Ÿงก Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support: ๐Ÿงก Patreon: https://www.patreon.com/llamacademy ๐Ÿงก YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase. Chapters:
Education
#Unity #Tutorial #How to #How to unity #unity how to #llamacademy #llama academy #video game development #development #unity 6 #unity 6 bug #bug #navmeshagent #nav mesh #nav mesh agent #jitter #jittery movement #movement jitter #start stop movement #start #stop #movement #pathing #pathfinding #path finding #navmeshagent jitter #fix #fix navmeshagent #fix navmeshagent movement #fix navmeshagent jittery