RimWorld

RimWorld

Caravan Item Selection Enhanced
Red errors
Exception filling window for CaravanItemSelectionEnhanced.Dialog_TabSettings: System.NullReferenceException: Object reference not set to an instance of an object
[Ref F5AD647E]
at Verse.Listing_TreeThingFilter.ListCategoryChildren (Verse.TreeNode_ThingCategory node, System.Int32 openMask, Verse.Map map, UnityEngine.Rect visibleRect) [0x0000a] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.ThingFilterUI.DoThingFilterConfigWindow (UnityEngine.Rect rect, Verse.ThingFilterUI+UIState state, Verse.ThingFilter filter, Verse.ThingFilter parentFilter, System.Int32 openMask, System.Collections.Generic.IEnumerable`1[T] forceHiddenDefs, System.Collections.Generic.IEnumerable`1[T] forceHiddenFilters, System.Boolean forceHideHitPointsConfig, System.Boolean forceHideQualityConfig, System.Boolean showMentalBreakChanceRange, System.Collections.Generic.List`1[T] suppressSmallVolumeTags, Verse.Map map) [0x00325] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX KamiKatze.MaterialFilter: Void MaterialFilter.ThingFilterUI_DoThingFilterConfigWindow_Patch:addHiddenFilters(IEnumerable`1& forceHiddenFilters)
at CaravanItemSelectionEnhanced.Dialog_TabSettings.DoWindowContents (UnityEngine.Rect wrect) [0x0026d] in <8e4a97c7318641299c2e1cfb0556f319>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <24d25868955f4df08b02c73b55f389fe>: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)


LOG: https://gist.github.com/HugsLibRecordKeeper/394b2e489760ea333110c284340469fb
< >
Showing 1-12 of 12 comments
Rovstam 28 Aug @ 8:36pm 
Seems like your mod has some discomforts with Material filter

