RimWorld

RimWorld

[JPT] Soft Warm Beds
 This topic has been pinned, so it's probably important
jptrrs  [developer] 18 Oct, 2019 @ 7:16pm
Errors, bugs and glitches here, please!
TL;DR
  • If you want me to read it, post your issue on our GitHub page[github.com].
  • I only care about issues you can reproduce. "It happened once" is useless information and will be ignored.
  • Before anything, UNLOAD ALL other mods (except dependencies), and make sure you're getting the issue with just this mod and, if that's the case, that ONE other mod that's causing a conflict.
  • Follow the Express Troubleshooting Method detailed below to find that out efficiently.
  • Simply pasting an error text accomplishes nothing. Always grab the full ctrl+F12 log.
  • Keep the bugged save file around, I might ask for it.

Your help squashing bugs and improving performance is greatly appreciated. If you are experiencing a glitch, unreasonable lag, or if you stumbled on an error you think was caused by this mod, please try this:

1. Check if someone already reported your issue
Since Steam doesn't really offer a good way of tracking errors, I use this feature on GitHub[github.com], which makes it much easier to communicate. Please, help me keep my sanity by referring there for any issues you might have. If it's already there, maybe you can add some more information. Or else, if you believe you found something new, then keep reading to see what I need you to do.

2. Save the flawed game right away.
This way you can always find that bug again when you want to test it out and check if it's solved. Also, I might ask you to send me this file to investigate the issue. Put that in a separate file, and make a copy of your last autosave as well, if you can (sometimes it is necessary to step back to hunt for a bug).

RimWorld's save files are typically found at C:\Users\[USERNAME]\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves. If you're in a permadeth game, you can turn that off by editing the file on a text editor. Look for <permadeathMode> and replace "true" with "false".

3. Make sure you're not missing the obvious.
This might sound dumb, but many people skip the basics and go straight to complaining. So, please, don't be that guy: double check if you're running the latest version for both RimWorld and this mod (check here), double check if this mod is loaded in the correct order (the mods menu will tell you that).

4. Let's isolate the problem.
If you're a regular RimWorld player you're probably using a lot of other mods. While that makes for a great game, it also introduces a ton of possible failure points. Before I can be of any help, I need to know where the problem is coming from, and you are the only one who can figure it out! The way to do that is by testing if the error still happens when other mods are off. Here's what you gotta do:
  1. Reset your mod list to only Harmony, the Core and HugsLib followed by this mod. Then restart.
  2. Turn on the developer tools on options and click on that quickstart button at the top of your screen to generate a new game quickly (pick the smallest map for speed).
  3. Try to reproduce what you were doing when the error happened. Use the god mode if you have to build stuff and the debug actions menu if you need to. If its an error on load, you can save this game and try reloading it to test it out. If it doesn't happen, then it's something else. In that case:
  4. Back on the mod list, try adding any other mod you were using. Ideally, add one by one, restarting and repeating the last step until you cause that error again. But if you have too many mods for that, try this:

Express Troubleshooting Method
  1. If you didn't already, subscribe to Mod Manager or RimPy. Those will allow you to save mod lists and load many mods at a time. RimPy will require you to download and install an external application, but it's worth it, I promise.
  2. Save a list with those basic mods from step 1, maybe with other core dependencies the other mods might need to run.
  3. Load half the other mods. Say you have 100 mods, load #1 through #50. Then test for the issue. If it didn't happen, then reduce back to the basics and load mods 51 - 100. Test again. Now you know which half causes the problem. focus on that.
  4. Say your problem was in the first half: now load 1-25 and test. Then 25-50. Again, focus on the half that manifests the problem and repeat.
  5. Do this until you nail the conflicting mod. It shouldn't take long, as each time you restart you're loading less mods. ;-)

If you can't reproduce it, even with your full mod list reloaded, maybe you already fixed it! In that case, just keep your eyes open. If it happens again, take note of what was happening at the time and try again.

5. Once you are able to reproduce the error, send me your log!
For the most part, I pretty much can't do anything without some basic info on what was going on in your system when the error happened. Luckily, HugsLib has this neat feature that allows you to upload an error log without ever leaving the game! When the error pops up, hit CTRL+F12, click on "upload" and copy that link! (If for whatever reason you can't upload, uncheck "use recommended settings", copy the log to the clipboard and paste it to a sharing site.)

Now you're ready to report an issue[github.com]. Please, include info on what the problem is, what you were doing when it happened and, if another mod is involved, a link to it.

Also, don't hesitate to leave a note if you're having any difficulty with this.

Thanks!
Last edited by jptrrs; 3 Sep, 2021 @ 6:54am
< >
Showing 1-15 of 32 comments
Overquoted 14 Dec, 2019 @ 4:46am 
Took out an outpost, attempted to leave with a few of the beds there. Kept getting an error message 'must choose one non-downed colonist.' Neither of my colonists were downed, though two captured enemies were. Only error in the log was this:

