Navigation mesh never appears whilst play testing

Unfortunately, the navigation mesh never appears when playtesting, making it useless for debugging purposes.
I’m not sure if there’s some sort of delay in building the visualization for the mesh, but I’ve never seen it appear in playtesting for a while.

Could you try to switch to the “Server View” by clicking the below button?
image

The debugging navmesh was generated on server side you only can see it in “Server View”.

I switch to server-view in the video as well, but no navmesh is visible.

1 Like

I apologize for the confusion!

The visualization only displays the navmesh that has actually been generated.

  • Studio Edit Mode: Only in Edit Mode is the navmesh forced to generate for the entire camera view, so you see everything with navmesh.
  • Studio Play Test Mode: Navmesh generation is driven by API calls and game logic.
    • Client View: You only see the navmesh generated by client-side logic (e.g., ClickToMove). If your client scripts don’t use Pathfinding, the navmesh won’t appear.
    • Server View: You only see the navmesh generated by server-side Pathfinding API calls. If your server code isn’t calling FindPath—or if the start/end points are outside the camera view—you won’t see any navmesh.

Could you please confirm if your server code is actively calling Pathfinding APIs, and if the area between the FindPath start and end points is currently within your Server View?

Gotcha, it appears to be working properly on server-view when pathfinding APIs are being called.

Thanks for the clarification!

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.