Hardcore-SK icon indicating copy to clipboard operation
Hardcore-SK copied to clipboard

Ошибки при формировании каравана.

Open SetAriman opened this issue 3 years ago • 0 comments

Exception filling window for RimWorld.Dialog_FormCaravan: System.NullReferenceException: Object reference not set to an instance of an object at AlienRace.HarmonyPatches.ThoughtsFromIngestingPostfix (Verse.Pawn ingester, Verse.Thing foodSource, Verse.ThingDef foodDef, System.Collections.Generic.List1[RimWorld.FoodUtility+ThoughtFromIngesting]& __result) [0x0000d] in <84308fe843a4490088211698abaf02c5>:0 at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.ThoughtsFromIngesting_Patch1(Verse.Pawn,Verse.Thing,Verse.ThingDef) at RimWorld.FoodUtility.WillGiveNegativeThoughts (Verse.Thing food, Verse.Pawn pawn) [0x00009] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0 at RimWorld.Dialog_FormCaravan.GetFoodScore (Verse.Pawn pawn, Verse.Thing food, System.Collections.Generic.List1[T] ticksToArrive) [0x0002d] in :0 at RimWorld.Dialog_FormCaravan.BestFoodItemFor (Verse.Pawn pawn, System.Collections.Generic.IEnumerable1[T] food, System.Collections.Generic.List1[T] ticksToArrive) [0x00041] in :0 at RimWorld.Dialog_FormCaravan.SelectApproximateBestTravelSupplies () [0x00462] in :0 at RimWorld.Dialog_FormCaravan.CountToTransferChanged () [0x00039] in :0 at RimWorld.Dialog_FormCaravan.DoWindowContents (UnityEngine.Rect inRect) [0x002ae] in :0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in :0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Exception filling window for RimWorld.Dialog_FormCaravan: System.NullReferenceException: Object reference not set to an instance of an object at AlienRace.HarmonyPatches.ThoughtsFromIngestingPostfix (Verse.Pawn ingester, Verse.Thing foodSource, Verse.ThingDef foodDef, System.Collections.Generic.List1[RimWorld.FoodUtility+ThoughtFromIngesting]& __result) [0x0000d] in <84308fe843a4490088211698abaf02c5>:0 at (wrapper dynamic-method) RimWorld.FoodUtility.RimWorld.FoodUtility.ThoughtsFromIngesting_Patch1(Verse.Pawn,Verse.Thing,Verse.ThingDef) at RimWorld.FoodUtility.WillGiveNegativeThoughts (Verse.Thing food, Verse.Pawn pawn) [0x00009] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0 at RimWorld.Dialog_FormCaravan.GetFoodScore (Verse.Pawn pawn, Verse.Thing food, System.Collections.Generic.List1[T] ticksToArrive) [0x0002d] in :0 at RimWorld.Dialog_FormCaravan.BestFoodItemFor (Verse.Pawn pawn, System.Collections.Generic.IEnumerable1[T] food, System.Collections.Generic.List1[T] ticksToArrive) [0x00041] in :0 at RimWorld.Dialog_FormCaravan.SelectApproximateBestTravelSupplies () [0x00462] in :0 at RimWorld.Dialog_FormCaravan.CountToTransferChanged () [0x00039] in :0 at RimWorld.Dialog_FormCaravan.DoWindowContents (UnityEngine.Rect inRect) [0x002ae] in :0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in :0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Скопировал две из дебаг лога. Строк много, не вижу: это одна и та же или отличаются.

SetAriman avatar Dec 19 '21 22:12 SetAriman