Page 1 of 1

Dialogue Manager EditorLoop Performance?

Posted: Mon May 16, 2022 12:59 pm
by PayasoPrince
Hello,

I have a strange issue that only occurs in Editor mode but does not occur when I build my game.

Anytime I press a key, even if the key does nothing, I get frame drops/jitters. I looked at the profiler and found that the cause of this is the EditorLoop. It's total is extremely high and it spikes higher anytime I press a key:
Image

I believe that this is the Dialogue Manager's Editor assets causing the EditorLoop to intensify.
Is there any way to resolve this? :?

Re: Dialogue Manager EditorLoop Performance?

Posted: Mon May 16, 2022 1:52 pm
by Tony Li
It depends on the reason. The Unity editor gets slow when serializing any large asset, including large dialogue database assets. Tick the Dialogue Editor's Database section > Editor Settings > Fast Undo For Large Databases checkbox. If that doesn't fix it, turn on deep profiling and identify what method(s) in the editor loop are causing slowdowns.