0

Can't cast external reference type Object into expected type GameObject

Elvisish 8 months ago 0

I'm getting this yellow warning on loading a project:

Can't cast external reference type Object into expected type GameObject. Value lost for node ''.
UnityEngine.Debug:LogWarning(Object, Object)
Ludiq.SerializationLogger:LogWarning(String) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/SerializationLogger.cs:19)
Ludiq.OdinSerializer.DebugContext:LogWarning(String) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Misc/SerializationConfig.cs:207)
Ludiq.OdinSerializer.ComplexTypeSerializer`1:ReadValue(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Serializers/ComplexTypeSerializer.cs:193)
Ludiq.OdinSerializer.ListFormatter`1:DeserializeImplementation(List`1&, IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Formatters/ListFormatter.cs:91)
Ludiq.OdinSerializer.BaseFormatter`1:Deserialize(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Formatters/BaseFormatter.cs:222)
Ludiq.OdinSerializer.BaseFormatter`1:Ludiq.OdinSerializer.IFormatter.Deserialize(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Formatters/BaseFormatter.cs:175)
Ludiq.OdinSerializer.ComplexTypeSerializer`1:ReadValue(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Serializers/ComplexTypeSerializer.cs:294)
System.Object:Dynamic_Ludiq.Bolt.BoltClassVariable(BoltClassVariable&, String, EntryType, IDataReader)
Ludiq.OdinSerializer.RuntimeEmittedFormatter`1:ReadDataEntry(BoltClassVariable&, String, EntryType, IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Formatters/FormatterEmitter.cs:110)
Ludiq.OdinSerializer.EasyBaseFormatter`1:DeserializeImplementation(BoltClassVariable&, IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Formatters/EasyBaseFormatter.cs:40)
Ludiq.OdinSerializer.BaseFormatter`1:Deserialize(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Formatters/BaseFormatter.cs:222)
Ludiq.OdinSerializer.BaseFormatter`1:Ludiq.OdinSerializer.IFormatter.Deserialize(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Formatters/BaseFormatter.cs:175)
Ludiq.OdinSerializer.ComplexTypeSerializer`1:ReadValue(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Serializers/ComplexTypeSerializer.cs:294)
Ludiq.OdinSerializer.ListFormatter`1:DeserializeImplementation(List`1&, IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Formatters/ListFormatter.cs:91)
Ludiq.OdinSerializer.BaseFormatter`1:Deserialize(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Formatters/BaseFormatter.cs:222)
Ludiq.OdinSerializer.ComplexTypeSerializer`1:ReadValue(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Serializers/ComplexTypeSerializer.cs:366)
Ludiq.OdinSerializer.Serializer`1:ReadValueWeak(IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Core/Serializers/Serializer.cs:261)
Ludiq.OdinSerializer.UnitySerializationUtility:DeserializeUnityObject(Object, IDataReader) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Unity Integration/UnitySerializationUtility.cs:1726)
Ludiq.OdinSerializer.UnitySerializationUtility:DeserializeUnityObject(Object, SerializationData&, DeserializationContext, Boolean, List`1) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Unity Integration/UnitySerializationUtility.cs:1451)
Ludiq.OdinSerializer.UnitySerializationUtility:DeserializeUnityObject(Object, SerializationData&, DeserializationContext) (at C:/Users/lazlo/Projects/LudiqOdinSerializer/OdinSerializer/Unity Integration/UnitySerializationUtility.cs:1171)
Ludiq.Serialization:OdinDeserializeInto(SerializationData, Object&) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:434)
Ludiq.Serialization:OnAfterDeserializeImplementation(LudiqAsset, FullSerializationData, SerializationData, Boolean&) (at Assets/Ludiq/Ludiq.Core/Runtime/Serialization/Serialization.cs:728)
Ludiq.LudiqAsset:UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() (at Assets/Ludiq/Ludiq.Core/Runtime/Unity/LudiqAsset.cs:26)
Bolt Version:
2.0.0a10
Unity Version:
2019.3.6f1
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Bolt 2