Game crashes on saving after abandoning colony

Started by ROD, January 06, 2017, 06:55:56 PM

Previous topic - Next topic

ROD

I had to change options to create a new colony in order to merge two different caravans. After that, I abandoned the settlement. A few moments later the auto-save crashed. I changed the option back to one colony. When I tried to save myself it also crashed. I got an event (man hunter pack) and the wargs were just a black square. Then the game closed itself.

[attachment deleted by admin due to age]

ison

#1
It's a known issue (out of memory crash during saving), thanks for reporting.
(btw. when you select multiple caravans a "merge" command appears if they are on the same tile, so you don't have to settle)


An exception was thrown during saving to "C:\Users\rmagalhaes\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves\Autosave-1.rws.new": System.OutOfMemoryException: Out of memory
  at (wrapper managed-to-native) object:__icall_wrapper_mono_string_alloc (intptr)
  at (wrapper managed-to-native) string:InternalAllocateStr (int)
  at System.Text.ASCIIEncoding.GetString (System.Byte[] bytes, Int32 byteIndex, Int32 byteCount) [0x00000] in <filename unknown>:0
  at System.Text.Encoding.GetString (System.Byte[] bytes) [0x00000] in <filename unknown>:0
  at System.Convert.ToBase64String (System.Byte[] inArray, Int32 offset, Int32 length) [0x00000] in <filename unknown>:0
  at System.Convert.ToBase64String (System.Byte[] inArray) [0x00000] in <filename unknown>:0
  at Verse.GridSaveUtility.CompressedStringForShortGrid (System.Func`2 shortGetter, Verse.Map map) [0x00000] in <filename unknown>:0
  at Verse.TerrainGrid.ExposeTerrainGrid (Verse.TerrainDef[] grid, System.String label) [0x00000] in <filename unknown>:0
  at Verse.TerrainGrid.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[TerrainGrid] (Verse.TerrainGrid& target, Boolean saveDestroyedThings, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[TerrainGrid] (Verse.TerrainGrid& target, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Map.ExposeComponents () [0x00000] in <filename unknown>:0
  at Verse.Map.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[Map] (Verse.Map& target, Boolean saveDestroyedThings, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Collections.LookList[Map] (System.Collections.Generic.List`1& list, Boolean saveDestroyedThings, System.String label, LookMode lookMode, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Collections.LookList[Map] (System.Collections.Generic.List`1& list, System.String label, LookMode lookMode, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Game.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[Game] (Verse.Game& target, Boolean saveDestroyedThings, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[Game] (Verse.Game& target, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.GameDataSaveLoader.<SaveGame>m__A1B () [0x00000] in <filename unknown>:0
  at Verse.SafeSaver.DoSave (System.String fullPath, System.String documentElementName, System.Action saveAction) [0x00000] in <filename unknown>:0