MaterialFilter.ThingFilterUI_DoThingFilterConfigWindow_Patch:addHiddenFilters(IEnumerable`1& forceHiddenFilters)
at CaravanItemSelectionEnhanced.Dialog_TabSettings.DoWindowContents (UnityEngine.Rect wrect) [0x0026d] in <8e4a97c7318641299c2e1cfb0556f319>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in
Rovstam 28 Aug @ 8:36pm 
It detects a void function and that's why it refuses to display anything in the category tabs.

No i will NOT remove Material filter. It's a mandatory mod.
Rovstam 28 Aug @ 9:08pm 
In summary: Taken from the HugsLib thing

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
Exception filling window for CaravanItemSelectionEnhanced.Dialog_TabSettings: System.NullReferenceException: Object reference not set to an instance of an object
[Ref F5AD647E]
at Verse.Listing_TreeThingFilter.ListCategoryChildren (Verse.TreeNode_ThingCategory node, System.Int32 openMask, Verse.Map map, UnityEngine.Rect visibleRect) [0x0000a] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.ThingFilterUI.DoThingFilterConfigWindow (UnityEngine.Rect rect, Verse.ThingFilterUI+UIState state, Verse.ThingFilter filter, Verse.ThingFilter parentFilter, System.Int32 openMask, System.Collections.Generic.IEnumerable`1[T] forceHiddenDefs, System.Collections.Generic.IEnumerable`1[T] forceHiddenFilters, System.Boolean forceHideHitPointsConfig, System.Boolean forceHideQualityConfig, System.Boolean showMentalBreakChanceRange, System.Collections.Generic.List`1[T] suppressSmallVolumeTags, Verse.Map map) [0x00325] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX KamiKatze.MaterialFilter: Void MaterialFilter.ThingFilterUI_DoThingFilterConfigWindow_Patch:addHiddenFilters(IEnumerable`1& forceHiddenFilters)
at CaravanItemSelectionEnhanced.Dialog_TabSettings.DoWindowContents (UnityEngine.Rect wrect) [0x0026d] in <8e4a97c7318641299c2e1cfb0556f319>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <24d25868955f4df08b02c73b55f389fe>:0
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
Exception filling window for CaravanItemSelectionEnhanced.Dialog_TabSettings: System.NullReferenceException: Object reference not set to an instance of an object
[Ref F5AD647E]
at Verse.Listing_TreeThingFilter.ListCategoryChildren (Verse.TreeNode_ThingCategory node, System.Int32 openMask, Verse.Map map, UnityEngine.Rect visibleRect) [0x0000a] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.ThingFilterUI.DoThingFilterConfigWindow (UnityEngine.Rect rect, Verse.ThingFilterUI+UIState state, Verse.ThingFilter filter, Verse.ThingFilter parentFilter, System.Int32 openMask, System.Collections.Generic.IEnumerable`1[T] forceHiddenDefs, System.Collections.Generic.IEnumerable`1[T] forceHiddenFilters, System.Boolean forceHideHitPointsConfig, System.Boolean forceHideQualityConfig, System.Boolean showMentalBreakChanceRange, System.Collections.Generic.List`1[T] suppressSmallVolumeTags, Verse.Map map) [0x00325] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX KamiKatze.MaterialFilter: Void MaterialFilter.ThingFilterUI_DoThingFilterConfigWindow_Patch:addHiddenFilters(IEnumerable`1& forceHiddenFilters)
at CaravanItemSelectionEnhanced.Dialog_TabSettings.DoWindowContents (UnityEngine.Rect wrect) [0x0026d] in <8e4a97c7318641299c2e1cfb0556f319>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <24d25868955f4df08b02c73b55f389fe>:0
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
Kopp  [developer] 29 Aug @ 7:15am 
@Rovstam
Can not reproduce.
Give me steps to reproduce the issue (minimal modlist, new CISE config files) and I will have a look.
Rovstam 29 Aug @ 10:33am 
I will link the savefile later
Rovstam 29 Aug @ 10:49am 
I have no idea either of what the hell happened but it's not going away.

Material filter is doing something wacky, and that author won't update his mod soon. Idk
Rovstam 29 Aug @ 11:54am 
And don't worry. There is no virus.
Kopp  [developer] 29 Aug @ 12:43pm 
@Rovstam
I can not reproduce it with MaterialFilter + CaravanItemSelection + yourConfigFile.
The save file you sent has about 100 mods loaded.
I will not download 100 mods to test your savefile, sorry.

So if you do not give me a way to reproduce the issue with a MINIMAL MODLIST (means mods related to the issue + dependencies), I can not help you.

Besides I think the issue might be more on the Material Filter side, so even if you provide a proper way to reproduce the errors, I might not be able to fix it.

Edit:
Since MaterialFilter is not updated to 1.6, there is a chance that is causing your issue.
Last edited by Kopp; 29 Aug @ 12:49pm
Rovstam 29 Aug @ 1:12pm 
Yeah
Rovstam 29 Aug @ 1:13pm 
It's 100 qol mods. Weights about 2mb in total. Idk what's the issue.
Rovstam 30 Aug @ 1:46pm 
Exception filling window for CaravanItemSelectionEnhanced.Dialog_TabSettings: System.NullReferenceException: Object reference not set to an instance of an object
[Ref F5AD647E]
at Verse.Listing_TreeThingFilter.ListCategoryChildren (Verse.TreeNode_ThingCategory node, System.Int32 openMask, Verse.Map map, UnityEngine.Rect visibleRect) [0x0000a] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.ThingFilterUI.DoThingFilterConfigWindow (UnityEngine.Rect rect, Verse.ThingFilterUI+UIState state, Verse.ThingFilter filter, Verse.ThingFilter parentFilter, System.Int32 openMask, System.Collections.Generic.IEnumerable`1[T] forceHiddenDefs, System.Collections.Generic.IEnumerable`1[T] forceHiddenFilters, System.Boolean forceHideHitPointsConfig, System.Boolean forceHideQualityConfig, System.Boolean showMentalBreakChanceRange, System.Collections.Generic.List`1[T] suppressSmallVolumeTags, Verse.Map map) [0x00325] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX KamiKatze.MaterialFilter: Void MaterialFilter.ThingFilterUI_DoThingFilterConfigWindow_Patch:addHiddenFilters(IEnumerable`1& forceHiddenFilters)
at CaravanItemSelectionEnhanced.Dialog_TabSettings.DoWindowContents (UnityEngine.Rect wrect) [0x0026d] in <8e4a97c7318641299c2e1cfb0556f319>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <24d25868955f4df08b02c73b55f389fe>: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)
< >
Showing 1-12 of 12 comments
Per page: 1530 50