0

Error in current L2CPP build, and can't update Bolt to try build new one!

Max Ivanchenko 10 months ago • 0

Hi

I've faced with some kind of dead end situation.

L2CPP build for current project didn't work! no errors in editor, but on the device I see in logcat this error : Failed to deserialize scriptable object. System.Runtime.Serialization.SerializationException: Deserialization into 'Bolt.FlowMacro' failed.

I've made an empty project with same plugins and it works!

I've tried to update Unity and Bolt, but faced with new error: MissingMethodException: Method not found: 'Bolt.Flow.SetValue'.

New empty project with new Bolt is working!

So, this should be problem in my project, but I don't know which problem. I've deleted all plugins, but nothing helps. I've tried beta versions and 1.4.0.11.

OK, I've decided to rebuild project from scratch, created new empty game on new Unity|Bolt - but can't use old Flow macros! - if I just move them to new Bolt project - they all blank! + If I just open old scene in new project it will lose all variables! How to migrate properly?

In summary: I can't build for l2cpp, can't upgrade and can't migrate!

Please help somehow)

full errors:

in logcat:

Failed to deserialize scriptable object.
System.Runtime.Serialization.SerializationException: Deserialization into 'Bolt.FlowMacro' failed. ---> System.InvalidOperationException: Internal Deserialization Error - Object definition has not been encountered for object with id=235; 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.
at Ludiq.FullSerializer.Internal.fsCyclicReferenceManager.GetReferenceObject (Int32 id) [0x00000] in :0
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_1_CycleReference (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List`1& processors) [0x00000] in :0
at Ludiq.FullSerializer.fsSerializer.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Type storageType, System.Type overrideC


in update:

MissingMethodException: Method not found: 'Bolt.Flow.SetValue'.
Bolt.EventUnit`1[Bolt.EmptyEventArgs].Trigger (Ludiq.GraphReference reference, EmptyEventArgs args)
Bolt.EventUnit`1+<>c__DisplayClass14_0[Bolt.EmptyEventArgs].b__0 (EmptyEventArgs args)
Bolt.EventBus.Trigger[EmptyEventArgs] (EventHook hook, EmptyEventArgs args)
Bolt.EventMachine`2[Bolt.FlowGraph,Bolt.FlowMacro].TriggerRegisteredEvent[EmptyEventArgs] (EventHook hook, EmptyEventArgs args)
Bolt.EventMachine`2[TGraph,TMacro].TriggerEvent (System.String name)
Bolt.EventMachine`2[TGraph,TMacro].Update ()

Bolt Version:
1.4.0.9
Unity Version:
2018.2.10
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):