RimWorld

RimWorld

Reel's Expanded Storage
This topic has been locked
Moving the Medicine Cabinet causes it to disappear.
Since the update, if you try to move it, it simply vanishes.
< >
Showing 1-12 of 12 comments
Cruel Moose 3 Aug, 2024 @ 9:57am 
Wanted to add that the medicine cabinet is breaking SOS2 in its current state. If you try to land a ship with one built on it, it creates an infinite loop in the game :/
Reel  [developer] 4 Aug, 2024 @ 2:44am 
I'm able to replicate it, but I'm not sure what the cause could be. Definitely not good though.
盗版侠 4 Aug, 2024 @ 1:22pm 
This bug will cause the visitor mod to report errors wildly, destroying two of my save files.
Reel  [developer] 4 Aug, 2024 @ 2:15pm 
Visitor mod? You mean Hospitality?
盗版侠 4 Aug, 2024 @ 9:11pm 
Hospitality yes
Scorpio 11 Aug, 2024 @ 6:19am 
have this bug ( without hospitality ) , and they cant be destroyed via dev mode either , had to nuke my save over it
Last edited by Scorpio; 12 Aug, 2024 @ 5:15am
Kyle Rittenhouse 25 Aug, 2024 @ 7:45am 
Can't move the Medicine cabinet. Not using SoS2. Is this being worked on? I can't uninstall/move/delete it. Everything on the ground once it's destroyed also throws errors. If it matters, I'm using the mod that let's them also act as fridges.
Last edited by Kyle Rittenhouse; 25 Aug, 2024 @ 7:45am
Reel  [developer] 25 Aug, 2024 @ 12:10pm 
@Boss
I don't know the cause of the issue with the Medicine cabinet, so I can't fix it until I do.
Amari 11 Sep, 2024 @ 5:22am 
Just encountered this yesterday. The error is caused by 2 things:
  • The medicine cabinet is a CompGlower (the thing emits light around it)
  • An interaction with the continued version of Simple Utilities: Fridge

TLDR: Should probably speak with the modder of the continued fridge mod regarding this, or just make the medicine cabinet not a glower.


A bunch of boring technical stuff below:

The fridge mod has a patch for when a building that uses its mod extension is despawned (such as when a pawn hauls or deconstructs it).
The patch sets a field in the code which treats the building as unpowered.

Seems like Owl (the original modder) used something to access this field which is normally inaccessible.
The modder of the continued version used a different approach and set a C# property which does the same thing.
Unfortunately, setting that property triggered additional code, which didn't happen with Owl's version.

One of the additional code triggered is updating the glow grid of the current map if the building is a CompGlower, i.e. the medicine cabinet.

But since it is temporarily despawned, it does not belong to any map.
So a null reference exception happens down the line, aaaaaand your cabinet is now gone forever along with anything inside it :)
Should be fixed as of the latest update.
Reel  [developer] 14 Sep, 2024 @ 2:11pm 
Thanks a lot, alt4s.
Byzz 22 Nov, 2024 @ 6:19am 
for some reason the medicine cabinet is still buggy, sometimes I cant put more than 1-4 items into it
Last edited by Byzz; 22 Nov, 2024 @ 6:19am
< >
Showing 1-12 of 12 comments
Per page: 1530 50