Mephi00 / v-rising-wine-docker-image

MIT License
53 stars 31 forks source link

Using existing save from windows machine crashes when loading #11

Closed olee closed 2 years ago

olee commented 2 years ago

I tried using my existing save file from my local windows machine, but upon starting, it crashes with this error:

PersistenceV2 - Load Persistence Failed: System.Exception: Invalid Header - Serialized required component 'ProjectM.Network.OnlySyncToUserBitMask' could not be found in the current assembly.
     at ProjectM.LoadPersistenceSystemV2.DeserializeHeader (ProjectM.PersistenceHeaderMetadata headerMetadata, Stunlock.Network.NetBufferIn headerBuffer, System.Collections.Generic.Dictionary`2[System.Int32,System.Int32]& oldTypeIndexToNewTypeIndex) [0x00000] in <00000000000000000000000000000000>:0
     at ProjectM.LoadPersistenceSystemV2.OnUpdate () [0x00000] in <00000000000000000000000000000000>:0
     at Unity.Entities.SystemBase.Update () [0x00000] in <00000000000000000000000000000000>:0
     at Unity.Entities.ComponentSystemGroup.UpdateAllSystems () [0x00000] in <00000000000000000000000000000000>:0
     at ProjectM.ServerInitializationSystemGroup.OnUpdate () [0x00000] in <00000000000000000000000000000000>:0
     at Unity.Entities.ComponentSystem.Update () [0x00000] in <00000000000000000000000000000000>:0
     at Unity.Entities.ComponentSystemGroup.UpdateAllSystems () [0x00000] in <00000000000000000000000000000000>:0
     at Unity.Entities.ComponentSystem.Update () [0x00000] in <00000000000000000000000000000000>:0
     at Unity.Entities.ComponentSystemGroup.UpdateAllSystems () [0x00000] in <00000000000000000000000000000000>:0
     at Unity.Entities.ComponentSystem.Update () [0x00000] in <00000000000000000000000000000000>:0
     at UnityEngine.RemoteSettings+UpdatedEventHandler.Invoke () [0x00000] in <00000000000000000000000000000000>:0    

Did anyone else try using an existing save from a windows machine?

Mephi00 commented 2 years ago

Are you sure you are using the correct folder structure? The Saves folder needs to be under the mountpoint /saves so for the container it looks like /saves/Saves.

olee commented 2 years ago

Yeah it is using the correct folder structure, because I was able to create a new world easily, but once I changed the save name to the imported one, the above error ocurred. In hindsight, I noticed that steamcmd was not able to update the game server to the latest version for me because of an outdated docker version and this was probably the reason I guess (that my server had an older version than my client savegame).