"Error while loading map"

Started by Celeribouilli, April 21, 2020, 04:59:38 PM

Previous topic - Next topic

Celeribouilli

Every time I start a new game it works fine and I can load it for a few times until it stops working. It says "Error while loading map" and here are the details:
I have been desinstalling the game before to solve the issue but it didn't work.

Thank for the help :D

Exception while init loading file: C:/Users/Florent Venet/AppData/LocalLow/Ludeon Studios/RimWorld by Ludeon Studios\Saves\Rein (Permadeath).rws
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 180893, position 14.
  at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String[] args) [0x00029] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlTextReaderImpl.Throw (System.Int32 pos, System.String res, System.String[] args) [0x0000c] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlTextReaderImpl.ThrowInvalidChar (System.Char[] data, System.Int32 length, System.Int32 invCharPos) [0x0000f] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlTextReaderImpl.ParseText (System.Int32& startPos, System.Int32& endPos, System.Int32& outOrChars) [0x0033c] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlTextReaderImpl.ParseText () [0x0003e] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlTextReaderImpl.ParseElementContent () [0x00192] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlTextReaderImpl.Read () [0x00085] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlLoader.LoadNode (System.Boolean skipOverWhitespace) [0x0025b] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlLoader.LoadDocSequence (System.Xml.XmlDocument parentDoc) [0x0001b] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlLoader.Load (System.Xml.XmlDocument doc, System.Xml.XmlReader reader, System.Boolean preserveWhitespace) [0x000b4] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader reader) [0x0002e] in <1d98d70bb7d8453b80c25aa561fdecd1>:0
  at Verse.ScribeLoader.InitLoading (System.String filePath) [0x0006f] in <36108d57f84d49cabdae818c2a53fc38>:0
Verse.Log:Error(String, Boolean)
Verse.ScribeLoader:InitLoading(String)
Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow(String)
Verse.<>c:<Start>b__1_1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)

Canute

Hi,
Quotehexadecimal value 0x00, is an invalid character. Line 180893, position 14.
mosttimes this happen when your safegame got corrupt in a way.
Did you turn the power off your mashine right after/during a safeprocess or did you got a powerfailure ?
That can lead that the file isn't complete writen to your volume and become corrupt.

Even permadeath games got a backup. Go into the folder with the safegames and look for it. You need to rename the ending into .rws


Celeribouilli

Renaming the file works!
Maybe I turn off my computer too quickly after having saved and left the game. I'll try to be slower and see if the problem reoccurs.
Thanks :))

Canute

You shouldn't turn off your mashine manualy. So far i know any OS got a shutdown option.
That is the safe way to turn it off.