Closed 136068448 closed 3 years ago
caused by: awesome inventory + Achtung + RT
in the player.log from the reported issue i see this bug
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.ChoicesAtFor_Patch2(UnityEngine.Vector3,Verse.Pawn)
at AchtungMod.MultiActions.AddColonist (AchtungMod.Colonist colonist) [0x0001f] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.MultiActions.<.ctor>b__3_0 (AchtungMod.Colonist colonist) [0x00000] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Tools.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.MultiActions..ctor (System.Collections.Generic.IEnumerable`1[T] colonists, UnityEngine.Vector3 clickPos) [0x00018] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Controller.MouseDown (UnityEngine.Vector3 pos) [0x00076] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Controller.HandleEvents () [0x0002f] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Selector_HandleMapClicks_Patch.Prefix () [0x00005] in <831e973d9245449bbdebd2f42c6b55fa>:0
at (wrapper dynamic-method) RimWorld.Selector.RimWorld.Selector.HandleMapClicks_Patch1(RimWorld.Selector)
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000d3] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
... on my customlist that is also using awesome inventory + achtung i was able to reproduce that specific error by selecting multiple panws, right click on a door:
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.ChoicesAtFor_Patch6(UnityEngine.Vector3,Verse.Pawn)
at AchtungMod.MultiActions.AddColonist (AchtungMod.Colonist colonist) [0x0001f] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.MultiActions.<.ctor>b__3_0 (AchtungMod.Colonist colonist) [0x00000] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Tools.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.MultiActions..ctor (System.Collections.Generic.IEnumerable`1[T] colonists, UnityEngine.Vector3 clickPos) [0x00018] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Controller.MouseDown (UnityEngine.Vector3 pos) [0x00076] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Controller.HandleEvents () [0x0002f] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Selector_HandleMapClicks_Patch.Prefix () [0x00005] in <831e973d9245449bbdebd2f42c6b55fa>:0
at (wrapper dynamic-method) RimWorld.Selector.RimWorld.Selector.HandleMapClicks_Patch3(RimWorld.Selector)
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
Verse.Log:Error(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)
vanilla + achtung + rt, no problems
vnailla + achtung + awesome inventory + rt, selecting multiple panws, right click on a door throws:
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.ChoicesAtFor_Patch2(UnityEngine.Vector3,Verse.Pawn)
at AchtungMod.MultiActions.AddColonist (AchtungMod.Colonist colonist) [0x0001f] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.MultiActions.<.ctor>b__3_0 (AchtungMod.Colonist colonist) [0x00000] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Tools.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.MultiActions..ctor (System.Collections.Generic.IEnumerable`1[T] colonists, UnityEngine.Vector3 clickPos) [0x00018] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Controller.MouseDown (UnityEngine.Vector3 pos) [0x00076] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Controller.HandleEvents () [0x0002f] in <831e973d9245449bbdebd2f42c6b55fa>:0
at AchtungMod.Selector_HandleMapClicks_Patch.Prefix () [0x00005] in <831e973d9245449bbdebd2f42c6b55fa>:0
at (wrapper dynamic-method) RimWorld.Selector.RimWorld.Selector.HandleMapClicks_Patch1(RimWorld.Selector)
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000d3] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.Root.OnGUI () [0x0003d] in <d72310b4d8f64d25aee502792b58549f>:0
Verse.Log:Error(String, Boolean)
Verse.Root:OnGUI()
PooperRulz mentions this issue has been solved on 2.3.6
Describe the bug I draft my pawn and order she stand at the spot where have a door, then there have a error occur about UI,i read it and it said the Achtung mod cause it but when i test this bug with Achtung and RT,it not reproduct like i think, then i go back to the save which occur this bug and draft pawn gu to the door, it occur again.i try to disable the mod can change door or add UI all,but still can't solve this question
To Reproduce Steps to reproduce the behavior:
Error Log https://gist.github.com/136068448/c3ab8345bd042b56901715b4adad7e1f
Mod List