[Suggestion] Only draw gizmos nearby

Hello!

Unity’s built in gizmos for navigation only render the gizmos that are close to the camera. This is good for large worlds.

My world is so large, Astar’s gizmos make the game run at a crawl. I tried looking at the code to see if I could easily implement a fix (just not rendering far away gizmos) but since astar uses custom gizmo helpers I’m not sure how.

Would it be possible to have a feature that allows gizmos to only render if a certain distance from the camera?

Thank you!
Josh

Hey, depending on what your setup is you can hide individual graphs.

Hi @joshcamas

Which version are you using? In 4.2.7 the performance for recast graph rendering was improved significantly. If you download that version (or a later one), does that solve the performance issues?
If not, would it be possible for you to post a screenshot of your navmesh?