RimWorld

RimWorld

Corpse Children
Apraxas 15 Nov, 2022 @ 4:11am
Recruited random generated corpse children cannot interact with corpse what so ever.
This is all I got...

Exception in RimWorld.FloatMenuMakerMap.ChoicesAtFor: System.NullReferenceException: Object reference not set to an instance of an object
at CorpseChildren.HarmonyPatches+<>c__DisplayClass10_12.<AddHumanlikeOrders_CorpseChildren_Postfix>b__6 (RimWorld.TraitDegreeData t) [0x00030] in <812c08ddfa2442f7bc303edea9b2fe8b>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at CorpseChildren.HarmonyPatches.AddHumanlikeOrders_CorpseChildren_Postfix (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x008d1] in <812c08ddfa2442f7bc303edea9b2fe8b>:0
at RimWorld.FloatMenuMakerMap.AddHumanlikeOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x06027] in <1ea541f48818430abd724fc665f76dc4>:0
- transpiler PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)
- postfix GeologicalLandforms.Main: Void GeologicalLandforms.Patches.Patch_RimWorld_RCellFinder:FloatMenuMakerMap_AddHumanlikeOrders(Vector3& clickPos, Pawn& pawn, List`1& opts)
- postfix Neronix17.TabulaRasa.RimWorld: Void TabulaRasa.Patch_FloatMenuMakerMap_AddHumanlikeOrders:PostFix(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix OskarPotocki.VFECore: Void VFECore.Patch_FloatMenuMakerMap+AddHumanlikeOrders_Fix:Postfix(Vector3 clickPos, Pawn pawn, List`1& opts)
- postfix KB_Chill_Out: Void KB_Chill_Out.FloatMenuMakerMap_Patches+FloatMenuMakerMap_AddHumanlikeOrders:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix KB_Go_To_Sleep: Void KB_Go_To_Sleep.FloatMenuMakerMap_Patches+FloatMenuMakerMap_AddHumanlikeOrders: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 jecstools.jecrell.humanlikeorders: Void JecsTools._HumanlikeOrdersUtility:AddHumanlikeOrders_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 NotoShabby.rimworld.mod.RPGInventoryRemake: Void AwesomeInventory.Common.HarmonyPatches.AddHumanlikeOrders_AwesomeInventory_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix NotoShabby.rimworld.mod.RPGInventoryRemake: Void AwesomeInventory.HarmonyPatches.AddPickupOption:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.Technomancer.Psyring:EquipConditions(Vector3 clickPos, Pawn pawn, List`1& opts)
- postfix rimworld.kayesh.corpsechildren: Void CorpseChildren.HarmonyPatches:AddHumanlikeOrders_CorpseChildren_Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix rimworld.kayesh.corpsechildren: Void CorpseChildrenBodyEnhancement.HarmonyPatches:AddHumanlikeOrders_CorpseChildrenBodyEnhancement_Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix mehni.rimworld.traderdismissal.main: Void Dismiss_Trader.HarmonyPatches:FloatMenuMakerMap_AddHumanlikeOrdersToDismissTraders_PostFix(Vector3& clickPos, Pawn& pawn, List`1& opts)
- postfix eagle0600.dressPatients: Void DressPatient.Order_DressPatientOrCorpse:DressPatientFloatMenuOption(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix Haecriver.InjuredCarry: Void InjuredCarry.Patches+FloatMenuMakerCarryAdder:AddFloatMenuOption(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix rimworld.rimquest: Void RimQuest.HarmonyPatches:AddHumanlikeOrders(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix com.alphamemes: Void AlphaMemes.AlphaMemes_FloatMenuMakerMap_AddHumanlikeOrders_Patch:AddDragRelicToAltar(Vector3 clickPos, Pawn pawn, List`1& opts)
- postfix legodude17.mvcf: Void MVCF.Features.PatchSets.PatchSet_Brawlers:AddHumanlikeOrders_Postfix(List`1 opts, Vector3 clickPos, Pawn pawn)
- postfix Roolo.DualWield: Void DualWield.Harmony.FloatMenuMakerMap_AddHumanlikeOrders:Postfix(Vector3 clickPos, Pawn pawn, List`1& opts)
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Boolean suppressAutoTakeableGoto) [0x000db] in <1ea541f48818430abd724fc665f76dc4>:0
- postfix OskarPotocki.VFECore: Void VFE.Mechanoids.HarmonyPatches.FloatMenuMakerMap_ChoicesAtFor_Patch:Postfix(List`1& __result, Vector3 clickPos, Pawn pawn, Boolean suppressAutoTakeableGoto)
- postfix net.pardeike.rimworld.mods.achtung: Void AchtungMod.FloatMenuMakerMap_ChoicesAtFor_Postfix:Postfix(List`1 __result, Vector3 clickPos, Pawn pawn)
- finalizer net.pardeike.rimworld.mods.achtung: Exception AchtungMod.FloatMenuMakerMap_ChoicesAtFor_Finalizer:Finalizer(Exception __exception, List`1& __result)
< >
Showing 1-8 of 8 comments
Kayesh  [developer] 15 Nov, 2022 @ 8:49am 
Ah, dang. Thanks for the report! I'll investigate when I can but it may not be for a couple of days.
Apraxas 17 Nov, 2022 @ 2:33am 
It looks like whoever that has "corpse children" trait does that... Take your time Kayesh. I'm just glad you are responding at all to be honest.
Kayesh  [developer] 17 Nov, 2022 @ 11:26am 
Haha! Nah, I'm not being as responsive as I'd like since June and best case I won't be as responsive as I'd like until early next year. I don't want things to be borked, though, so this'll get a fix when I can get the time!
Kayesh  [developer] 6 Dec, 2022 @ 2:02pm 
I was able to spend some time looking into this today. I wasn't able to reproduce the issue, but the stack shows that this is a cross-mod issue and that's always gonna be more difficult to root cause. Regardless, I've done a guess at a fix based on the stack... not totally sure if it will actually fix the issue.
Apraxas 7 Dec, 2022 @ 1:30am 
I'm gonna give it a shot "right now" and report the result here. Thank you!
Apraxas 7 Dec, 2022 @ 1:59am 
Did some basic poking around and found one thing(not a bug or problem. yet.) so far.
https://imgur.com/a/WCC1mD3
I have option to steal traits or passions from the other gene coded corpses fine, which is great, but I can only turn the base-liner to corpses children. Is this intended? or problem?
Kayesh  [developer] 7 Dec, 2022 @ 6:03am 
Double-checking: is the non-baseliner missing any vital organs?
Apraxas 9 Dec, 2022 @ 5:07am 
Yes and it seems like it only doesn't work with a few xenotypes. It works most of the time so I'm fine.
< >
Showing 1-8 of 8 comments
Per page: 1530 50