RimWorld

RimWorld

Rimworld Westernization Project (Continued)
moo 26 Jun @ 3:30pm
1.6 possible bug
I had this log note spam when opening the more info button for one of the artillery guns - twelve-pounder napoleon cannon. Causes a blank description screen.

Same dumb modlist as always =)

Exception filling window for Verse.Dialog_InfoCard: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 3205FEBB]
at Verse.ThingDef+<SpecialDisplayStats>d__404.MoveNext () [0x01e77] in <052ffdda8ff74a858542a735289dd477>:0
at VEF.Apparels.VanillaExpandedFramework_ThingDef_SpecialDisplayStats_Patch+<Postfix>d__0.MoveNext () [0x00094] in <71780f0e4038487682eedd13817f7545>:0
at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) [0x00059] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000f4] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at RimWorld.StatsReportUtility.DrawStatsReport (UnityEngine.Rect rect, Verse.Thing thing) [0x00066] in <052ffdda8ff74a858542a735289dd477>:0
- PREFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_StatsReportUtility_DrawStatsReport_Patch:Prefix(Rect rect, Thing thing, List`1& __state)
- POSTFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_StatsReportUtility_DrawStatsReport_Patch:Postfix(List`1 __state)
at Verse.Dialog_InfoCard.FillCard (UnityEngine.Rect cardRect) [0x00064] in <052ffdda8ff74a858542a735289dd477>:0
- PREFIX OskarPotocki.VEF: Boolean VEF.AnimalBehaviours.VanillaExpandedFramework_Dialog_InfoCard_FillCard_Patch:Prefix(Rect cardRect, Dialog_InfoCard __instance, Thing ___thing, InfoCardTab ___tab)
at Verse.Dialog_InfoCard.DoWindowContents (UnityEngine.Rect inRect) [0x0029f] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <052ffdda8ff74a858542a735289dd477>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-2 of 2 comments
moo 26 Jun @ 3:32pm 
Secondary log line:

Exception filling window for Verse.Dialog_InfoCard: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
[Ref 527FF87]
[0x0000c] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <51fded79cd284d4d911c5949aff4cb21>:0
at RimWorld.StatsReportUtility.DrawStatsWorker (UnityEngine.Rect rect, Verse.Thing optionalThing, RimWorld.Planet.WorldObject optionalWorldObject) [0x0019f] in <052ffdda8ff74a858542a735289dd477>:0
at RimWorld.StatsReportUtility.DrawStatsReport (UnityEngine.Rect rect, Verse.Thing thing) [0x000a1] in <052ffdda8ff74a858542a735289dd477>:0
- PREFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_StatsReportUtility_DrawStatsReport_Patch:Prefix(Rect rect, Thing thing, List`1& __state)
- POSTFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_StatsReportUtility_DrawStatsReport_Patch:Postfix(List`1 __state)
at Verse.Dialog_InfoCard.FillCard (UnityEngine.Rect cardRect) [0x00064] in <052ffdda8ff74a858542a735289dd477>:0
- PREFIX OskarPotocki.VEF: Boolean VEF.AnimalBehaviours.VanillaExpandedFramework_Dialog_InfoCard_FillCard_Patch:Prefix(Rect cardRect, Dialog_InfoCard __instance, Thing ___thing, InfoCardTab ___tab)
at Verse.Dialog_InfoCard.DoWindowContents (UnityEngine.Rect inRect) [0x0029f] in <052ffdda8ff74a858542a735289dd477>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <052ffdda8ff74a858542a735289dd477>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
moo 26 Jun @ 3:32pm 
Finally:

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Widgets:EnsureMousePositionStackEmpty ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()
< >
Showing 1-2 of 2 comments
Per page: 1530 50