Reply To: Poor Canvas window performance in big FSM's

NodeCanvas Forums Support Poor Canvas window performance in big FSM's Reply To: Poor Canvas window performance in big FSM's

#14814
Gavalakis
Keymaster

Hello again,

Hmm. Are you using Deep Profiler by any chance, or does the same slowdown happen with the Profiler closed?

With that said, in playmode when the graph visible in the graph editor is running, the graph editor is updated per GUI frame (mostly for visual debugging). You can if you want to, please try this:

– open up GraphEditor.cs and replace line # 540

from this -> if ( willRepaint || e.type == EventType.MouseMove || rootGraph.isRunning ) {
to this -> if ( willRepaint || e.type == EventType.MouseMove ) {

This will avoid repainting the editor per GUI frame, but will also make the visual debugging less “responsive”. Maybe that works for you though 🙂 Let me know.

Thanks!

Join us on Discord: https://discord.gg/97q2Rjh