cseelhoff / RimThreaded

RimThreaded is a RimWorld mod designed to enable RimWorld to utilize multiple threads.
MIT License
117 stars 21 forks source link

"Awesome Inventory" A bug in the opened door with "awesome inventory & achctung" #415

Closed GitHubDeadTree closed 3 years ago

GitHubDeadTree commented 3 years ago

20210125113902_1

everytimes i let my pawns right-click on an object between a opened door, a red letter will be appeared and there is no response so I had to remove the door to get the object

To Reproduce I send a picture

Error Log 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.IEnumerable1[T] sequence, System.Action1[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 :0 at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in :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:Verse.Log.Error_Patch2(String, Boolean) Verse.Root:Verse.Root.OnGUI_Patch1(Root)

Mod List Version: 1 Name: .. Mods:

Screenshots 20210125113902_1 20210125113902_1

pastorismylord commented 3 years ago

that is an Achtung error, please try performing that action without Achtung on your modlist

GitHubDeadTree commented 3 years ago

that is an Achtung error, please try performing that action without Achtung on your modlist

i found that reason is awesome inventory but i don't know why there can be a bug between them

GitHubDeadTree commented 3 years ago

after i remove awesome inventory,it backed to normal here is the log

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object at AwesomeInventory.ApparelOptionUtility.CanWear (Verse.Pawn pawn, RimWorld.Apparel apparel) [0x00024] in <808a267935e34741873c701036871b19>:0 at AwesomeInventory.Common.HarmonyPatches.AddHumanlikeOrders_AwesomeInventory_Patch.Postfix (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List1[T] opts) [0x002ef] in <808a267935e34741873c701036871b19>:0 at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.AddHumanlikeOrders_Patch9(UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List1) at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn) [0x0008c] in :0 at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x00056] in :0 at RimWorld.Selector.HandleMapClicks () [0x000af] in :0 at RimWorld.Selector.SelectorOnGUI () [0x00000] in :0 at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in :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:Verse.Log.Error_Patch2(String, Boolean) Verse.Root:Verse.Root.OnGUI_Patch1(Root)

pastorismylord commented 3 years ago

@Niilo007 can you please retest with 2.2.8? you were the original tester for this issue, thanks

pastorismylord commented 3 years ago

PooperRulz mentions this issue has been solved on 2.3.6