Pathfinding Doesn't Work

I have tried multiple tutorials on pathfinding, but my humanoid just doesn’t move at all. There are no messages in output. I think it might have something to do with the fact the autocomplete doesn’t show path:ComputeAsync(). I have tried anchoring and unanchoring the humanoid. Whatever I do it just doesn’t move.

Autocomplete only seems to like cases where it can tell what the type of an object is from reading your code. So if you start from the workspace object, for example, it will be fine - but in other cases it seems to have no clue what type my variable is. Probably because lua is not strongly typed, unlike many other programming languages.

This seems like a great article for you to check about pathfinding.

Character Pathfinding (roblox.com)

As for what the problem might be - I did try to use the Roblox Zombie script for a different model that I got from somewhere else. And it stopped working, the model just got stuck.

Maybe I should have set the humanoid “HipHeight” different, I never found out.

So, I would say:

Try to simplify what you are doing by taking other things out such as fancy models or other scripts. Then set some breakpoints in the code and use “step in” to single step through the code. Check the locals in the watch window, to see what you get back when you call something like path:ComputeAsync().

I was doing what you said, and I decided to unanchor the humanoid’s root part to see if that was the problem, and this time it was fixed. Even though last time I did that it didn’t work.