What I wrote was literally the bare bones minimum to generate a path using the new PathfindingService
.
path = game:GetService('PathfindingService'):ComputeRawPathAsync(game.Workspace.Start.Position, game.Workspace.Finish.Position, 200) print(path.Status)
The output always says: Enum.PathStatus.ClosestNoPath
I tried the scripts on the wiki, they didn't work. I tried the howto video on Youtube, that didn't help. What in the world is going on? Is it just me having this error?
(Yes, the start and finish arguments are objects in workspace)
Edit I discovered it just wasn't working on one place. Creating a new one did the trick.