0
Need More Information

2.0.0a7 Bolt Setup Wizard comes up after C# script compilation

Ex-Crow 8 months ago updated 8 months ago 3



Skipping serialization of Bolt.Core.ProjectSettings (DictionaryAsset) to prevent data loss because it failed to deserialize.

UnityEngine.Debug:LogWarning(Object, Object)
Ludiq.Serialization:OnBeforeSerializeImplementation(LudiqAsset, FullSerializationData&, SerializationData&, Boolean) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:621)
Ludiq.LudiqAsset:UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize() (at Assets/Ludiq/Ludiq.Core/Runtime/Unity/LudiqAsset.cs:21)


Failed to deserialize DictionaryAsset#16076 using Odin Serializer.
System.Runtime.Serialization.SerializationException: Deserialization into 'Ludiq.DictionaryAsset' failed. ---> Ludiq.OdinSerializer.SerializationAbortException: Deserialization of type 'Ludiq.DictionaryAsset' aborted. ---> Ludiq.OdinSerializer.SerializationAbortException: The following error was logged during serialization or deserialization: Data layout mismatch; skipping past node boundary when exiting array.
at Ludiq.OdinSerializer.DebugContext.LogException (System.Exception exception) [0x00016] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Core\Misc\SerializationConfig.cs:240
  at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.IDataReader reader) [0x00216] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1715
--- End of inner exception stack trace ---
  at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.IDataReader reader) [0x0027b] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1730
  at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.SerializationData& data, Ludiq.OdinSerializer.DeserializationContext context, System.Boolean isPrefabData, System.Collections.Generic.List`1[T] prefabInstanceUnityObjects) [0x00431] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1435
  at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.SerializationData& data, Ludiq.OdinSerializer.DeserializationContext context) [0x00000] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1155
  at Ludiq.Serialization.OdinDeserializeInto[T] (Ludiq.OdinSerializer.SerializationData data, T& instance) [0x00022] in C:\GameDev\alpha7\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:404
--- End of inner exception stack trace ---
  at Ludiq.Serialization.OdinDeserializeInto[T] (Ludiq.OdinSerializer.SerializationData data, T& instance) [0x00090] in C:\GameDev\alpha7\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:417
  at Ludiq.Serialization.OnAfterDeserializeImplementation[T] (T uo, Ludiq.FullSerializationData fullData, Ludiq.OdinSerializer.SerializationData odinData, System.Boolean& deserializationFailed) [0x00058] in C:\GameDev\alpha7\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:698
UnityEngine.Debug:LogError(Object, Object)
Ludiq.Serialization:OnAfterDeserializeImplementation(LudiqAsset, FullSerializationData, SerializationData, Boolean&) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:702)
Ludiq.LudiqAsset:UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() (at Assets/Ludiq/Ludiq.Core/Runtime/Unity/LudiqAsset.cs:26)
Bolt Version:
2.0.0a7
Unity Version:
2019.2.18
Platform(s):
PC
Scripting Backend:
Mono
.NET Version (API Compatibility Level):
.NET 4.x
Bolt 2
Need More Information

Hi TowerCrow,

Can you please find the Bolt.Core.ProjectSettings.asset file and in the Cog menu of the inspector, choose "Show Data", then upload it here?

This looks entirely related to using Script Inspector 3 instead of Visual Studio. There might be compatibility issues.

Compiled a few times with VS and nothing happened, imported Script Inspector 3 and after a couple of compilations everything went to hell: 



Failed to deserialize ClassDefinition#16954 using Odin Serializer.
System.Runtime.Serialization.SerializationException: Deserialization into 'Ludiq.Bolt.ClassDefinition' failed. ---> Ludiq.OdinSerializer.SerializationAbortException: Deserialization of type 'Ludiq.Bolt.ClassDefinition' aborted. ---> Ludiq.OdinSerializer.SerializationAbortException: The following error was logged during serialization or deserialization: Data layout mismatch; skipping past node boundary when exiting array.
at Ludiq.OdinSerializer.DebugContext.LogException (System.Exception exception) [0x00016] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Core\Misc\SerializationConfig.cs:240
  at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.IDataReader reader) [0x00216] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1715
--- End of inner exception stack trace ---
  at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.IDataReader reader) [0x0027b] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1730
  at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.SerializationData& data, Ludiq.OdinSerializer.DeserializationContext context, System.Boolean isPrefabData, System.Collections.Generic.List`1[T] prefabInstanceUnityObjects) [0x00431] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1435
  at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.SerializationData& data, Ludiq.OdinSerializer.DeserializationContext context) [0x00000] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1155
  at Ludiq.Serialization.OdinDeserializeInto[T] (Ludiq.OdinSerializer.SerializationData data, T& instance) [0x00022] in C:\GameDev\alpha7_2\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:404
