0

Deserialization Failure Data Object References (None)

DongYoun Lee 8 months ago updated by Ex-Crow 8 months ago 5

hi

Every time I build, I get the same error, but the id keeps changing.

Object References: (None)

Player.txt

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=477; 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.

Bolt Version:
1.4.11f
Unity Version:
2019.2.10f1
Platform(s):
window
Scripting Backend:
Mono
.NET Version (API Compatibility Level):
.NET 4.x

I'm experiencing the same. Not saving and restarting Unity, however, got rid of this. The cause seemingly was hitting ctrl+z while in Play mode. I was trying to undo unit group position change in the graph

[Exception] GraphPointerException: Missing graph element data for OnEnterState#ccaac....
GraphPointer.GetElementData[T]()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/GraphPointer.cs:356

Bolt.EventUnit`1[TArgs].StopListening()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Runtime/Framework/Events/EventUnit.cs:81

FlowGraph.StopListening()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Runtime/FlowGraph.cs:53

FlowState.OnExitImplementation()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.State/Runtime/FlowState.cs:33

State.OnExit()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.State/Runtime/State.cs:172

StateGraph.Stop()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.State/Runtime/StateGraph.cs:138

StateMachine.OnDisable()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.State/Runtime/StateMachine.cs:58

[Exception] GraphPointerException: Missing graph element data for OnEnterState#ccaac....
GraphPointer.GetElementData[T]()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/GraphPointer.cs:356

Bolt.EventUnit`1[TArgs].StopListening()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Runtime/Framework/Events/EventUnit.cs:81

FlowGraph.StopListening()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Runtime/FlowGraph.cs:53

FlowState.StopListening()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.State/Runtime/FlowState.cs:51

XGraphEventListener.StopListening()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Core/Runtime/Events/IGraphEventListener.cs:29

State.Uninstantiate()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.State/Runtime/State.cs:76

Graph.Uninstantiate()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/Graph.cs:43

GraphInstances.Uninstantiate()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/GraphInstances.cs:62

Ludiq.Machine`2[TGraph,TMacro].UninstantiateNest()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/Machines/Machine.cs:193

Ludiq.Machine`2[TGraph,TMacro].OnDestroy()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/Machines/Machine.cs:130

