Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Entire Tab breaks from scrolling #68

Open
Vulkandrache opened this issue Apr 25, 2023 · 0 comments
Open

Bug: Entire Tab breaks from scrolling #68

Vulkandrache opened this issue Apr 25, 2023 · 0 comments

Comments

@Vulkandrache
Copy link

depending on how a column is sorted. Either at the very top or somewhere in the middle.

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.Widgets:EnsureMousePositionStackEmpty ()
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()

Exception filling window for Numbers.MainTabWindow_Numbers: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) Verse.PawnGraphicSet.Verse.PawnGraphicSet.ResolveAllGraphics_Patch3(Verse.PawnGraphicSet)
at Verse.Widgets.GetIconFor (Verse.Thing thing, UnityEngine.Vector2 size, System.Nullable1[T] rot, System.Boolean stackOfOne, System.Single& scale, System.Single& angle, UnityEngine.Vector2& iconProportions, UnityEngine.Color& color) [0x0010e] in <95de19971c5d40878d8742747904cdcd>:0 at Verse.Widgets.ThingIcon (UnityEngine.Rect rect, Verse.Thing thing, System.Single alpha, System.Nullable1[T] rot, System.Boolean stackOfOne) [0x0001c] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) RimWorld.PawnColumnWorker_Label.RimWorld.PawnColumnWorker_Label.DoCell_Patch1(RimWorld.PawnColumnWorker_Label,UnityEngine.Rect,Verse.Pawn,RimWorld.PawnTable)
at (wrapper dynamic-method) RimWorld.PawnTable.RimWorld.PawnTable.PawnTableOnGUI_Patch0(RimWorld.PawnTable,UnityEngine.Vector2)
at RimWorld.MainTabWindow_PawnTable.DoWindowContents (UnityEngine.Rect rect) [0x00020] in <95de19971c5d40878d8742747904cdcd>:0
at Numbers.MainTabWindow_Numbers.DoWindowContents (UnityEngine.Rect rect) [0x003be] in <9ff61b29a7ab468ba28486fbf1f24cff>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

These two errors alternate rapidly in the log until it stops from spam.
The whole thing happens on a RealRuins Map with alot of enemies.
The guest tab with only 15 entries works fine.

If the error is active the entire numbers window stops working.
Scrolling moves the screen not the scroll bar and all buttons become unresponsive until i switch the sorting of any column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant