Cannot Fix

graph interface performance bug

Boris Vitazek 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 2

found a bug! When flow machine component is expanded, editor is super slow.


Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
.NET 4.x

Hello Boris,

Sorry you're experiencing this issue and thanks for submitting a bug report. You should hear back from the developer soon! In the meantime, please make sure you are using the latest version of Bolt (1.4.10) and see if that doesn't fix the problem: https://ludiq.io/bolt/download/1.4.10


Hasan from Ludiq

Cannot Fix

Hi Boris,

Thanks for the report.

This is unfortunately related to a Unity bug we cannot fix.

When a component is expanded in the editor, Unity re-serializes it (save + reload) at every frame.

This is a weird quirk that makes components with lots of data slow down the editor.

In Bolt 2, we have a faster serialization library that will alleviate that issue.

In the mean time, the solution is either to:

  • Use a Macro instead of an Embed: This way, your graph contents are not reserialized every frame
  • Keep the component minimized

Thanks for your understanding!