Ludeon Forums

RimWorld => Mods => Mod bugs => Topic started by: Rocket_Raccoon on June 14, 2019, 10:35:13 AM

Title: Rimworld screen turns grey after loading saved game
Post by: Rocket_Raccoon on June 14, 2019, 10:35:13 AM
Hey there, maybe someone here can help me.

Since a few days rimworld throws me walls of red error text after loading.
When loading my previously fine working saved game the screens turns after a few moments of loading activity grey and stays that way until I forefull exit the game.
When trying to create a new world  it stops at world creation and goes right back to seed name etc.
Last time it worked/loaded  fine was on the 10th of june.
Since then, children, school&learning, expanded woodworking for vegetable garden and expanded woodworking, quick stockpile creation, 1.0 version of medical IV, Forsakens,
Alien vs Predator, XND Survival Tools, vanilla furniture expanded, Dead can serve and
RIMMSqol have updated, so i guess it has to be one of these mods that causes these problems.


Thanks alot in advance for help :/

Logfile: https://gist.github.com/97ecfceb343c1235a102afc7042d7595
Title: Re: Rimworld screen turns grey after loading saved game
Post by: Razuhl on June 15, 2019, 11:23:26 AM
Probably due to "soft warm beds". It compiles against the hospitality mod and that got updated. All mods that reference a foreign assembly break until they are recompiled against the new foreign version.

That is due to the faulty implementation of rimworlds assembly resolver in Verse.ModAssemblyHandler.ReloadAll(). If an exact match can not be made(e.g. version of the assembly changed) then rimworld returns its own assembly. Thats why mods don't need to be recompiled if the rimworld version changes. However it's doing that without paying any attention to what is actually requested so it works for no other assembly. And it's impossible for mods to fix that behaviour. The correct approach is to build an assembly name with the requested assembly, nulling the version and then loading the assembly with the now more lenient assembly request.
Title: Re: Rimworld screen turns grey after loading saved game
Post by: Rocket_Raccoon on June 16, 2019, 03:05:18 AM
Thanks alot for the reply! So something I can fix? Sounds like I´d have to wait for the modder to update soft warm beds. Does removing the soft warm beds mod fixes the error?
Interesting what little things can cause trouble.
Title: Re: Rimworld screen turns grey after loading saved game
Post by: Razuhl on June 16, 2019, 05:31:04 AM
You can download the version 1.0.16 from Hospitality and use that until the update or to perform the workshop instructions for deinstallation of soft warm beds.
Title: Re: Rimworld screen turns grey after loading saved game
Post by: Rocket_Raccoon on June 16, 2019, 10:57:51 AM
Tried removing hospitality, errors were still up. Tried removing soft warm beds- problem solved. Noted for  the future. Great help!
So, I either wait for swb to update and can´t play until then or use an older version of hospitality mod.