--- End of inner exception stack trace ---
  at Ludiq.Serialization.OdinDeserializeInto[T] (Ludiq.OdinSerializer.SerializationData data, T& instance) [0x00090] in C:\GameDev\alpha7_2\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:417
  at Ludiq.Serialization.OnAfterDeserializeImplementation[T] (T uo, Ludiq.FullSerializationData fullData, Ludiq.OdinSerializer.SerializationData odinData, System.Boolean& deserializationFailed) [0x00058] in C:\GameDev\alpha7_2\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:698
UnityEngine.Debug:LogError(Object, Object)
Ludiq.Serialization:OnAfterDeserializeImplementation(LudiqAsset, FullSerializationData, SerializationData, Boolean&) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:702)
Ludiq.LudiqAsset:UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() (at Assets/Ludiq/Ludiq.Core/Runtime/Unity/LudiqAsset.cs:26)

Failed to deserialize DictionaryAsset#16072 using Odin Serializer.
System.Runtime.Serialization.SerializationException: Deserialization into 'Ludiq.DictionaryAsset' failed. ---> Ludiq.OdinSerializer.SerializationAbortException: Deserialization of type 'Ludiq.DictionaryAsset' aborted. ---> Ludiq.OdinSerializer.SerializationAbortException: The following error was logged during serialization or deserialization: Data layout mismatch; skipping past node boundary when exiting array.
at Ludiq.OdinSerializer.DebugContext.LogException (System.Exception exception) [0x00016] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Core\Misc\SerializationConfig.cs:240
at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.IDataReader reader) [0x00216] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1715
--- End of inner exception stack trace ---
at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.IDataReader reader) [0x0027b] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1730
at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.SerializationData& data, Ludiq.OdinSerializer.DeserializationContext context, System.Boolean isPrefabData, System.Collections.Generic.List`1[T] prefabInstanceUnityObjects) [0x00431] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1435
at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.SerializationData& data, Ludiq.OdinSerializer.DeserializationContext context) [0x00000] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1155
at Ludiq.Serialization.OdinDeserializeInto[T] (Ludiq.OdinSerializer.SerializationData data, T& instance) [0x00022] in C:\GameDev\alpha7_2\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:404
--- End of inner exception stack trace ---
at Ludiq.Serialization.OdinDeserializeInto[T] (Ludiq.OdinSerializer.SerializationData data, T& instance) [0x00090] in C:\GameDev\alpha7_2\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:417
at Ludiq.Serialization.OnAfterDeserializeImplementation[T] (T uo, Ludiq.FullSerializationData fullData, Ludiq.OdinSerializer.SerializationData odinData, System.Boolean& deserializationFailed) [0x00058] in C:\GameDev\alpha7_2\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:698
UnityEngine.Debug:LogError(Object, Object)
Ludiq.Serialization:OnAfterDeserializeImplementation(LudiqAsset, FullSerializationData, SerializationData, Boolean&) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:702)
Ludiq.LudiqAsset:UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() (at Assets/Ludiq/Ludiq.Core/Runtime/Unity/LudiqAsset.cs:26)

Failed to deserialize ClassDefinition#18072 using Odin Serializer.
System.Runtime.Serialization.SerializationException: Deserialization into 'Ludiq.Bolt.ClassDefinition' failed. ---> Ludiq.OdinSerializer.SerializationAbortException: Deserialization of type 'Ludiq.Bolt.ClassDefinition' aborted. ---> Ludiq.OdinSerializer.SerializationAbortException: The following error was logged during serialization or deserialization: Data layout mismatch; skipping past node boundary when exiting array.
at Ludiq.OdinSerializer.DebugContext.LogException (System.Exception exception) [0x00016] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Core\Misc\SerializationConfig.cs:240
at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.IDataReader reader) [0x00216] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1715
--- End of inner exception stack trace ---
at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.IDataReader reader) [0x0027b] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1730
at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.SerializationData& data, Ludiq.OdinSerializer.DeserializationContext context, System.Boolean isPrefabData, System.Collections.Generic.List`1[T] prefabInstanceUnityObjects) [0x00431] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1435
at Ludiq.OdinSerializer.UnitySerializationUtility.DeserializeUnityObject (UnityEngine.Object unityObject, Ludiq.OdinSerializer.SerializationData& data, Ludiq.OdinSerializer.DeserializationContext context) [0x00000] in C:\Users\lazlo\Projects\LudiqOdinSerializer\OdinSerializer\Unity Integration\UnitySerializationUtility.cs:1155
at Ludiq.Serialization.OdinDeserializeInto[T] (Ludiq.OdinSerializer.SerializationData data, T& instance) [0x00022] in C:\GameDev\alpha7_2\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:404
--- End of inner exception stack trace ---
at Ludiq.Serialization.OdinDeserializeInto[T] (Ludiq.OdinSerializer.SerializationData data, T& instance) [0x00090] in C:\GameDev\alpha7_2\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:417
at Ludiq.Serialization.OnAfterDeserializeImplementation[T] (T uo, Ludiq.FullSerializationData fullData, Ludiq.OdinSerializer.SerializationData odinData, System.Boolean& deserializationFailed) [0x00058] in C:\GameDev\alpha7_2\Assets\Ludiq\Ludiq.Core\Runtime\Serialization\Serialization.cs:698
UnityEngine.Debug:LogError(Object, Object)
Ludiq.Serialization:OnAfterDeserializeImplementation(LudiqAsset, FullSerializationData, SerializationData, Boolean&) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:702)
Ludiq.LudiqAsset:UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() (at Assets/Ludiq/Ludiq.Core/Runtime/Unity/LudiqAsset.cs:26)

