
+2
Cannot Reproduce
WebGL: Failed to deserialize scriptable object
Both Firefox and Chrome latest version. Build options WebGL asm.js.
Unity 2018.2.14f1 (64 bits)
Bolt 1.4.0f10
Made a simple game with Bolt, ran AOT Pre Build every time I buld to WebGL and get the same error.
Edit: Sorry forgot to add the stack trace error.
(Filename: ./Runtime/Export/Debug.bindings.h Line: 43) UnityLoader.js:4 UnityLoader.js:4 Failed to deserialize scriptable object. UnityLoader.js:4 System.Runtime.Serialization.SerializationException: Deserialization into 'Bolt.FlowMacro' failed. ---> System.InvalidOperationException: Internal Deserialization Error - Object definition has not been encountered for object with id=89; have you reordered or modified the serialized data? If this is an issue with an unmodified Full Serializer implementation and unmodified serialization data, please report an issue with an included test case. UnityLoader.js:4 at Ludiq.FullSerializer.Internal.fsCyclicReferenceManager.GetReferenceObject (System.Int32 id) [0x00000] in <00000000000000000000000000000000>:0 UnityLoader.js:4 --- End of inner exception stack trace --- UnityLoader.js:4 at Ludiq.Serialization.DeserializeInto (Ludiq.SerializationData data, System.Object& instance, System.Boolean forceReflected) [0x00000] in <00000000000000000000000000000000>:0 UnityLoader.js:4 UnityLoader.js:4 (Filename: ./Runtime/Export/Debug.bindings.h Line: 43)
Bolt Version:
1.4.0f10
Unity Version:
2018.2.14f1 (64 bits)
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Customer support service by UserEcho
Hi YakDog,
Can you please send a minimal project that reproduces this issue?
It's hard to tell what's happening from just the stack trace. It seems like data corruption in the serialized data, but I've never had reports of that so far.
Lazlo, Hi.
How can I send directly to you? Will send this project, because it's not something I think I can reproduce.
Is there a way to find orphaned Flows?
Regards.
has the same error
Failed to deserialize behaviour.
System.Runtime.Serialization.SerializationException: Deserialization into 'Bolt.Variables' failed. ---> System.InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread
and my Variables on all the objects become empty, I think that cause I am using scriptable object as one of the variable extended from Odin SerializedScriptableObject
Bolt 1.4.0f10
Hi Babywka, what is the full stack trace of that error? With only the first few lines I cannot tell where it's coming from.
Hi, I'm having a similar error, where at some point all of my macros become empty and lose all my variables, and I'm unsure on why it happened. Now I just can't use Bolt on the project I was working, every time I open it everything disappears. I had to create a new project with all my assets and start creating the macros from the beginning.
I'm trying to reproduce it, but I have been using only for a couple days and it already happened twice, losing all my progress...
I'm using Unity 2018.3.0f2, Bolt 1.4.0f11.NET3.
The errors I get are:
and
I'm kinda new on programming overall, and Bolt made it pretty easy to understand. I'm looking forward to solving this problem too keep working with it.
Hi Gabriel,
Sorry you're having this issue. That specific bug was fixed in Bolt v.1.4.1b3, can you try updating to the latest beta and see if it works for you? We're working hard on bringing that version to stable ASAP.
I'm closing this because: