RimWorld

RimWorld

Perspective: Buildings
Gizmo error
Got this error at the bottom of the log after just loading an affected world.
Hope this helps in narrowing down this problem.

System.NullReferenceException: Object reference not set to an instance of an object
at Verse.Gizmo_RoomStats.GizmoOnGUI (UnityEngine.Vector2 topLeft, System.Single maxWidth, Verse.GizmoRenderParms parms) [0x000c3] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func`2[T,TResult] customActivatorFunc, System.Func`2[T,TResult] highlightFunc, System.Func`2[T,TResult] lowlightFunc) [0x00471] in <d243303f714d4dc48680ccaecd2f594e>:0
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:ErrorOnce (string,int)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
RimWorld.UIRoot_Play:UIRootOnGUI ()
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)
< >
Viser 1-2 af 2 kommentarer
Hyomoto 6. sep. 2021 kl. 17:13 
I'm not so sure, I see a few things as well

System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.RoomRoleWorker_Kitchen.GetScore (Verse.Room room) [0x00060] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.Room.<UpdateRoomStatsAndRole>b__94_0 (Verse.RoomRoleDef x) [0x00006] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector, System.Collections.Generic.IComparer`1[T] comparer) [0x0005c] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00007] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.Room.UpdateRoomStatsAndRole () [0x0009c] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.Room.get_Role () [0x00008] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.Gizmo_RoomStats.<GetRoomToShowStatsFor>g__IsValid|8_0 (Verse.Room r) [0x0000b] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.Gizmo_RoomStats.GetRoomToShowStatsFor (Verse.Building building) [0x000b0] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.Building+<GetGizmos>d__17.MoveNext () [0x000d8] in <d243303f714d4dc48680ccaecd2f594e>:0
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000db] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Followed by:

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
(Filename: Line: 580)

I don't know if that's helpful, but that's what's in my log. For me not all gizmos are failing, just some of them. I'm going to ditch the room sizes mod and see, there has been some suggestion this has been the issue in the past.

Edit: nope. Not sure, not sure at all.
Sidst redigeret af Hyomoto; 6. sep. 2021 kl. 17:21
Owlchemist  [udvikler] 6. sep. 2021 kl. 17:21 
This should be fixed now in the latest hotfix.
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50