Failed to define FlowFunctionUnit#3f6d5...:
System.Exception: Missing FlowFunction with GUID 2f1b364f on Inventory (ClassDefinition).
at Ludiq.Bolt.MemberDefinitionUnit`2[TType,TMember].Definition () [0x00026] in C:\GameDev\alpha7_2\Assets\Ludiq\Bolt.Flow\Runtime\Units\Architecture\MemberDefinitionUnit.cs:80
at Ludiq.Bolt.FlowFunctionUnit.Definition () [0x00001] in C:\GameDev\alpha7_2\Assets\Ludiq\Bolt.Flow\Runtime\Units\Architecture\FlowFunctionUnit.cs:40
at Ludiq.Bolt.Unit`1[TFlowGraph].Define () [0x00041] in C:\GameDev\alpha7_2\Assets\Ludiq\Bolt.Flow\Runtime\Units\Unit.cs:188
UnityEngine.Debug:LogWarning(Object)
Ludiq.Bolt.Unit`1:Define() (at Assets/Ludiq/Bolt.Flow/Runtime/Units/Unit.cs:204)
Ludiq.Bolt.Unit`1:AfterAdd(FlowGraph) (at Assets/Ludiq/Bolt.Flow/Runtime/Units/Unit.cs:96)
Ludiq.Bolt.MemberDefinitionUnit`2:AfterAdd(FlowGraph) (at Assets/Ludiq/Bolt.Flow/Runtime/Units/Architecture/MemberDefinitionUnit.cs:93)
Ludiq.Bolt.GraphElement`1:Ludiq.INotifiedCollectionChild.AfterAdd(IGraph) (at Assets/Ludiq/Bolt.Core/Runtime/Graphs/GraphElement.cs:48)
Ludiq.ParentCollection`3:AfterAdd(IUnit) (at Assets/Ludiq/Ludiq.Core/Runtime/Collections/ParentCollection.cs:302)
Ludiq.ParentCollection`3:InsertItem(Int32, IUnit) (at Assets/Ludiq/Ludiq.Core/Runtime/Collections/ParentCollection.cs:91)
System.Collections.ObjectModel.Collection`1:Add(IUnit)
Ludiq.VariantCollection`2:Add(IGraphElement) (at Assets/Ludiq/Ludiq.Core/Runtime/Collections/VariantCollection.cs:42)
Ludiq.MergedKeyedCollection`2:Add(IGraphElement) (at Assets/Ludiq/Ludiq.Core/Runtime/Collections/MergedKeyedCollection.cs:168)
Ludiq.Bolt.GraphElementMergedCollection:Add(IEnumerable`1) (at Assets/Ludiq/Bolt.Core/Runtime/Graphs/GraphElementMergedCollection.cs:31)
Ludiq.Bolt.Graph:OnAfterDependenciesDeserialized() (at Assets/Ludiq/Bolt.Core/Runtime/Graphs/Graph.cs:147)
Ludiq.Serialization:CheckIfDependenciesMet(ISerializationDepender) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:874)
Ludiq.Serialization:NotifyDependencyAvailable(ISerializationDependency) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:848)
Ludiq.Serialization:NotifyDependencyDeserialized(ISerializationDependency) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:812)
Ludiq.Bolt.MemberDefinitionUnit`2:OnAfterDependenciesDeserialized() (at Assets/Ludiq/Bolt.Flow/Runtime/Units/Architecture/MemberDefinitionUnit.cs:193)
Ludiq.Serialization:CheckIfDependenciesMet(ISerializationDepender) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:874)
Ludiq.Serialization:NotifyDependencyAvailable(ISerializationDependency) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:848)
Ludiq.Bolt.TypeDefinition:OnEnable() (at Assets/Ludiq/Bolt.Core/Runtime/Architecture/TypeDefinition.cs:160)

Could not load connection between 'trigger' of 'Start#9b49b...' and 'enter' of 'FlowFunctionUnit#3f6d5...'.
UnityEngine.Debug:LogWarning(Object)
Ludiq.Bolt.UnitConnection`2:HandleDependencies() (at Assets/Ludiq/Bolt.Flow/Runtime/Connections/UnitConnection.cs:190)
Ludiq.Bolt.GraphElementMergedCollection:Add(IEnumerable`1) (at Assets/Ludiq/Bolt.Core/Runtime/Graphs/GraphElementMergedCollection.cs:26)
Ludiq.Bolt.Graph:OnAfterDependenciesDeserialized() (at Assets/Ludiq/Bolt.Core/Runtime/Graphs/Graph.cs:147)
Ludiq.Serialization:CheckIfDependenciesMet(ISerializationDepender) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:874)
Ludiq.Serialization:NotifyDependencyAvailable(ISerializationDependency) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:848)
Ludiq.Serialization:NotifyDependencyDeserialized(ISerializationDependency) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:812)
Ludiq.Bolt.MemberDefinitionUnit`2:OnAfterDependenciesDeserialized() (at Assets/Ludiq/Bolt.Flow/Runtime/Units/Architecture/MemberDefinitionUnit.cs:193)
Ludiq.Serialization:CheckIfDependenciesMet(ISerializationDepender) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:874)
Ludiq.Serialization:NotifyDependencyAvailable(ISerializationDependency) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:848)
Ludiq.Bolt.TypeDefinition:OnEnable() (at Assets/Ludiq/Bolt.Core/Runtime/Architecture/TypeDefinition.cs:160)