fluffy-mods / ColonyManager

Colony manager for RimWorld
Other
72 stars 38 forks source link

V1.0 UI method not found #119

Closed knirfja closed 6 years ago

knirfja commented 6 years ago

Hi Fluffy, thanks for the great mods. Not sure if this is the right place to report bugs but here is my debug log when trying to use the livestock tab in version 1.0.1970

Exception filling window for FluffyManager.MainTabWindow_Manager: System.MissingMethodException: Method not found: 'Verse.GenderUtility.GetLabel'. at FluffyManager.ManagerTab_Livestock.DrawAnimalSection (UnityEngine.Vector2& pos, Single width, System.String type, Verse.PawnKindDef pawnKind, System.Collections.Generic.List1 animals) [0x00000] in <filename unknown>:0 at FluffyManager.ManagerTab_Livestock.DrawTamedAnimalSection (Vector2 pos, Single width) [0x00000] in <filename unknown>:0 at FluffyManager.Widgets_Section.Section (UnityEngine.Vector2& position, Single width, System.Func3 drawerFunc, System.String header, Int32 id) [0x00000] in :0 at FluffyManager.ManagerTab_Livestock.DoContent (Rect rect) [0x00000] in :0 at FluffyManager.ManagerTab_Livestock.DoWindowContents (Rect canvas) [0x00000] in :0 at FluffyManager.MainTabWindow_Manager.DoWindowContents (Rect canvas) [0x00000] in :0 at Verse.Window+cAnonStorey0.<>m0 (Int32 x) [0x00223] in C:\Dev\RimWorld\Assets\Scripts\Verse\UI\Windows\Window.cs:202 Verse.Log:Error(String, Boolean) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Utility\Debug\Log\Log.cs:78) Verse.cAnonStorey0:<>m0(Int32) (at C:\Dev\RimWorld\Assets\Scripts\Verse\UI\Windows\Window.cs:206) UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:1817)

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing. Verse.Log:Error(String, Boolean) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Utility\Debug\Log\Log.cs:78) Verse.Widgets:EnsureMousePositionStackEmpty() (at C:\Dev\RimWorld\Assets\Scripts\Verse\UI\Utility\Widgets.cs:2176) Verse.Root:Update() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\Root\Root.cs:114) Verse.Root_Play:Update() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\Root\Root_Play.cs:83)

FluffierThanThou commented 6 years ago

should be fixed with the latest 0.19