Hi,
I have spotted a lag issue in my game and upon investigation it appears that “Editor loop” is causing a massive delay.
I Switch the Profiler to “Edit Mode” and find that “EditorCompilationInterface.IsCompiling() [Invoke]”.
But I don’t know where to call this method.
What Unity version? Is this method continuously taking 400 ms or just here and there? During playmode I suppose?
Give the function name I wonder if a script of yours or an asset you use creates or modifies .cs files when the game runs?