RimWorld

RimWorld

Blueprints
rykaju Mar 29, 2023 @ 3:40am
Mod not working / Throwing errors
Encountered a strange error, here's the error in the debug log

Exception filling window for Verse.ImmediateWindow: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GenText.TruncateHeight (System.String str, System.Single width, System.Single height, System.Collections.Generic.Dictionary`2[TKey,TValue] cache) [0x00029] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at RimWorld.ArchitectCategoryTab+<>c__DisplayClass22_0.<DoInfoBox>b__0 () [0x000df] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <3cca3e6203e64b109fd8ce21f7120d03>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

First i thought my mods were causing it, but i tried deleting all mod files, game files, mod/game setting and with only harmony, hugslib and blueprints active and still got the error. Any idea what causes it?
Showing 1-15 of 15 comments
Bardez Mar 29, 2023 @ 8:11am 
Seconding this. Just noticed it starting today. I rolled back my mod list and save file several months back to where I know it was working, and I still get the error.

Exception filling window for Verse.ImmediateWindow: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GenText.TruncateHeight (System.String str, System.Single width, System.Single height, System.Collections.Generic.Dictionary`2[TKey,TValue] cache) [0x00029] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at RimWorld.ArchitectCategoryTab+<>c__DisplayClass22_0.<DoInfoBox>b__0 () [0x000df] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
(Filename: Line: 580)
Bardez Mar 29, 2023 @ 8:12am 
Looks like the Core game patched earlier today, maybe yesterday. I wonder if that broke a Harmony patch.
Bardez Mar 29, 2023 @ 8:33am 
Note: Some blueprints do not throw an error. MOST do. Ones that do not are very simple, such as flooring. Another with RimAtomics coolers + flooring is fine. more complex blueprints blow up, though.

For example: Roof bombs in a 3x3 grid of JUST those is fine. Flooring BPs are fine. A BP of 4 nuclear reactors from RimAtomics is fine.

A simple bedroom throws the exception. A group of Digital Storage Units throws. Anything moderately complex at all throws.
Last edited by Bardez; Mar 29, 2023 @ 8:48am
Bardez Mar 29, 2023 @ 12:21pm 
One thing to note: I can still PLACE my existing blueprints. When mousing over them I get the exception, with a gray window. When I mouse away from the blueprint, the error log pops up.

I CAN click on the blueprint and place them as long as the placement position is outside of that grayed out (erroring?) window.
rykaju Mar 30, 2023 @ 3:39pm 
It seems like the error shows up only when the blueprint tooltip (materials list) grows big enough to have a scroll bar. I can do without but its a nice QOL mod to have.
+1 on this. Need a fix.
Falkner Apr 4, 2023 @ 7:20am 
I cant export blueprints currently,
i'm looking to see if this is because of other mods i have installed, but this function was working about a week ago.
DadRadSkittle Apr 22, 2023 @ 8:56am 
+1 same issue, log so big can't paste bin it
Major Jul 26, 2023 @ 9:06pm 
+1 on this. At least for me, it seemed to be caused by having Dubs Bad Hygiene items in the blueprint.

Seems like it doesn't play nice with certain modded items.
DemonKing1593 Jan 21, 2024 @ 2:11am 
ive narrowed it down to a room with a door and an object in the room that is connected to a cable like a light

also im only using harmony all the vanilla dlc and this mod
Last edited by DemonKing1593; Jan 21, 2024 @ 2:12am
Fluffy  [developer] Mar 15, 2024 @ 12:25pm 
Hi folks, please let me know if this still works for the 1.5 version I just put out. Odds are it was as simple as recompiling the mod for the new (old) 1.4 update, and doing so for 1.5 will have fixed it.

Note that I have not fixed it for the 1.4 version, haven't had time to do so yet.
ANM8 Mar 15, 2024 @ 2:56pm 
As of 1.5 I'm receiving this debug error whenever I create and attempt to export blueprints. Sometimes blueprints skip name creation, other times I'm able to create a new blueprint with name but when I hover over it I get the debug error. As of now I'm unable to create new exports.
正義の味噌 Aug 6, 2024 @ 8:05pm 
Originally posted by Fluffy:
Hi folks, please let me know if this still works for the 1.5 version I just put out. Odds are it was as simple as recompiling the mod for the new (old) 1.4 update, and doing so for 1.5 will have fixed it.

Note that I have not fixed it for the 1.4 version, haven't had time to do so yet.

I spend an hour trying to figure it out. Firstly I was playing 1.4, right-click errors, I tried not to import blueprints, but it still errors if I create the layout from scratch. Then I removed all other mods, doesn't work. Then I rebooted, and switched to 1.5, doesn't work. After you add certain things in your layout, this error comes up and brings you the Exception report. :zagpls: so sweet ```Exception filling window for Verse.ImmediateWindow: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GenText.TruncateHeight (System.String str, System.Single width, System.Single height, System.Collections.Generic.Dictionary`2[TKey,TValue] cache) [0x00029] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at RimWorld.ArchitectCategoryTab+<>c__DisplayClass22_0.<DoInfoBox>b__0 () [0x000df] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
```
正義の味噌 Aug 6, 2024 @ 8:06pm 
It is somehow deployable, but you can't change its name or export it out anymore, cuz the right-click menu doesn't show up:bbtcat:
im getting errors just by hovering over the blueprint tool
and more so when i try using it
and then obviously errors when trying to do anything with it

to be fair tho i've been just getting alot of errors in general so the idea that Harmony might be having some issues might be true
Showing 1-15 of 15 comments
Per page: 1530 50