Exception filling window for RimWorld.Dialog_FormCaravan: System.NullReferenceException: Object reference not set to an instance of an object
at SoftWarmBeds.CompMakeableBed.PostSplitOff (Verse.Thing bedding) [0x00000] in <filename unknown>:0
at Verse.ThingWithComps.SplitOff (Int32 count) [0x00000] in <filename unknown>:0
at RimWorld.TransferableUtility.Transfer (System.Collections.Generic.List`1 things, Int32 count, System.Action`2 transferred) [0x00000] in <filename unknown>:0
at RimWorld.Dialog_FormCaravan.AddItemsFromTransferablesToRandomInventories (System.Collections.Generic.List`1 pawns) [0x00000] in <filename unknown>:0
at RimWorld.Dialog_FormCaravan.TryReformCaravan () [0x00000] in <filename unknown>:0
at RimWorld.Dialog_FormCaravan.DoBottomButtons (Rect rect) [0x00000] in <filename unknown>:0
at RimWorld.Dialog_FormCaravan.DoWindowContents (Rect inRect) [0x00000] in <filename unknown>:0
at Verse.Window+<WindowOnGUI>c__AnonStorey0.<>m__0 (Int32 x) [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

So I de-selected the beds and the caravan was able to travel without error. If the above is useless to you, no worries. I usually only try to grab beds to sell early in a colony so it's not a big deal.
NRFBToyStore 16 Apr, 2020 @ 1:01pm 
@Overquoted Thanks for the comment, I was having the SAME problem reforming caravans. Once I left the beds, bam, fixed.
fetovo 10 Jun, 2020 @ 10:16am 
Hi!

I'm having an incompatibility with the mod "Brrr and Phew", the colonist cant find a bed to rest when they are made. First, i reported it there, but this was his response:

Yes looking at the mod, they have created some bed objects that aren't or don't inherit from the vanilla building_bed class, so it wont be recognised by the vanilla standard rest utility processes that the game uses to find beds. This is a problem that Soft Warm Beds has created as an incompatibility from vanilla conventions.

What can be done? Thanks!
jptrrs  [developer] 10 Jun, 2020 @ 4:26pm 
Hi, fetovo. That's not true. SWB uses a custom comp for its functions, with its own objects, but apart from the retextures and changed comfort and rest efectiveness values, which only happen on the XML level, the vanilla building_bed class remains untouched. And it is used on all beds.
But I use Brr and Phew and never noticed anything wrong. What's the issue? Can you send me the error log?
Last edited by jptrrs; 10 Jun, 2020 @ 4:29pm
fetovo 10 Jun, 2020 @ 7:31pm 
Sorry, i did miss saying what was happening: When i get toxic buildup, so that mod comes in action to send colonist to bed and rest, instead, sleeps right in the spot.

Not always happen but, i reproduced it now and i fear I see no error related https://gist.github.com/HugsLibRecordKeeper/f56abcf48393e6dc97effd5eaddb9848

Image of problem: https://imgur.com/a/eT8a6KI
Last edited by fetovo; 10 Jun, 2020 @ 7:33pm
Rous 21 Jul, 2020 @ 1:13pm 
I cant actually seem to get rid of spare mattresses. As per dubs burn pit, they apparently count as apparel, but that's as far as I've gotten. I've double checked the bills allow settings, and none of them work to allow my colonists to burn mattresses. Is there something i'm missing? I'm half convinced this isnt actually a bug, but user error lol. Still wanted to bring it up in case.
jptrrs  [developer] 21 Jul, 2020 @ 2:57pm 
Rous: There's indeed something weird about it, as I have even received complaints of people having their matresses burned without realizing. The issue was they can't ever become tainted, so they don't count as "clean" too. Bills comanding tainted apparel to be burned forever also affected the beddings and people lost some matresses this way...
Rous 23 Jul, 2020 @ 12:02am 
I mean hey in the meantime, we can all just click off beddings in the bill. I guess the silver lining here is that its just material lost, not craftmanship quality levels or anything. I'll definitely have to try that trick to my own benefit next time though, as I ended up sticking them on a caravan and selling them to an outpost. Rimworld Mattress Discounters in the making lol
Theirah 22 Sep, 2020 @ 5:47pm 
I'm getting a "Recovered from incompatible or corrupted mods errors" with just Harmony, Core, Royalty, Hugs Lib, and [JPT] Soft Warm Beds enabled, in that order. I'm just selecting mods and not actually launching any save file. Here's a pastebin to the error log/call stack: https://pastebin.pl/view/ad94751a
Last edited by Theirah; 22 Sep, 2020 @ 5:47pm
ObscureParticle 10 Nov, 2020 @ 1:07pm 
I get a an FPS drop when i select bed/beds is that normal?
Inked. 16 Jan, 2021 @ 11:40am 
I also get a hella fps drop when selecting beds. No errors come up in the log though.
jptrrs  [developer] 3 Feb, 2021 @ 3:25am 
Well, ok. Keep an eye on it.
DigitalHare 11 Feb, 2021 @ 2:58am 
Originally posted by jptrrs:
Well, ok. Keep an eye on it.
After 9 days of debugging, isolating the problem and we are sure of the mod causing errors, I can assure that SWB has no contributing factor to this error. I am deleting my posts to deter the same conclusions to be drawn or it to show up in any searches. Thank you, and again, apologies.
jptrrs  [developer] 11 Feb, 2021 @ 7:39am 
Thank you!
Kaspertje 3 Mar, 2021 @ 8:18am 
I tested with only Hospitality and Soft warm beds:

When i unmake a bed that has been switched to guest bed while made with bedding the game crashes.

When i unmake a bed that has been switched to normal bed while made with bedding the game crashes.

This doesnt happen when the switching of bed type has been done before making the bed.

The game tries to remove an objec thats no longer there...

< >
Showing 1-15 of 32 comments
Per page: 1530 50