Bolt.EventMachine`2[TGraph,TMacro].OnDestroy()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Core/Runtime/Events/EventMachine.cs:110

[Warning] Deserialization Failure Data
Object References: 
(None)
JSON: 
{
    "graph": {
        "variables": {
            "collection": {
                "$content": [],
                "$version": "A"
            },
            "$version": "A"
        },
        "controlInputDefinitions": [],
        "controlOutputDefinitions": [],
        "valueInputDefinitions": [],
        "valueOutputDefinitions": [],
        "title": null,
        "summary": null,
        "pan": {
            "x": 497.2508,
            "y": -176.1058
        },
        "zoom": 0.55,
        "elements": [
            {
                "coroutine": false,
                "defaultValues": {
                },
                "position": {
                    "x": -192.0,
                    "y": -216.0
                },
                "guid": "16fe9f31-13bd-4d8e-9865-46a7dc53c36a",
                "$version": "A",
                "$type": "Bolt.Update",
                "$id": "9"
            },
            {
                "specifyFallback": false,
                "kind": "Application",
                "defaultValues": {
                    "name": {
                        "$content": "THEME- BOOL- Selected",
                        "$type": "System.String"
                    }
                },
                "position": {
                    "x": -384.0,
                    "y": 24.0
                },
                "guid": "cc5ee571-7b8d-4db1-8bc0-5e63cc5494b0",
                "$version": "A",
                "$type": "Bolt.GetVariable",
                "$id": "11"
            },
            {
                "showNext": false,
                "BranchingType": "And",
                "AllowEquals": false,
                "Numeric": false,
                "argumentCount": 3,
                "defaultValues": {
                },
                "position": {
                    "x": 36.0,
                    "y": -216.0
                },
                "guid": "813b8560-266c-4803-9121-f9318e80f819",
                "$version": "A",
                "$type": "Bolt.Addons.Community.Fundamentals.BranchParams",
                "$id": "13"
            },
            {
                "specifyFallback": false,
                "kind": "Application",
                "defaultValues": {
                    "name": {
                        "$content": "LENGTH- BOOL- Selected",
                        "$type": "System.String"
                    }
                },
                "position": {
                    "x": -384.0,
                    "y": -60.0
                },
                "guid": "1dd95df5-c08e-4065-a9c0-540c007c9530",
                "$version": "A",
                "$type": "Bolt.GetVariable",
                "$id": "15"
            },
            {
                "chainable": false,
                "member": {
                    "name": "interactable",
                    "parameterTypes": null,
                    "targetType": "UnityEngine.UI.Button",
                    "targetTypeName": "UnityEngine.UI.Button",
                    "$version": "A"
                },
                "defaultValues": {
                    "target": null,
                    "input": {
                        "$content": true,
                        "$type": "System.Boolean"
                    }
                },
                "position": {
                    "x": 312.0,
                    "y": -252.0
                },
                "guid": "3d947099-84c1-486a-a628-f9df8e1f69e6",
                "$version": "A",
                "$type": "Bolt.SetMember",
                "$id": "17"
            },
            {
                "chainable": false,
                "member": {
                    "name": "interactable",
                    "parameterTypes": null,
                    "targetType": "UnityEngine.UI.Button",
                    "targetTypeName": "UnityEngine.UI.Button",
                    "$version": "A"
                },
                "defaultValues": {
                    "target": null,
                    "input": {
                        "$content": false,
                        "$type": "System.Boolean"
                    }
                },
                "position": {
                    "x": 312.0,
                    "y": -108.0
                },
                "guid": "dd9b5a1d-3995-46a1-9a1d-b64a81f0cc7a",
                "$version": "A",
                "$type": "Bolt.SetMember",
                "$id": "20"
            },
            {
                "specifyFallback": false,
                "kind": "Application",
                "defaultValues": {
                    "name": {
                        "$content": "STARLET- BOOL- Selected",
                        "$type": "System.String"
                    }
                },
                "position": {
                    "x": -396.0,
                    "y": 120.0
                },
                "guid": "fbd1271a-9575-4635-bae7-a5bc07d4b350",
                "$version": "A",
                "$type": "Bolt.GetVariable",
                "$id": "23"
            },
            {
                "sourceUnit": {
                    "$ref": "13"
                },
                "sourceKey": "exitFalse",
                "destinationUnit": {
                    "$ref": "20"
                },
                "destinationKey": "assign",
                "guid": "5e12d48e-c178-4487-a8a4-37632db4ae57",
                "$type": "Bolt.ControlConnection"
            },
            {
                "sourceUnit": {
                    "$ref": "13"
                },
                "sourceKey": "exitTrue",
                "destinationUnit": {
                    "$ref": "17"
                },
                "destinationKey": "assign",
                "guid": "70ca3f80-1d54-4f34-92dc-615f630f314a",
                "$type": "Bolt.ControlConnection"
            },
            {
                "sourceUnit": {
                    "$ref": "9"
                },
                "sourceKey": "trigger",
                "destinationUnit": {
                    "$ref": "13"
                },
                "destinationKey": "enter",
                "guid": "453cc657-56b9-44ea-b5c4-a6aea785b23f",
                "$type": "Bolt.ControlConnection"
            },
            {
                "sourceUnit": {
                    "$ref": "15"
                },
                "sourceKey": "value",
                "destinationUnit": {
                    "$ref": "13"
                },
                "destinationKey": "Arg_0",
                "guid": "e804dd48-8030-4706-899b-f2c094ec2737",
                "$type": "Bolt.ValueConnection"
            },
            {
                "sourceUnit": {
                    "$ref": "23"
                },
                "sourceKey": "value",
                "destinationUnit": {
                    "$ref": "13"
                },
                "destinationKey": "Arg_2",
                "guid": "78c282fa-b4b6-40b3-9da5-94df1717f8c1",
                "$type": "Bolt.ValueConnection"
            },
            {
                "sourceUnit": {
                    "$ref": "11"
                },
                "sourceKey": "value",
                "destinationUnit": {
                    "$ref": "13"
                },
                "destinationKey": "Arg_1",
                "guid": "02013cd8-9a77-49f2-97ab-57e42da26fe2",
                "$type": "Bolt.ValueConnection"
            }
        ],
        "$version": "A"
    }
}
Serialization.DeserializeInto()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Runtime/Serialization/Serialization.cs:120

Ludiq.LudiqScriptableObject.UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Runtime/Unity/LudiqScriptableObject.cs:50

Bolt.<getdynamicoptions>d__14.MoveNext()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Editor/Options/UnitBase.cs:584

LinqUtility.ToHashSet()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Runtime/Utilities/LinqUtility.cs:39

Bolt.<>c.<subset>b__7_0()    C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Editor/Options/UnitBase.cs:377

Ludiq.<>c__DisplayClass10_0`1.<await>b__0()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Editor/Utilities/UnityAPI.cs:133

