RimWorld

RimWorld

TDS Bug Fixes
78 Comments
Plaguelord Apr 29 @ 3:07am 
I'm getting a bug with this mod when trying to load custom xenotypes or saved games that were made with a previous modlist, removing this mod fixes the issue.
(Giga Chad) John-Vick Mar 21 @ 12:08am 
I see, so TDSF is not causing the problem then?
Uuugggg  [author] Mar 20 @ 10:17pm 
FixWindowDragInsteadOfReorderable is notably mentioned in these comments and not a problem, it's a minimal edit : https://github.com/alextd/RimWorld-TDS-Bugfixes/blob/f45e0a0e6b323e6c87fc7d43b208abea3c6d76c2/Source/ReorderableInDraggableWindow.cs#L16
(Giga Chad) John-Vick Mar 20 @ 10:12pm 
I'm getting an error when using a different mod, but the error mentions your mod.

I tried reaching out to the other mod author, but he was essentially no help and just said it's likely an issue with another mod.

I was wondering if you'd be willing to look at the error log and see if it is in fact caused by your mod.

Much appreciated if you can! :D

https://pastebin.com/KUwYpLdg
Aggravated Peasant Dec 1, 2024 @ 9:23am 
Sorry for the absolute spam, but I've tried the same save without your mods and the result was the same, only the error obviously did not contain your mod, just ludeon things and no other mod mentioned in the error now. I think maybe my save has just been corrupted or something somehow. I do play with a bunch of mods, and I'm sure the thing the others are referring to with the same error, is the same. Sorry for the bother
Aggravated Peasant Dec 1, 2024 @ 9:18am 
Genuinely might just be the game freaking out on its own though!
Aggravated Peasant Dec 1, 2024 @ 9:13am 
Not sure why this is suddenly an issue with neither the game nor your mod having been updated in some time. First time I ever encounter this, while your mods have been a stable of any modlist I run.
Aggravated Peasant Dec 1, 2024 @ 9:10am 
Same as @Cayin. It stops me from being able to spawn things via debug mode of all things. I click on spawn thing, and the following error is the same.
_♣Caligula♣_ Sep 29, 2024 @ 3:17am 
How are rimworld error reports to read/make sense of?
Going by any names is not really working, shown by your mod being named in different conditions and so far none of these times your mod was involved, barely naming the error I guess.
In the case of the billtab option Hospitality: vending machine seems to be the problem, currently testing.
Uuugggg  [author] Sep 28, 2024 @ 11:24am 
nope.
_♣Caligula♣_ Sep 28, 2024 @ 3:51am 
Just a question.
Have the transpiler in connection with prison labor I think aswell.
Seemingly causes the billtab option to haul to unable to appear.
Coudl your mod somehow interfere with the gui/tab drawing in some way?
Uuugggg  [author] Sep 27, 2024 @ 11:32pm 
Two people now talking about that Transpiler huh

Sooo yah, that's not an error or exception, it's just one chunk of code this mod runs, and unless the vanilla code changes significantly there's not a thing that could go wrong with it.
Cayin Sep 27, 2024 @ 10:35pm 
Exception:
- TRANSPILER Uuugggg.rimworld.TDS_Bug_Fixes.main: IEnumerable`1 TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable:Transpiler(IEnumerable`1 instructions)
Sasha Fox #SaveTF2 Sep 17, 2024 @ 11:22am 
Getting this error and unable to load save files, I am wondering if its due to the mod mismatch menu trying to open.

TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable:Transpiler
Naturtok Jul 17, 2024 @ 6:25pm 
Another easy way to get around "everybody gets 1" is to match gear allowed with the bill. that is, make until 1 duster with durability above 50%, and then set assignment to only allow wearing dusters w/ durability above 50% so they'll immediately wear the duster, triggering the bill again. Requires a bit of setup, but personally I find it pretty easy to work around.
Flamangos Jul 8, 2024 @ 3:00am 
@Ren If you have 10 colonists, you just make a 'Make until you have 10' instead of a make one each. It's very very slightly annoying.
Ren Jul 6, 2024 @ 7:43am 
@Flamangos yeah but what would you have instead of Everyone Gets One
Flamangos Jul 3, 2024 @ 12:12pm 
With the search function in game now i found i gained a lot of TPS by removing this, TD Find, Ctrl F and Everyone Gets One. Around 150 tps and only really lost the make one for each colonist function.
Uuugggg  [author] Jun 30, 2024 @ 10:06am 
So that other mods can use the "Drag-Reorderable row items" fixes. Didn't get around to doing that myself
Kangae Jun 30, 2024 @ 8:37am 
Random question, why does this exist as a separate mod when it is a dependency for TD Find Lib? Thank you!
Max Jun 25, 2024 @ 3:59am 
Tried a fresh run without the mod, and the Blueprint error is still occurring, just (obviously) without the transpiler. Seems like it was throwing in the method, but unrelated to the transpiler. I'll assume something else is at fault in the other cases, too. My apologies!
Max Jun 25, 2024 @ 3:30am 
Had another error mentioning the same transpiler, this time in relation to the VSE Expertise window.

