边缘世界 RimWorld

边缘世界 RimWorld

Custom Pawn Generation
Shinzou 11 月 29 日 上午 7:27
Broke compatibility with Numbers in Nov29 update
Hi, it seems your update today broke Numbers somehow. Worked fine yesterday, yours is the only mod that got updated. Removed it to test, and Numbers worked fine without Custom Pawn Generation. Error log below, happens everytime you click one of the Numbers affected tabs (Numbers main Tab, Animals, etc.):


Error while generating pawn. Rethrowing. Exception: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 31252B3]
at RW_CustomPawnGeneration.Patch_PawnGenerator_TryGenerateNewPawnInternal.VerifyBodyType (Verse.Pawn pawn) [0x0003a] in <7e813596a24b452ca1209b682a968e29>:0
at RW_CustomPawnGeneration.Patch_PawnGenerator_TryGenerateNewPawnInternal.Postfix (Verse.PawnGenerationRequest& request, Verse.Pawn& __result, System.String& error) [0x00004] in <7e813596a24b452ca1209b682a968e29>:0
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, System.Boolean ignoreScenarioRequirements, System.Boolean ignoreValidator) [0x01085] in <46372f5dadbf4af8939e608076251180>:0
- TRANSPILER rimworld.erdelf.alien_race.main: IEnumerable`1 AlienRace.HarmonyPatches:TryGenerateNewPawnInternalTranspiler(IEnumerable`1 instructions)
- PREFIX VREAndroidsMod: Void VREAndroids.PawnGenerator_TryGenerateNewPawnInternal_Patch:Prefix(PawnGenerationRequest request)
- PREFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:TryGenerateNewPawnInternalPrefix(PawnGenerationRequest& request)
- POSTFIX com.rimworld.mod.nyan.custom_pawn_generation: Void RW_CustomPawnGeneration.Patch_PawnGenerator_TryGenerateNewPawnInternal:Postfix(PawnGenerationRequest& request, Pawn& __result, String& error)
- POSTFIX RH_PawnKindExtensionMod: Void RH_PawnKindExtension.PawnGenerator_TryGenerateNewPawnInternal_Patch:Postfix(Pawn __result)
- POSTFIX Rimworld.Alite.EBSG.main: Void EBSGFramework.HarmonyPatches:TryGenerateNewPawnInternalPostfix(Pawn& __result)
- POSTFIX VREAndroidsMod: Void VREAndroids.PawnGenerator_TryGenerateNewPawnInternal_Patch:Postfix(Pawn& __result)
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x000d7] in <46372f5dadbf4af8939e608076251180>:0
- PREFIX RedMattis.BetterPrerequisites: Void BigAndSmall.GenerateNewPawnInternal:MaySetForcedGender(Pawn& __result, PawnGenerationRequest& request)
- POSTFIX OskarPotocki.VEF: Void VEF.Abilities.VanillaExpandedFramework_PawnGenerator_GenerateNewPawnInternal_Patch:Postfix(Pawn __result)
- POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.PawnGen_Patch:Postfix(Pawn __result, PawnGenerationRequest request)
- PREFIX raceQuestPawn: Void raceQuestPawn.PawnGenerator_GeneratePawn:Prefix(PawnGenerationRequest& request)
- PREFIX com.rimworld.mod.nyan.custom_pawn_generation: Void RW_CustomPawnGeneration.Patch_PawnGenerator_GeneratePawn:Prefix(PawnGenerationRequest& request)
- PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Patch_Construction:GenerateVehiclePawn(PawnGenerationRequest request, Pawn& __result)
- PREFIX Neronix17.Asimov.RimWorld: Void Asimov.Patch_PawnGenerator_GeneratePawn:Prefix(PawnGenerationRequest request)
- PREFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:GeneratePawnPrefix(PawnGenerationRequest& request)
- POSTFIX Neronix17.TabulaRasa.RimWorld: Void TabulaRasa.Patch_PawnGenerator_GeneratePawn:Postfix(PawnGenerationRequest request, Pawn __result)
- POSTFIX RedMattis.BetterPrerequisites: Void BigAndSmall.PregnancyPatches:MaySetBabyGenesIfBabyBirth(Pawn __result, PawnGenerationRequest request)
- POSTFIX RedMattis.BetterPrerequisites: Void BigAndSmall.GeneratePawns_Patch:GeneratePawnPostfix(Pawn& __result, PawnGenerationRequest request)
- POSTFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:GeneratePawnPostfix(Pawn __result)
- POSTFIX com.arquebus.rimworld.mod.RH2_ForcedPawnKindNames: Void ChickenPlucker.ForcedNamesPatches:Postfix(PawnGenerationRequest request, Pawn __result)
- POSTFIX limetreesnake.ammunition: Void Ammunition.Harmony.AmmoHarmonyPatches:GeneratePawn_PostFix(Pawn __result, PawnGenerationRequest request)
- POSTFIX com.rimworld.mod.nyan.custom_pawn_generation: Void RW_CustomPawnGeneration.Patch_PawnGenerator_GeneratePawn:Patch(Pawn __result, PawnGenerationRequest request)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.UnityEngine.StackTraceUtility.ExtractStackTrace_Patch1()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Log.Error_Patch5(System.String)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.PawnGenerator.GeneratePawn_Patch12(Verse.PawnGenerationRequest)
[Numbers, Numbers.dll] Numbers.MainTabWindow_Numbers.PopulateLists()
[Numbers, Numbers.dll] Numbers.MainTabWindow_Numbers..ctor()
[System, mscorlib.dll] System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo, System.Object, System.Object[], System.Exception&)
[System, mscorlib.dll] System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions)
[System, mscorlib.dll] System.RuntimeType.CreateInstanceMono(System.Boolean nonPublic, System.Boolean wrapExceptions)
[System, mscorlib.dll] System.RuntimeType.CreateInstanceSlow(System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache)
[System, mscorlib.dll] System.RuntimeType.CreateInstanceDefaultCtor(System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark)
[System, mscorlib.dll] System.Activator.CreateInstance(System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions)
[System, mscorlib.dll] System.Activator.CreateInstance(System.Type type, System.Boolean nonPublic)
[System, mscorlib.dll] System.Activator.CreateInstance(System.Type type)
[Core, Assembly-CSharp.dll] RimWorld.MainButtonDef.get_TabWindow()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.RimWorld.MainTabsRoot.ToggleTab_Patch1(RimWorld.MainTabsRoot, RimWorld.MainButtonDef, System.Boolean)
[Core, Assembly-CSharp.dll] RimWorld.MainButtonWorker_ToggleTab.Activate()
[UI Not Included: Customizable UI Overhaul, UINotIncluded.dll] UINotIncluded.Widget.Workers.Button_Worker.InterfaceTryActivate()
[UI Not Included: Customizable UI Overhaul, UINotIncluded.dll] UINotIncluded.Widget.Workers.Button_Worker.OnInteraction(UnityEngine.Rect rect)
[UI Not Included: Customizable UI Overhaul, UINotIncluded.dll] UINotIncluded.Widget.Workers.Button_Worker.OnGUI(UnityEngine.Rect rect)
[UI Not Included: Customizable UI Overhaul, UINotIncluded.dll] UINotIncluded.Widget.ExtendedToolbar.ExtendedToolbarOnGUI(System.Collections.Generic.List`1[UINotIncluded.Widget.Configs.ElementConfig] elements, UnityEngine.Rect inRect)
[UI Not Included: Customizable UI Overhaul, UINotIncluded.dll] UINotIncluded.UIManager.BarsOnGUI()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.RimWorld.MainButtonsRoot.MainButtonsOnGUI_Patch2(RimWorld.MainButtonsRoot)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.RimWorld.UIRoot_Play.UIRootOnGUI_Patch1(RimWorld.UIRoot_Play)
[Core, Assembly-CSharp.dll] Verse.Root.OnGUI()

Root level exception in OnGUI(): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
[Ref F4BBA151]
at RW_CustomPawnGeneration.Patch_PawnGenerator_TryGenerateNewPawnInternal.VerifyBodyType (Verse.Pawn pawn) [0x0003a] in <7e813596a24b452ca1209b682a968e29>:0
at RW_CustomPawnGeneration.Patch_PawnGenerator_TryGenerateNewPawnInternal.Postfix (Verse.PawnGenerationRequest& request, Verse.Pawn& __result, System.String& error) [0x00004] in <7e813596a24b452ca1209b682a968e29>:0
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, System.Boolean ignoreScenarioRequirements, System.Boolean ignoreValidator) [0x01085] in <46372f5dadbf4af8939e608076251180>:0
- TRANSPILER rimworld.erdelf.alien_race.main: IEnumerable`1 AlienRace.HarmonyPatches:TryGenerateNewPawnInternalTranspiler(IEnumerable`1 instructions)
- PREFIX VREAndroidsMod: Void VREAndroids.PawnGenerator_TryGenerateNewPawnInternal_Patch:Prefix(PawnGenerationRequest request)
- PREFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:TryGenerateNewPawnInternalPrefix(PawnGenerationRequest& request)
- POSTFIX com.rimworld.mod.nyan.custom_pawn_generation: Void RW_CustomPawnGeneration.Patch_PawnGenerator_TryGenerateNewPawnInternal:Postfix(PawnGenerationRequest& request, Pawn& __result, String& error)
- POSTFIX RH_PawnKindExtensionMod: Void RH_PawnKindExtension.PawnGenerator_TryGenerateNewPawnInternal_Patch:Postfix(Pawn __result)
- POSTFIX Rimworld.Alite.EBSG.main: Void EBSGFramework.HarmonyPatches:TryGenerateNewPawnInternalPostfix(Pawn& __result)
- POSTFIX VREAndroidsMod: Void VREAndroids.PawnGenerator_TryGenerateNewPawnInternal_Patch:Postfix(Pawn& __result)
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x000d7] in <46372f5dadbf4af8939e608076251180>:0
- PREFIX RedMattis.BetterPrerequisites: Void BigAndSmall.GenerateNewPawnInternal:MaySetForcedGender(Pawn& __result, PawnGenerationRequest& request)
- POSTFIX OskarPotocki.VEF: Void VEF.Abilities.VanillaExpandedFramework_PawnGenerator_GenerateNewPawnInternal_Patch:Postfix(Pawn __result)
- POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.PawnGen_Patch:Postfix(Pawn __result, PawnGenerationRequest request)
- PREFIX raceQuestPawn: Void raceQuestPawn.PawnGenerator_GeneratePawn:Prefix(PawnGenerationRequest& request)
- PREFIX com.rimworld.mod.nyan.custom_pawn_generation: Void RW_CustomPawnGeneration.Patch_PawnGenerator_GeneratePawn:Prefix(PawnGenerationRequest& request)
- PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Patch_Construction:GenerateVehiclePawn(PawnGenerationRequest request, Pawn& __result)
- PREFIX Neronix17.Asimov.RimWorld: Void Asimov.Patch_PawnGenerator_GeneratePawn:Prefix(PawnGenerationRequest request)
- PREFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:GeneratePawnPrefix(PawnGenerationRequest& request)
- POSTFIX Neronix17.TabulaRasa.RimWorld: Void TabulaRasa.Patch_PawnGenerator_GeneratePawn:Postfix(PawnGenerationRequest request, Pawn __result)
- POSTFIX RedMattis.BetterPrerequisites: Void BigAndSmall.PregnancyPatches:MaySetBabyGenesIfBabyBirth(Pawn __result, PawnGenerationRequest request)
- POSTFIX RedMattis.BetterPrerequisites: Void BigAndSmall.GeneratePawns_Patch:GeneratePawnPostfix(Pawn& __result, PawnGenerationRequest request)
- POSTFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:GeneratePawnPostfix(Pawn __result)
- POSTFIX com.arquebus.rimworld.mod.RH2_ForcedPawnKindNames: Void ChickenPlucker.ForcedNamesPatches:Postfix(PawnGenerationRequest request, Pawn __result)
- POSTFIX limetreesnake.ammunition: Void Ammunition.Harmony.AmmoHarmonyPatches:GeneratePawn_PostFix(Pawn __result, PawnGenerationRequest request)
- POSTFIX com.rimworld.mod.nyan.custom_pawn_generation: Void RW_CustomPawnGeneration.Patch_PawnGenerator_GeneratePawn:Patch(Pawn __result, PawnGenerationRequest request)
at Numbers.MainTabWindow_Numbers.PopulateLists () [0x00097] in <161a1c7054ae4a9695df5b3b708a95d7>:0
Numbers.MainTabWindow_Numbers..ctor()
(wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <51fded79cd284d4d911c5949aff4cb21>:0
--- End of inner exception stack trace ---
[Ref 1651B5F3]
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00095] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache) [0x00009] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) [0x00027] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00020] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at RimWorld.MainButtonDef.get_TabWindow () [0x00016] in <46372f5dadbf4af8939e608076251180>:0
at RimWorld.MainTabsRoot.ToggleTab (RimWorld.MainButtonDef newTab, System.Boolean playSound) [0x00096] in <46372f5dadbf4af8939e608076251180>:0
- PREFIX Fluffy.ResearchTree: Void FluffyResearchTree.MainTabsRoot_ToggleTab:Prefix(MainButtonDef& newTab)
- POSTFIX Fluffy.ResearchTree: Void FluffyResearchTree.MainTabsRoot_ToggleTab:Postfix()
at RimWorld.MainButtonWorker_ToggleTab.Activate () [0x00005] in <46372f5dadbf4af8939e608076251180>:0
at UINotIncluded.Widget.Workers.Button_Worker.InterfaceTryActivate () [0x00098] in <cf3535ef775a4ceca336a5d8b6296d0d>:0
at UINotIncluded.Widget.Workers.Button_Worker.OnInteraction (UnityEngine.Rect rect) [0x0003c] in <cf3535ef775a4ceca336a5d8b6296d0d>:0
at UINotIncluded.Widget.Workers.Button_Worker.OnGUI (UnityEngine.Rect rect) [0x0001a] in <cf3535ef775a4ceca336a5d8b6296d0d>:0
at UINotIncluded.Widget.ExtendedToolbar.ExtendedToolbarOnGUI (System.Collections.Generic.List`1[T] elements, UnityEngine.Rect inRect) [0x00105] in <cf3535ef775a4ceca336a5d8b6296d0d>:0
< >
正在显示第 1 - 1 条,共 1 条留言
Nyan  [开发者] 11 月 29 日 下午 7:48 
I released another update and this time it seems to be working normally. I apologize for the major issue from the previous update.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50