pardeike / Achtung2

Command your colonists like a boss!
https://www.patreon.com/pardeike
MIT License
29 stars 11 forks source link

Cant rescue colonist, wont let me click #64

Closed jettilius closed 2 years ago

jettilius commented 2 years ago

errorlog/bug: https://gist.github.com/f1e4e865f29e0d526cc79333849798c6 Exception filling window for Verse.FloatMenu: System.InvalidCastException: Specified cast is not valid. at RimWorld.RestUtility+<>cDisplayClass13_1.b0 (Verse.Thing b) [0x00000] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at Verse.GenClosest+<>cDisplayClass2_0.b0 (Verse.Thing t) [0x00034] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at Verse.GenClosest.gProcess|5_0 (Verse.Thing t, Verse.GenClosest+<>cDisplayClass5_0& ) [0x00047] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at Verse.GenClosest.ClosestThing_Global (Verse.IntVec3 center, System.Collections.IEnumerable searchSet, System.Single maxDistance, System.Predicate1[T] validator, System.Func2[T,TResult] priorityGetter) [0x0005d] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at Verse.GenClosest.ClosestThingReachable (Verse.IntVec3 root, Verse.Map map, Verse.ThingRequest thingReq, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate1[T] validator, System.Collections.Generic.IEnumerable1[T] customGlobalSearchSet, System.Int32 searchRegionsMin, System.Int32 searchRegionsMax, System.Boolean forceAllowGlobalSearch, Verse.RegionType traversableRegionTypes, System.Boolean ignoreEntirelyForbiddenRegions) [0x0014c] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at RimWorld.RestUtility.FindBedFor (Verse.Pawn sleeper, Verse.Pawn traveler, System.Boolean checkSocialProperness, System.Boolean ignoreOtherReservations, System.Nullable`1[T] guestStatus) [0x00220] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at RimWorld.FloatMenuMakerMap+<>cDisplayClass10_7.b8 () [0x00043] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at AchtungMod.MultiAction.b8_0 () [0x0002d] in <5f75d744069147ddab38d5f6457534cb>:0 at AchtungMod.MultiActions+<>c.b__16_21 (AchtungMod.MultiAction multiAction) [0x00006] in <5f75d744069147ddab38d5f6457534cb>:0 at AchtungMod.Tools.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <5f75d744069147ddab38d5f6457534cb>:0 at AchtungMod.MultiActions+<>cDisplayClass16_0.b__14 () [0x00000] in <5f75d744069147ddab38d5f6457534cb>:0 at Verse.FloatMenuOption.Chosen (System.Boolean colonistOrdering, Verse.FloatMenu floatMenu) [0x00030] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at Verse.FloatMenuOption.DoGUI (UnityEngine.Rect rect, System.Boolean colonistOrdering, Verse.FloatMenu floatMenu) [0x00535] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at Verse.FloatMenu.DoWindowContents (UnityEngine.Rect rect) [0x000fb] in <2ac9ff1464ea49a284d37555c9c1f6ec>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <2ac9ff1464ea49a284d37555c9c1f6ec>: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)

pardeike commented 2 years ago

That does not look like it’s an error in Achtung.