WhatTheHack icon indicating copy to clipboard operation
WhatTheHack copied to clipboard

WTH in 1.3 breaks plants (including dandelions)

Open RedPine91 opened this issue 3 years ago • 3 comments

Trying to grow plants generates errors, because WTH is trying and failing to give my dandelions "repair" and "power consumption" stats. Note that the plant related errors didn't generate until after I made a grow zone and changed which plant was grown.

Error log below.

https://github.com/RedPine91/RimworldLog001/blob/e70684b64681293269e026e289ab9add200a88b4/DebugLog

On a personal note, I find this error extremely amusing. It took me an embarrassingly long time to figure out that it wasn't a plant mod that broke plants.

RedPine91 avatar Jul 22 '21 08:07 RedPine91

Here's an excerpt from the error log:

Unhandled case: WTH_RepairRate, Plant_Smokeleaf UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch0 (string) RimWorld.StatWorker:ShouldShowFor (RimWorld.StatRequest) RimWorld.StatsReportUtility/<>c__DisplayClass20_0:<StatsToDraw>b__0 (RimWorld.StatDef) System.Linq.Enumerable/WhereListIterator1<RimWorld.StatDef>:MoveNext () RimWorld.StatsReportUtility/<StatsToDraw>d__20:MoveNext () System.Linq.Enumerable/WhereEnumerableIterator1<RimWorld.StatDrawEntry>:MoveNext () System.Collections.Generic.List1<RimWorld.StatDrawEntry>:InsertRange (int,System.Collections.Generic.IEnumerable1<RimWorld.StatDrawEntry>) System.Collections.Generic.List1<RimWorld.StatDrawEntry>:AddRange (System.Collections.Generic.IEnumerable1<RimWorld.StatDrawEntry>) DubsMintMenus.Mint_StatsReporter:DrawStatsReport (UnityEngine.Rect,Verse.Def,Verse.ThingDef) DubsMintMenus.Dialog_FancyDanPlantSetterBob:DoWindowContents (UnityEngine.Rect) (wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

RedPine91 avatar Jul 22 '21 08:07 RedPine91

Hey, I can't access the full log. Please report it with Hugslib log sharing. Press ctrl+f12 after getting the issue. I really need a Hugslib log and not a normal one so I can see your mod load order and patches.

rheirman avatar Jul 22 '21 08:07 rheirman

This is probably a conflict with DubsMintMenus by the way. It might be an issue that is caused all together by dubs mint menus.

rheirman avatar Jul 22 '21 08:07 rheirman