Not a Bug

Failed to deserialize scriptable object.

伊卡洛斯 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 3

When this problem occurs, Flow Graph will not be able to run normally. You must close Unity and reopen it.

Reproduce steps:

1. Modify a Unit name or this namespace, without the 'RenamedFrom' attribute.1.3 Delete unit can also

2. Return to Unity and select the flow Macro containing this unit. This error will occur. Then click on other Macro files and you will find that Flow Graph is not working.Then your Graph looks like this, blank

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

This is another similar error:

The unit removed in 1.4 will also appear

Not a Bug

As I answered on the Discord, there's unfortunately no way for Bolt to recover from changes or deletions in custom units created from C#. This might change in the future with Odin Serializer, but in the mean time, only super units / nested graphs are guaranteed to always be recoverable.