0
Cannot Fix

graph interface performance bug

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

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

https://youtu.be/eTe_cUsq5fk

Bolt Version:
1.4.9
Unity Version:
2019.3
Platform(s):
Scripting Backend:
Mono
.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

Best,

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!