#5 Persistence patch causes crash when loading a save still using channels instead of wires

Closed
opened 4 years ago by NorbiPeti · 0 comments

“Maze of Mediocrity 2” is a featured game that has this issue.

[05/22/2020 00:02:24][GamecraftModdingAPI.Persistence.SerializerManager.RegisterSerializers][MetaDebug]Registering IEntitySerializer for GamecraftModdingAPI.Utility.ModVersionDescriptor
conversion required ( save version: 10/23/2019 00:00:00 current version 05/14/2020 00:00:00 )
[05/22/2020 00:02:24][GamecraftModdingAPI.Persistence.SerializerManager.RegisterSerializers][MetaDebug]Registering IEntitySerializer for GamecraftModdingAPI.Utility.ModVersionDescriptor
[05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]Running Postfix on SerializeGameToBuffer: serializing custom components...
[05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos: 89271
[05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (after frame start): 89296
[05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (loop start): 89300
[05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (now): 89304
[05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (now): 89352
[05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (now): 89352
[05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (appears to be): 89356
EntityNotFoundException: entity of type 'Svelto.ECS.SerializableEntityComponent' with ID '0', group '20040' not found!
  at Svelto.ECS.EntitiesDB.QueryEntity[T] (Svelto.ECS.EGID entityGID) [0x00025] in <33902fb9e1104a5ca7021ac14df7a558>:0 
  at Svelto.ECS.EnginesRoot+EntitySerialization.SerializeEntity (Svelto.ECS.EGID egid, Svelto.ECS.ISerializationData serializationData, System.Int32 serializationType) [0x00000] in <33902fb9e1104a5ca7021ac14df7a558>:0 
  at GamecraftModdingAPI.Persistence.SimpleEntitySerializer`1[Descriptor].Serialize (Svelto.ECS.ISerializationData& serializationData, Svelto.ECS.EntitiesDB entitiesDB, Svelto.ECS.Serialization.IEntitySerialization entitySerializer) [0x00057] in <ee84eb7a38b049d6b3f390775180b895>:0 
  at GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix (Svelto.ECS.ISerializationData& serializationData, Svelto.ECS.EntitiesDB entitiesDB, Svelto.ECS.Serialization.IEntitySerialization entitySerializer) [0x00204] in <ee84eb7a38b049d6b3f390775180b895>:0 
  at (wrapper dynamic-method) RobocraftX.SaveAndLoad.SaveGameEngine.DMD<DMD<SerializeGameToBuffer_Patch1>?-752390784::SerializeGameToBuffer_Patch1>(Svelto.ECS.ISerializationData,Svelto.ECS.EntitiesDB,Svelto.DataStructures.FasterList`1<Svelto.ECS.EGID>,uint&,int&,Svelto.ECS.Serialization.IEntitySerialization,bool,bool)
  at RobocraftX.CR.ClusterToWireConversion.ConvertClustersToWiresEngine+<ProcessClustersAndBuildWires>d__9.MoveNext () [0x00277] in <7f8a5dd0d43f48c483195cbdff8b4c2d>:0 
  at Svelto.Tasks.ExtraLean.ExtraLeanSveltoTask`1[TTask].MoveNext () [0x0000d] in <d2fa937597ca424bb885418bb0d51d93>:0 
  at Svelto.Tasks.Internal.SveltoTaskRunner`1+Process`1[T,TFlowModifier].MoveNext[PlatformProfiler] (System.Boolean immediate, PlatformProfiler& platformProfiler) [0x000ee] in <d2fa937597ca424bb885418bb0d51d93>:0 
  at Svelto.Tasks.Internal.SveltoTaskRunner`1+Process`1[T,TFlowModifier].Svelto.Tasks.Internal.IProcessSveltoTasks.MoveNext[PlatformProfiler] (System.Boolean immediate, PlatformProfiler& platformProfiler) [0x00000] in <d2fa937597ca424bb885418bb0d51d93>:0 
  at Svelto.Tasks.Unity.Internal.RunnerBehaviourUpdate.ExecuteRoutines (Svelto.DataStructures.ThreadSafeFasterList`1[T] list, Svelto.Common.PlatformProfiler profiler) [0x00022] in <d2fa937597ca424bb885418bb0d51d93>:0 
  at Svelto.Tasks.Unity.Internal.RunnerBehaviourUpdate.Update () [0x00034] in <d2fa937597ca424bb885418bb0d51d93>:0 
"Maze of Mediocrity 2" is a featured game that has this issue. ``` [05/22/2020 00:02:24][GamecraftModdingAPI.Persistence.SerializerManager.RegisterSerializers][MetaDebug]Registering IEntitySerializer for GamecraftModdingAPI.Utility.ModVersionDescriptor conversion required ( save version: 10/23/2019 00:00:00 current version 05/14/2020 00:00:00 ) [05/22/2020 00:02:24][GamecraftModdingAPI.Persistence.SerializerManager.RegisterSerializers][MetaDebug]Registering IEntitySerializer for GamecraftModdingAPI.Utility.ModVersionDescriptor [05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]Running Postfix on SerializeGameToBuffer: serializing custom components... [05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos: 89271 [05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (after frame start): 89296 [05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (loop start): 89300 [05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (now): 89304 [05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (now): 89352 [05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (now): 89352 [05/22/2020 00:02:25][GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix][MetaDebug]dataPos (appears to be): 89356 EntityNotFoundException: entity of type 'Svelto.ECS.SerializableEntityComponent' with ID '0', group '20040' not found! at Svelto.ECS.EntitiesDB.QueryEntity[T] (Svelto.ECS.EGID entityGID) [0x00025] in <33902fb9e1104a5ca7021ac14df7a558>:0 at Svelto.ECS.EnginesRoot+EntitySerialization.SerializeEntity (Svelto.ECS.EGID egid, Svelto.ECS.ISerializationData serializationData, System.Int32 serializationType) [0x00000] in <33902fb9e1104a5ca7021ac14df7a558>:0 at GamecraftModdingAPI.Persistence.SimpleEntitySerializer`1[Descriptor].Serialize (Svelto.ECS.ISerializationData& serializationData, Svelto.ECS.EntitiesDB entitiesDB, Svelto.ECS.Serialization.IEntitySerialization entitySerializer) [0x00057] in <ee84eb7a38b049d6b3f390775180b895>:0 at GamecraftModdingAPI.Persistence.SaveGameEnginePatch.Postfix (Svelto.ECS.ISerializationData& serializationData, Svelto.ECS.EntitiesDB entitiesDB, Svelto.ECS.Serialization.IEntitySerialization entitySerializer) [0x00204] in <ee84eb7a38b049d6b3f390775180b895>:0 at (wrapper dynamic-method) RobocraftX.SaveAndLoad.SaveGameEngine.DMD<DMD<SerializeGameToBuffer_Patch1>?-752390784::SerializeGameToBuffer_Patch1>(Svelto.ECS.ISerializationData,Svelto.ECS.EntitiesDB,Svelto.DataStructures.FasterList`1<Svelto.ECS.EGID>,uint&,int&,Svelto.ECS.Serialization.IEntitySerialization,bool,bool) at RobocraftX.CR.ClusterToWireConversion.ConvertClustersToWiresEngine+<ProcessClustersAndBuildWires>d__9.MoveNext () [0x00277] in <7f8a5dd0d43f48c483195cbdff8b4c2d>:0 at Svelto.Tasks.ExtraLean.ExtraLeanSveltoTask`1[TTask].MoveNext () [0x0000d] in <d2fa937597ca424bb885418bb0d51d93>:0 at Svelto.Tasks.Internal.SveltoTaskRunner`1+Process`1[T,TFlowModifier].MoveNext[PlatformProfiler] (System.Boolean immediate, PlatformProfiler& platformProfiler) [0x000ee] in <d2fa937597ca424bb885418bb0d51d93>:0 at Svelto.Tasks.Internal.SveltoTaskRunner`1+Process`1[T,TFlowModifier].Svelto.Tasks.Internal.IProcessSveltoTasks.MoveNext[PlatformProfiler] (System.Boolean immediate, PlatformProfiler& platformProfiler) [0x00000] in <d2fa937597ca424bb885418bb0d51d93>:0 at Svelto.Tasks.Unity.Internal.RunnerBehaviourUpdate.ExecuteRoutines (Svelto.DataStructures.ThreadSafeFasterList`1[T] list, Svelto.Common.PlatformProfiler profiler) [0x00022] in <d2fa937597ca424bb885418bb0d51d93>:0 at Svelto.Tasks.Unity.Internal.RunnerBehaviourUpdate.Update () [0x00034] in <d2fa937597ca424bb885418bb0d51d93>:0 ```
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.