Pathfinding return success as false whil still creating the path

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Pathfinding npc which check if it is able

  2. What is the issue? The script works fine 45 minute ago but now it doesn’t pathfind and only return nil I toggle visualization mode to view my pathway, It shows the correct path but the errormessage from a pcall function is nil, and success is false

  3. What solutions have you tried so far? So in my hotel game I use getpartinbox to check for furniture overlap, And i had to turn can collide on,So i set the collision group to something else, And add a pathfinding modifier to make it passthroughable, So i though the cancollide is the problem, So i disable can collide, to no avail it fails

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

-- This is an example Lua code block

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

1 Like