I am experiencing very low framerate in editor which occurs when I select a certain script for which I’ve written a custom Editor.
I am trying to profile in editor, however I can’t see what causes such a huge delay and which line in my code is the problem. I just see the consequence “DockArea.OnGUI” being very large. Code doesn’t use any Handles
class
commenting out SceneView.RepaintAll()
doesn’t fix the issue
Is it possible to see which function exactly causes this stall?
Please find the image attached
Thank you