Ludeon Forums

RimWorld => Support => Topic started by: Xeraster on September 03, 2021, 01:43:53 PM

Title: save gives me "all resources must be loaded in the same thread" errors
Post by: Xeraster on September 03, 2021, 01:43:53 PM
Hello.

Yesterday, I way playing rimworld. I turned off the game and came back about 7 or 8 hours later. I had not changed my mod list at all since then. When I turned it back on, upon loading my save I got spammed with errors saying "tried to get resource blah blah blah. All resources must be loaded in the main thread".

The only mods that had gotten updates during the time I wasn't playing were [KV] Faction Control and Vanilla Expanded Framework. I then went to the github pages of each of those mods, downloaded the previous versions of them and tried it. It still didn't work and upon loading my save, I got spammed with the same errors.

Loading a save from a different playthrough doesn't give me these errors and starting a new game also doesn't give me those errors. I tried loading all the autosaves for my save game and each one spams these errors al well.

Here are my logs: https://gist.github.com/8a8859e61cbd55ea63449dd5cd8730cf

Is there anything I can do to rescue the save? I've tried editing the save to see if I can manually fix it but the resources that can't be found are really basic things that should be in the base game. I've already tried deleting the game's files, deleting all my workshop mods and redownloading everything but that didn't work.

Is there anything I can do to fix it? I'm not even using rimthreaded, why aren't textures being loaded in the main thread? Why are they not loaded in the main thread only when using this save? Can I force loading to only use 1 thread somehow?
Title: Re: save gives me "all resources must be loaded in the same thread" errors
Post by: Canute on September 03, 2021, 03:52:12 PM
Hi,
my first thoughts are that some mod's got removed from that savegame.
Could not load reference to Verse.ThingDef named [u][b]AB_ExoticSmelterPropane[/b][/u]
Could not find class [u][b]Soyuz[/b][/u].WorldPawnsTicker while resolving node li. Trying to use Verse.GameComponent instead. Full node: <li Class="Soyuz.WorldPawnsTicker"><curIndex>11</curIndex></li>
Could not find class [u][b]RocketMan[/b][/u].WorldInfoComponent while resolving node li. Trying to use RimWorld.Planet.WorldComponent instead. Full node: <li Class="RocketMan.WorldInfoComponent"><initialMapWidth>0</initialMapWidth><initialMapHeight>0</initialMapHeight></li>

are signs that this happen. So maybe that
Tried to get a resource "Things/Pawn/Humanlike/Heads/None_Average_Skull_east" from a different thread. All resources must be loaded in the main thread.
is part of that process too.

Another curious thing is
QuoteAttempting to load values from save file and inside xmlnode System.Xml.XmlElement
happen multiple times at Rimworld startup. Why does want a mod access to a savegame at startup.
But i don't know all mod feature and you should know what mod's you added maybe it is a feature you wanted.

Did you try to save the colony and load it ?
But beside that i don't have any idea.
Maybe someon else.