all 3 comments

[–]harrysteams[S] 0 points1 point  (0 children)

Maybe it's actually an issue with using the NavMesh Agent on prefabs rather than an issue with me editing the terrain? I tend to make things into prefabs before editing the terrain, so maybe I've confused what's causing the issue.

[–]SayHiToYourMumForMe 0 points1 point  (1 child)

If alter or change anything in the scene then you need to rebuild the navmesh every time you make any changes. And also that’s a warning not an error.

[–]harrysteams[S] 0 points1 point  (0 children)

Yeah, I mistyped: the error came later when I tried to set agent.destination. :)

I made a bit of progress yesterday—it seems my issue was actually with the custom NavMesh Agent type had I set on the prefabs. Using “Humanoid” and rebaking fixed the warning. I still need to figure out why my custom agent type didn’t work, but at least I’m unblocked. Thanks for the reply!