Cannot Reproduce

Deserialization Failure Data - all of my projects macros has been emptied

Noam Toledano 1 year ago updated by Lazlo Bonin (Lead Developer) 1 year ago 3

all of the macros and super units are empty, flow machines are empty, the last thing I did was to build the game, everything worked perfect, I turn off my computer for the night,and today when I turned on the computer to continue work on my game every thing was empty and this warning appeared on the console:

"Deserialization Failure Data"

Failed to fetch saved variables from player prefs:
System.Runtime.Serialization.SerializationException: Deserialization into 'null' failed. ---> System.Exception: Unable to find type: 'Ludiq.Bolt.VariableDeclarations, Bolt.Core.Runtime'

Is my game lost?

Please help!

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

I have managed to get things working again by deleting and re importing bolt, 
is there a way to avoid this issue in the future?

Pending Review

Hi Noam,

So sorry you had this scare, I'm glad everything came back to normal.

As a general advice, remember to keep backups of your project, ideally in version control, regardless of whether you work with Bolt or not. Losing work is never fun!

From the error, all I can deduce is that you had installed Bolt 2 Alpha before, and reverted to Bolt 1 in the same project. Is that the case? If so, that's not at all supported.