https://pastebin.com/nhnrcrZ5
Max Jun 25, 2024 @ 3:04am 
The pastebin I linked explicitly points at TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable:Transpiler
Uuugggg  [author] Jun 24, 2024 @ 2:09pm 
My man that is not at all what is happening, that is literally not what the debug log says.

I linked the code for FixWindowDragInsteadOfReorderable
Max Jun 24, 2024 @ 2:05pm 
Something in your FixWindowDragInsteadOfReorderable transpiler seems to be throwing according to the debug log. Could obviously be due to an issue further down the line, or some conflict with another mod.

I also run Vanilla Expanded, so it might be worth to give that a peek?

Alternatively, a try-catch around whatever part of your transpiler is throwing - even if it's not your fault?
Uuugggg  [author] Jun 24, 2024 @ 1:39pm 
Enough people have posted that I'm looking at this.

I see no problem. Downloaded mentioned mods and everything works.

This mod's patch to InnerWindowOnGUI is meaningless to the errors that happen deeper down. It does literally nothing that could cause errors : https://github.com/alextd/RimWorld-TDS-Bugfixes/blob/f45e0a0e6b323e6c87fc7d43b208abea3c6d76c2/Source/ReorderableInDraggableWindow.cs#L15C46-L15C62

I have to imagine some guide got put out recently that said "check the stacktrace for patches from mods". Someone tell me who did that so I can go slap them.
Flamangos Jun 24, 2024 @ 1:22pm 
I have the same error as Max and Blind One
Max Jun 24, 2024 @ 9:56am 
https://pastebin.com/2pzCPKi2

Seems to be a conflict with the Blueprint mod.
The Blind One Jun 24, 2024 @ 5:15am 
Exception filling window for LudeonTK.EditWindow_Log: System.InvalidOperationException: Collection was modified;

Logs: https://gist.github.com/HugsLibRecordKeeper/1dea2b01de977f012bbb194b14e1c4b2
Apporu Jun 16, 2024 @ 4:44pm 
btw this mod is incompatible with Whats For Sale rip
Guineatown20806 May 12, 2024 @ 3:09am 
Getting errors when trying to spawn things with the debug commands "spawn thing" and "spawn thing full stack"
https://pastebin.com/pqMNsh0f
https://pastebin.com/zB2tKcaS
Uuugggg  [author] May 3, 2024 @ 9:54am 
@Niecny And why are you telling me this
Niecny May 3, 2024 @ 5:42am 
Hello cant go past storyteller tab hugslib [gist.github.com]
moosetwin May 2, 2024 @ 9:04am 
This seems to be incompatible with the mod What's For Sale?, see this thread
-=GoW=-Dennis Apr 16, 2024 @ 10:57pm 
With this mod, Vanilla Expanded and Pawn Editor installed I'm not able to open the Debug Action Menu: https://pastebin.com/7iMYitvb
四笑行者 Apr 16, 2024 @ 10:12pm 
though it still stops game from crush caused by better info card :)
四笑行者 Apr 16, 2024 @ 10:04pm 
Subject: NullReferenceException Error Report in RimWorld Dialog_InfoCard

A System.NullReferenceException occurred while attempting to render the Verse.Dialog_InfoCard window in RimWorld. This exception typically indicates an attempt to access or manipulate an object that has not been initialized (is null). The error was traced to the Verse.Def.SpecialDisplayStats method, which is invoked during the processing of special display statistics.

