So I was making a pathfinding for npc on standard roblox terrain, and noticed that roblox doesnt render any navigational meshes for them. I found this weird but didnt think much of it, but now when I got the pathfinding done, I found out that for some very unknown reason, it just wont pathfind on the terrain.
For demonstration, here is picture with the terrain and obstacle I want the npc to pass through:
This behaviour is really weird, maybe its an engine bug, but there is no post about this whatsoever.
I use default roblox pathfinding service of course, here is a simple module I use for the path:
local PathfindingService = game:GetService("PathfindingService")
local pathfind = {}
pathfind.GetServerPath = function(startPos, endPos, pathArgs)
local path = PathfindingService:CreatePath(pathArgs)
local success, errorMessage = pcall(function()
path:ComputeAsync(startPos, endPos)
end)
assert(success)
print(path:GetWaypoints())
if success then return path end
return nil
end
return pathfind
I have already read your post, and I am telling you it doesnt fix my issue. I didnt generate lava/bedrock, and painting over the bottom or whatever doesnt change a thing
No problem, glad to see my solution worked for someone else (and that i was not the only unlucky guy out there, lol)
ngl, i should probably report this asap.
Also, would you mind telling me if you’re using any Plugins, and which? might help in case it’s related, seeing that we are the only two cases known ATM.
I actually ran it on clean roblox studio instance just to be sure, it didnt change anything so I doubt that any plugin would cause the issue. I hope they will fix it soon