代码为:
Data size mismatch when deserializing component null
ComponentSerializerException: Data size mismatch when deserializing component null
at Colossal.Serialization.Entities.ComponentDataSerializer`1+DeserializeComponentDataJob`1[TComponentData,TReader].Execute () [0x00320] in <105a68e297994eaa8e388ba9453ff856>:0
at Unity.Jobs.IJobExtensions+JobStruct`1[T].Execute (T& data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00001] in <a8fc136049044b19982b5abcb6f6b426>:0
at (wrapper delegate-invoke) Unity.Jobs.IJobExtensions+JobStruct`1+ExecuteJobFunction[Colossal.Serialization.Entities.ComponentDataSerializer`1+DeserializeComponentDataJob`1[RealisticDensity.Prefabs.RealisticDensityData,Colossal.Serialization.Entities.BinaryReader]].invoke_void_T&_intptr_intptr_JobRanges&_int(Colossal.Serialization.Entities.ComponentDataSerializer`1/DeserializeComponentDataJob`1<RealisticDensity.Prefabs.RealisticDensityData, Colossal.Serialization.Entities.BinaryReader>&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)