The provided stack trace reveals that multiple mods were involved in the process, including VFECore, MorePersonaTraits, CommonSense, VREAndroidsMod, and TDS_Bug_Fixes. These mods applied postfix, prefix, and transpiler modifications to the base game code.

After conducting a manual investigation, it was determined that the issue is related to the TDS_Bug_Fixes mod. The conflict arises when the mod interacts with the game's rendering of the info card window, leading to the null reference exception.
Stark Apr 15, 2024 @ 1:30pm 
Hi hello!

Error at the bottom (line 857): https://pastebin.com/xJJ2wyWF

Using More Planning , I tried copying and cutting plans to move them around, then this happened.

Is TDS Bug Fixes to "blame", or is this More Planning stepping on toes?
Michiko Apr 13, 2024 @ 3:43am 
@Thels
I have that issue even without Performance Optimizer or Better Wool Production. I'm trying to figure out what mod interaction is causing it since it doesn't seem like it happens to everybody.
Thels Mar 20, 2024 @ 9:40am 
There seems to be an issue between this mod, Performance Optimizer and Better Wool Production. If all three are enabled, the Debug Action window will not open and throw an error. If any of the three mods is removed, there is no problem. See the Discussion thread for details.
Sir_Trollman Mar 3, 2024 @ 12:39pm 
Bro just add it to TD Find Lib
Morale -10 Feb 3, 2024 @ 1:09pm 
whyy
tumii Dec 7, 2023 @ 1:44pm 
Why isn't this just included in TD Find Lib?
Uuugggg  [author] Sep 23, 2023 @ 10:10am 
Them’s the same logs as the previous comment
Dirmagnos Sep 23, 2023 @ 10:05am 
Should i be worried about this:

Exception in Verse.Window.InnerWindowOnGUI: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.Dialog_Options.DoModOptions (Verse.Listing_Standard listing) [0x0008a] in <95de19971c5d40878d8742747904cdcd>:0
- transpiler UnlimitedHugs.HugsLib: IEnumerable`1 HugsLib.Patches.DialogOptions_DoModOptions_Patch:InterceptWindowOpening(IEnumerable`1 instructions)
at RimWorld.Dialog_Options.DoOptions (Verse.OptionCategoryDef category, UnityEngine.Rect inRect) [0x0011c] in <95de19971c5d40878d8742747904cdcd>:0
Dirmagnos Sep 23, 2023 @ 10:04am 
at RimWorld.Dialog_Options.DoWindowContents (UnityEngine.Rect inRect) [0x000d5] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001fd] in <95de19971c5d40878d8742747904cdcd>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
- transpiler Uuugggg.rimworld.TDS_Bug_Fixes.main: IEnumerable`1 TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable:Transpiler(IEnumerable`1 instructions)
Uuugggg  [author] Sep 19, 2023 @ 3:34pm 
I'm not seeing much of those logs indicating this mod is to blame
Solitaire Sep 15, 2023 @ 8:35am 
Got some stuff where your stuff is conflicting with Storage - Shelves. I've left comments on their mod page so crossposting what I posted there

https://gist.github.com/HugsLibRecordKeeper/2509d4564ceea9ee378d8d5020cda64d
https://pastebin.com/Ynp8uNS8
https://cdn.discordapp.com/attachments/1151446985166041109/1151876549088391188/RimWorldWin64_4BaVwZ90MK.jpg

Visual Exceptions stuff follows
https://pastebin.com/y7p8YJvN
https://pastebin.com/HywhzKCv
Bojangles Aug 23, 2023 @ 6:34pm 
nevermind it seems that it might be because my achtung was outdated ;P
Bojangles Aug 23, 2023 @ 3:07pm 
part 1 of 2

I seem to get this error with Achtung and this mod when I try to prioritise something (it appears like the click doesn't go through as it won't close the window or prioritise the job, but it will throw this error)

Exception in Verse.Window.InnerWindowOnGUI: System.NullReferenceException: Object reference not set to an instance of an object
at AchtungMod.ForcedFloatMenuOption+<>c__DisplayClass8_0.<ActionRunner>b__0 () [0x0003a] in <959f52a799e04d89813ef691e4b24d19>:0
at Verse.FloatMenuOption.Chosen (System.Boolean colonistOrdering, Verse.FloatMenu floatMenu) [0x00030] in <95de19971c5d40878d8742747904cdcd>:0