Event tries and fails to initialize during serialization

Necka 4 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 5

Following my post on Discord

Here are screenshots of the whole Flow graph and details of the State Unit + Console error


The bug do not happen when I click play with what you see in the Flow Graph. It happens only if I add the Custom Event "PlayerCanAttack" (which is triggered in the State Unit) and connect it to "Stop" input on the State Unit

Error result in the flow graph being Erased in Play mode and as well out of Play mode

Bolt 1.2.3

Chronos Version:

Unity Version:

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Pending Review

Hi Necka!

Thanks for the report. I would need the full stack trace of these errors in the last screenshot, especially the first one(s) that pop up.

Here are the two errors (the others are the same)

Working on Fix

Sorry for the very late reply on this. For some reason, it looks like the event is trying to initialize while on the serialization thread, which causes a failure. I will fix this particular error and try to improve the overall error recovery for v.1.4