- Home /
Question by
Cubemation · Mar 29, 2021 at 09:17 AM ·
unity 2dnavmesh
How can i disable logging NavMeshSurface.BuildNavMesh() ?
Hello.
I am currently working on a dungeon generator for a game i'm working on. Everything is working fine, however, when the generator builds the NavMesh for enemies to walk on, the Console gets completely flooded with messages.
Is there any way i could disable logging for NavMeshSurface.BuildNavMesh() ?
flood.png
(86.3 kB)
Comment
Best Answer
Answer by EricBeato · May 29 at 08:34 PM
Just in case anyone else is looking for an answer to this, as I was:
Add this line before your call to NavMeshSurface.BuildNavMesh().
NavMeshSurface.hideEditorLogs = true;