UnityAPI.ProcessDelegates()    C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Editor/Utilities/UnityAPI.cs:31
</await></subset></getdynamicoptions>

[Error] 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=13; 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 (System.Int32 id) [0x0000e] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\Internal\fsCyclicReferenceManager.cs:44
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[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x00023] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:708
at Ludiq.FullSerializer.fsSerializer.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x0003d] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:666
at Ludiq.FullSerializer.fsReflectedConverter.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Object& instance, System.Type storageType) [0x00082] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\Converters\fsReflectedConverter.cs:97
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x0001a] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:899
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00032] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:889
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List`1[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x0015c] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:864
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_2_Version (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List`1[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x0011c] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:768
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[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x00049] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:713
at Ludiq.FullSerializer.fsSerializer.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x0003d] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:666
at Ludiq.FullSerializer.fsSerializer.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result) [0x00000] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:637
at Ludiq.FullSerializer.fsIEnumerableConverter.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Object& instance_, System.Type storageType) [0x0005b] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\Converters\fsIEnumerableConverter.cs:100
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x0001a] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:899
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00032] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:889
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List`1[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x0015c] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:864
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_2_Version (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List`1[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x0011c] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:768
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[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x00049] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:713
at Ludiq.FullSerializer.fsSerializer.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x0003d] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:666
at Ludiq.FullSerializer.fsReflectedConverter.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Object& instance, System.Type storageType) [0x00082] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\Converters\fsReflectedConverter.cs:97
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x0001a] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:899
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00032] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:889
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List`1[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x0015c] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:864
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_2_Version (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List`1[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x0011c] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:768
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[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x00049] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:713
at Ludiq.FullSerializer.fsSerializer.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x0003d] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:666
at Ludiq.FullSerializer.fsReflectedConverter.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Object& instance, System.Type storageType) [0x00082] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\Converters\fsReflectedConverter.cs:97
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_5_Converter (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x0001a] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:899
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_4_Cycles (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type resultType, System.Object& result) [0x00032] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:889
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_3_Inheritance (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List`1[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x0015c] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:864
at Ludiq.FullSerializer.fsSerializer.InternalDeserialize_2_Version (System.Type overrideConverterType, Ludiq.FullSerializer.fsData data, System.Type storageType, System.Object& result, System.Collections.Generic.List`1[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x0011c] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:768
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[Ludiq.FullSerializer.fsObjectProcessor]& processors) [0x00049] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:713
at Ludiq.FullSerializer.fsSerializer.TryDeserialize (Ludiq.FullSerializer.fsData data, System.Type storageType, System.Type overrideConverterType, System.Object& result) [0x0003d] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Dependencies\FullSerializer\fsSerializer.cs:666
at Ludiq.Serialization.DeserializeJson (Ludiq.FullSerializer.fsSerializer serializer, System.String json, System.Object& instance, System.Boolean forceReflected) [0x00015] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Serialization\Serialization.cs:171
at Ludiq.Serialization.DeserializeInto (Ludiq.SerializationData data, System.Object& instance, System.Boolean forceReflected) [0x0002e] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Serialization\Serialization.cs:113
--- End of inner exception stack trace ---
at Ludiq.Serialization.DeserializeInto (Ludiq.SerializationData data, System.Object& instance, System.Boolean forceReflected) [0x0007f] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Serialization\Serialization.cs:127
at Ludiq.LudiqScriptableObject.UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize () [0x00016] in C:\Users\lazlo\Projects\Bolt1\Package\Ludiq.Core\Runtime\Unity\LudiqScriptableObject.cs:50
Ludiq.LudiqScriptableObject.UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Runtime/Unity/LudiqScriptableObject.cs:57

Bolt.d__14.MoveNext() C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Editor/Options/UnitBase.cs:584

LinqUtility.ToHashSet() C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Runtime/Utilities/LinqUtility.cs:39

Bolt.<>c.b__7_0() C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Flow/Editor/Options/UnitBase.cs:377

Ludiq.<>c__DisplayClass10_0`1.b__0() C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Editor/Utilities/UnityAPI.cs:133

UnityAPI.ProcessDelegates() C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Core/Editor/Utilities/UnityAPI.cs:31

The cause for this error in Build for me was community addons unit that turned out to be not AoT compatible. Removing the unit solved this issue in build for me. But the above still happens in editor on occasion. 

Looks like it didn't like that I deleted community addons pack from the project even though I don't use any of their units. 

Does community add-on mean Unity Collab? I've erased it, but it's the same symptom