Hi,
Recently, I have discovered that DrawingManager.RemoveDestroyedGizmoDrawers is eating up 25% of my frame, which is kinda bonkers.
I lose any ability to play the game with a stable frame rate.
I have tried going through and disabling all the settings I could find regarding gizmos/lines, but some things, like NavMeshCuts, there is nothing I can find to disable.
Is there anyway to disable ALINE entirely?
Thanks!
I ended up having to move the package to my Packages folder, not in the normal PackagesCache, then manually editing DrawingManager.cs to disable itself upon entering play mode.
However, this is just a hack. Obviously, this is not ideal functionality.
Hi
Yeah, that method has been annoyingly slow. It’s surprisingly hard to just check if a bunch of objects still exist in Unity. But I think I have an alternative solution that would have better performance.
Hi
Would you mind trying with a newer version of Unity. It seems like in more recent versions of Unity, the null checking has been optimized significantly and thus this method should be a lot faster.