RimWorld

RimWorld

Vanilla Factions Expanded - Ancients
Cannot rescue my pawn (SOLVED)
Here is the error log after right clicking to rescue my pawn.

```
Error trying to make float menu for Cernatescu: System.InvalidCastException: Specified cast is not valid.
[Ref EF29011A]
at RimWorld.RestUtility+<>c__DisplayClass14_1.<FindBedFor>b__0 (Verse.Thing b) [0x00000] in <9b17790b066e46d08be4026d65926375>:0
at Verse.GenClosest+<>c__DisplayClass3_0.<ClosestThingReachable_NewTemp>b__0 (Verse.Thing t) [0x00034] in <9b17790b066e46d08be4026d65926375>:0
at Verse.GenClosest.<ClosestThing_Global_NewTemp>g__ValidateThing|9_1 (Verse.Thing t, System.Single distSquared, Verse.GenClosest+<>c__DisplayClass9_0& ) [0x00008] in <9b17790b066e46d08be4026d65926375>:0
at Verse.GenClosest.<ClosestThing_Global_NewTemp>g__Process|9_0 (Verse.Thing t, Verse.GenClosest+<>c__DisplayClass9_0& ) [0x00047] in <9b17790b066e46d08be4026d65926375>:0
at Verse.GenClosest.ClosestThing_Global_NewTemp (Verse.IntVec3 center, System.Collections.IEnumerable searchSet, System.Single maxDistance, System.Predicate`1[T] validator, System.Func`2[T,TResult] priorityGetter, System.Boolean lookInHaulSources) [0x00066] in <9b17790b066e46d08be4026d65926375>:0
at Verse.GenClosest.ClosestThing_Global (Verse.IntVec3 center, System.Collections.IEnumerable searchSet, System.Single maxDistance, System.Predicate`1[T] validator, System.Func`2[T,TResult] priorityGetter) [0x00000] in <9b17790b066e46d08be4026d65926375>:0
at Verse.GenClosest.ClosestThingReachable_NewTemp (Verse.IntVec3 root, Verse.Map map, Verse.ThingRequest thingReq, Verse.AI.PathEndMode peMode, Verse.TraverseParms traverseParams, System.Single maxDistance, System.Predicate`1[T] validator, System.Collections.Generic.IEnumerable`1[T] customGlobalSearchSet, System.Int32 searchRegionsMin, System.Int32 searchRegionsMax, System.Boolean forceAllowGlobalSearch, Verse.RegionType traversableRegionTypes, System.Boolean ignoreEntirelyForbiddenRegions, System.Boolean lookInHaulSources) [0x0014e] in <9b17790b066e46d08be4026d65926375>: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.Predicate`1[T] validator, System.Collections.Generic.IEnumerable`1[T] customGlobalSearchSet, System.Int32 searchRegionsMin, System.Int32 searchRegionsMax, System.Boolean forceAllowGlobalSearch, Verse.RegionType traversableRegionTypes, System.Boolean ignoreEntirelyForbiddenRegions) [0x00000] in <9b17790b066e46d08be4026d65926375>:0
at RimWorld.RestUtility.FindBedFor (Verse.Pawn sleeper, Verse.Pawn traveler, System.Boolean checkSocialProperness, System.Boolean ignoreOtherReservations, System.Nullable`1[T] guestStatus) [0x00283] in <9b17790b066e46d08be4026d65926375>:0
- POSTFIX Adamas.Hospital: Void Hospital.Patches.Patients_BedFinder_Patch+FindBedPatch:Postfix(Building_Bed& __result, Pawn sleeper, Pawn traveler)
- POSTFIX Harmony_PrisonLabor: Building_Bed PrisonLabor.HarmonyPatches.Patches_Work.Patch_RestUtility:Postfix(Building_Bed __result, Pawn sleeper, Pawn traveler, Boolean checkSocialProperness, Boolean ignoreOtherReservations, Nullable`1 guestStatus)
at RimWorld.FloatMenuMakerMap.ValidateTakeToBedOption (Verse.Pawn pawn, Verse.Pawn target, Verse.FloatMenuOption option, System.String cannot, System.Nullable`1[T] guestStatus) [0x00000] in <9b17790b066e46d08be4026d65926375>:0
at RimWorld.FloatMenuMakerMap.AddHumanlikeOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x010b5] in <9b17790b066e46d08be4026d65926375>:0
- TRANSPILER SmashPhil.VehicleFramework: IEnumerable`1 Vehicles.CaravanFormation:AddHumanlikeOrdersLoadVehiclesTranspiler(IEnumerable`1 instructions, ILGenerator ilg)
- PREFIX OskarPotocki.VFECore: Void VanillaWeaponsExpanded.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Prefix(Pawn pawn)
- PREFIX Harmony_PrisonLabor: Void PrisonLabor.HarmonyPatches.Triggers+AddHumanlikeOrders:Prefix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX OskarPotocki.VFECore: Void VanillaWeaponsExpanded.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix()
- POSTFIX OskarPotocki.VFECore: Void VFECore.Patch_FloatMenuMakerMap+AddHumanlikeOrders_Fix:Postfix(Vector3 clickPos, Pawn pawn, List`1& opts)
- POSTFIX PeteTimesSix.SimpleSidearms: Void PeteTimesSix.SimpleSidearms.Intercepts.FloatMenuMakerMap_AddHumanLikeOrders_Postfix:AddHumanlikeOrders(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX alt4s.visitsettlements: Void VS_SettlementInteractionMenu:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX 6224Y.OneWithDeath: Void OneWithDeath.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX VanillaExpanded.VFEA: Void VFEAncients.HarmonyPatches.BuildingPatches:AddCarryJobs(List`1 opts, Vector3 clickPos, Pawn pawn)
- POSTFIX 6224Y.OneWithDeath: Void OneWithDeath.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX OskarPotocki.HeavyWeapons: Void HeavyWeapons.Patch_FloatMenuMakerMap+AddHumanlikeOrders_Fix:Postfix(Vector3 clickPos, Pawn pawn, List`1& opts)
- POSTFIX Zomuro.ItsSorceryFramework: Void ItsSorceryFramework.HarmonyPatches:AddHumanlikeOrders_EnergyTrackerComp_OnConsume(Vector3 __0, Pawn __1, List`1 __2)
- POSTFIX Zomuro.ItsSorceryFramework: Void ItsSorceryFramework.HarmonyPatches:AddHumanlikeOrders_EXPUseItem(Vector3 __0, Pawn __1, List`1 __2)
- POSTFIX 6224Y.OneWithDeath: Void OneWithDeath.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX 6224Y.OneWithDeath: Void OneWithDeath.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX 6224Y.OneWithDeath: Void OneWithDeath.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX 6224Y.OneWithDeath: Void OneWithDeath.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX 6224Y.OneWithDeath: Void OneWithDeath.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX Harmony_PrisonLabor: Void PrisonLabor.HarmonyPatches.Patches_TakeToBed.Patch_AddTakeToBed:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX Harmony_PrisonLabor: Void PrisonLabor.HarmonyPatches.Patches_GUI.GUI_RMB.Patch_RMB_Chains:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- POSTFIX legodude17.mvcf: Void MVCF.PatchSets.PatchSet_Brawlers:AddHumanlikeOrders_Postfix(List`1 opts, Vector3 clickPos, Pawn pawn)
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Boolean suppressAutoTakeableGoto) [0x000d1] in <9b17790b066e46d08be4026d65926375>:0
- POSTFIX OskarPotocki.VFECore: Void VFE.Mechanoids.HarmonyPatches.FloatMenuMakerMap_ChoicesAtFor_Patch:Postfix(List`1& __result, Vector3 clickPos, Pawn pawn, Boolean suppressAutoTakeableGoto)
- POSTFIX DraftableAnimals.Mod: Void DraftableAnimals.FloatMenuMakerMap_ChoicesAtFor_Patch:Postfix(List`1& __result, Vector3 clickPos, Pawn pawn, Boolean suppressAutoTakeableGoto)
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x000da] in <9b17790b066e46d08be4026d65926375>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.FloatMenuMakerMap:TryMakeFloatMenu (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.Selector.HandleMapClicks_Patch2 (RimWorld.Selector)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.Selector.SelectorOnGUI_Patch1 (RimWorld.Selector)
RimWorld.MapInterface:HandleLowPriorityInput ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.UIRoot_Play.UIRootOnGUI_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)

```
Last edited by Bnku; Aug 26 @ 7:38am
< >
Showing 1-2 of 2 comments
Bnku Aug 23 @ 3:22am 
Specifically, Pawn cant rescue nor option menu to appear.

Additionally draft-able animal mod, can show option menu, can't rescue nor capture a pawn but can carry pawn then capture via directly click the bed.
Last edited by Bnku; Aug 23 @ 3:29am
Bnku Aug 26 @ 7:36am 
I already found the issue,
its this `ancient operating table` in vanilla Rimworld. after removing it, i could access the option menu with my selected pawn.

it may conflicts with the VFE - Ancient's `ancient operating table`, could better check the possible naming conflict.
< >
Showing 1-2 of 2 comments
Per page: 1530 50