RimWorld

RimWorld

Big and Small - Framework
Rudi Gauss 18 Sep, 2023 @ 1:35pm
Red Error after Update
Error while instantiating a mod of type BetterPrerequisites.BetterPrerequisites: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.NullReferenceException: Object reference not set to an instance of an object
at HarmonyLib.PatchTools.GetOriginalMethod (HarmonyLib.HarmonyMethod attr) [0x0008b] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x0001c] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00068] in <255414689d344b1385ae719f6cce8c55>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.PatchAll () [0x0001b] in <255414689d344b1385ae719f6cce8c55>:0
at BetterPrerequisites.BetterPrerequisites.ApplyHarmonyPatches () [0x0000c] in <e052e9bedeb4401cb714102ac83e9994>:0
at BetterPrerequisites.BetterPrerequisites..ctor (Verse.ModContentPack content) [0x00009] in <e052e9bedeb4401cb714102ac83e9994>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.LoadedModManager.CreateModClasses () [0x00076] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.LoadedModManager:CreateModClasses ()
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
< >
Showing 1-15 of 19 comments
Re 4 Oct, 2023 @ 6:14am 
Exception drawing Келосгал: System.MissingFieldException: Field 'AlienRace.AlienPartGenerator/BodyAddon.defaultOffsets' not found.
at (wrapper dynamic-method) AlienRace.HarmonyPatches.AlienRace.HarmonyPatches.DrawAddons_Patch3(Verse.PawnRenderFlags,UnityEngine.Vector3,UnityEngine.Vector3,Verse.Pawn,UnityEngine.Quaternion,Verse.Rot4)
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnInternal_Patch13(Verse.PawnRenderer,UnityEngine.Vector3,single,bool,Verse.Rot4,Verse.RotDrawMode,Verse.PawnRenderFlags)
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnAt_Patch5(Verse.PawnRenderer,UnityEngine.Vector3,System.Nullable`1<Verse.Rot4>,bool)
at Verse.Pawn_DrawTracker.DrawAt (UnityEngine.Vector3 loc) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.DrawAt_Patch3(Verse.Pawn,UnityEngine.Vector3,bool)
at Verse.Thing.Draw () [0x00015] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.ThingWithComps.Draw () [0x0000e] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.DynamicDrawManager.DrawDynamicThings () [0x000d8] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.DynamicDrawManager:DrawDynamicThings ()
(wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch2 (Verse.Map)
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
Verse.Root_Play:Update ()
YKm13xx9 19 Oct, 2023 @ 4:18am 
visual exceptions say there is something goes wrong
Exception in Verse.GameComponentUtility.GameComponentTick: System.NullReferenceException: Object reference not set to an instance of an object
at BetterPrerequisites.PawnRendering.GameComponentTick () [0x00020] in <082ed37ef28d4f1981c5a55434ae697b>:0
at Verse.GameComponentUtility.GameComponentTick () [0x0001a] in <95de19971c5d40878d8742747904cdcd>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
Auster 19 Oct, 2023 @ 9:41am 
After update Rimworld just goes to background screen and does nothing. Not sure how to make a hugslib report if game will not load.

Edit 1: might be a mod conflict somewhere since it does load up if it is the only thing active.
Last edited by Auster; 19 Oct, 2023 @ 9:46am
Vulkandrache 30 Mar, 2024 @ 8:33am 
System.NullReferenceException: Object reference not set to an instance of an object
at BigAndSmall.RoosCrushedPelvis_Patch.MakeNewToils_Postfix (RimWorld.JobDriver_Lovin& __instance, Verse.AI.TargetIndex& ___PartnerInd) [0x00002] in <8b818ad3c2ec445282ec022ed06ed56a>:0
at BigAndSmall.RoosCrushedPelvis_Patch.MakeNewToils_Postfix (RimWorld.JobDriver_Lovin& __instance, Verse.AI.TargetIndex& ___PartnerInd) [0x00002] in <8b818ad3c2ec445282ec022ed06ed56a>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Warning_Patch1 (string)
BigAndSmall.RoosCrushedPelvis_Patch:MakeNewToils_Postfix (RimWorld.JobDriver_Lovin&,Verse.AI.TargetIndex&)
(wrapper dynamic-method) RimWorld.JobDriver_Lovin:RimWorld.JobDriver_Lovin.MakeNewToils_Patch3 (RimWorld.JobDriver_Lovin)
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.SetupToils_Patch1 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.StartJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.AI.Job,Verse.AI.JobCondition,Verse.AI.ThinkNode,bool,bool,Verse.ThinkTreeDef,System.Nullable`1<Verse.AI.JobTag>,bool,bool,System.Nullable`1<bool>,bool,bool)
Verse.AI.Pawn_JobTracker:CheckForJobOverride ()
RimWorld.Toils_LayDown/<>c__DisplayClass6_0:<LayDown>b__1 ()
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch1 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
Verse.Root_Play:Update ()


Any info on why this could be?
I do not have any pawns with the giant trait, just a few with Half-Jotun Frame
as children from Lycans and normals pawns.

I currently have aproblem with pawns sometimes going wandering instead of researching
and im trying to narrow down the problem.
This error comes up around the same time and quite often.
CrackaJack 16 Apr, 2024 @ 9:03am 
Class="GeneTools.GeneToolsGeneDef"><forcedBodyTypesMale><li>Female</li></forcedBodyTypesMale></li></modExtensions> looks like a typo i think?
CrackaJack 16 Apr, 2024 @ 9:06am 
Trychanging to this and look if it works Class="GeneTools.GeneToolsGeneDef"><forcedBodyTypes><li>Female, Male</li></forcedBodyTypes></modExtensions>
👁 28 Apr, 2024 @ 9:02pm 
Could not find type named GeneTools.GeneToolsGeneDef from node <li MayRequire="void.charactereditor" Class="GeneTools.GeneToolsGeneDef"><forcedBodyTypesMale><li>Female</li></forcedBodyTypesMale></li> UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) XmlExtensions.CustomXmlLoader:ClassTypeOf<Verse.DefModExtension> (System.Xml.XmlNode) XmlExtensions.CustomXmlLoader:ObjectFromXml<Verse.DefModExtension> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string) XmlExtensions.CustomXmlLoader:ListFromXml<Verse.DefModExtension> (System.Xml.XmlNode,System.Xml.XmlNode,string) XmlExtensions.CustomXmlLoader:ListFromXmlReflection<Verse.DefModExtension> (System.Xml.XmlNode,System.Xml.XmlNode,string) XmlExtensions.CustomXmlLoader:ObjectFromXml<System.Collections.Generic.List`1<Verse.DefModExtension>> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string) XmlExtensions.CustomXmlLoader:ObjectFromXmlReflectionRecursive<System.Collections.Generic.List`1<Verse.DefModExtension>> (System.Xml.XmlNode,System.Xml.XmlNode,string,bool) XmlExtensions.CustomXmlLoader:ObjectFromXml<Verse.GeneDef> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string) XmlExtensions.CustomXmlLoader:ObjectFromXmlReflection<Verse.GeneDef> (System.Xml.XmlNode,bool) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DirectXmlLoader.DefFromNode_Patch2 (System.Xml.XmlNode,Verse.LoadableXmlAsset) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ParseAndProcessXML_Patch1 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>,bool) Verse.LoadedModManager:LoadAllActiveMods (bool) Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:<Start>b__6_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 () System.Threading.ThreadHelper:ThreadStart_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart () --- Exception loading list element Verse.DefModExtension from XML: System.MissingMethodException: Default constructor not found for type Verse.DefModExtension [Ref 1F3FE38F] at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x0007b] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Activator.CreateInstance (System.Type type) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at XmlExtensions.CustomXmlLoader.ObjectFromXml[T] (System.Xml.XmlNode xmlRoot, System.Boolean doPostLoad, System.Xml.XmlNode fullRoot, System.String nameOfDef) [0x005ad] in <658cfe511108420e84a1aee91a591e04>:0 at XmlExtensions.CustomXmlLoader.ListFromXml[T] (System.Xml.XmlNode listRootNode, System.Xml.XmlNode fullRoot, System.String nameOfDef) [0x001a1] in <658cfe511108420e84a1aee91a591e04>:0 XML: <modExtensions><li MayRequire="OskarPotocki.VanillaFactionsExpanded.Core" Class="VanillaGenesExpanded.GeneExtension"><backgroundPathEndogenes>GeneIcons/BS_BackEndogene</backgroundPathEndogenes><backgroundPathXenogenes>GeneIcons/BS_BackXenogene</backgroundPathXenogenes><backgroundPathArchite>GeneIcons/BS_BackArchite_1</backgroundPathArchite></li><li MayRequire="void.charactereditor" Class="GeneTools.GeneToolsGeneDef"><forcedBodyTypesMale><li>Female</li></forcedBodyTypesMale></li></modExtensions> UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) XmlExtensions.CustomXmlLoader:ListFromXml<Verse.DefModExtension> (System.Xml.XmlNode,System.Xml.XmlNode,string) XmlExtensions.CustomXmlLoader:ListFromXmlReflection<Verse.DefModExtension> (System.Xml.XmlNode,System.Xml.XmlNode,string) XmlExtensions.CustomXmlLoader:ObjectFromXml<System.Collections.Generic.List`1<Verse.DefModExtension>> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string) XmlExtensions.CustomXmlLoader:ObjectFromXmlReflectionRecursive<System.Collections.Generic.List`1<Verse.DefModExtension>> (System.Xml.XmlNode,System.Xml.XmlNode,string,bool) XmlExtensions.CustomXmlLoader:ObjectFromXml<Verse.GeneDef> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string) XmlExtensions.CustomXmlLoader:ObjectFromXmlReflection<Verse.GeneDef> (System.Xml.XmlNode,bool) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DirectXmlLoader.DefFromNode_Patch2 (System.Xml.XmlNode,Verse.LoadableXmlAsset) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ParseAndProcessXML_Patch1 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>,bool) Verse.LoadedModManager:LoadAllActiveMods (bool) Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:<Start>b__6_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 () System.Threading.ThreadHelper:ThreadStart_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart () --- Adding duplicate HugsLib.UpdateFeatureDef name: ColonyGroups_1_3_07 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) Verse.DefDatabase`1<HugsLib.UpdateFeatureDef>:Add (HugsLib.UpdateFeatureDef) Verse.DefDatabase`1<HugsLib.UpdateFeatureDef>:Add (System.Collections.Generic.IEnumerable`1<HugsLib.UpdateFeatureDef>) HugsLib.News.UpdateFeatureDefLoader:ReinitUpdateFeatureDefDatabase (System.Collections.Generic.IEnumerable`1<HugsLib.UpdateFeatureDef>) HugsLib.News.UpdateFeatureDefLoader:ResolveAndInjectUpdateFeatureDefs (System.Collections.Generic.IEnumerable`1<HugsLib.News.UpdateFeatureDefLoader/DefXMLNode>) HugsLib.News.UpdateFeatureManager/<>c__DisplayClass13_0:<OnEarlyInitialize>g__ResolveAndInjectNewsDefs|0 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()
Last edited by 👁; 28 Apr, 2024 @ 9:03pm
Icewall 1 May, 2024 @ 3:57am 
It seems this sadly breaks the Summoning of the mechanical bosses.
i can "trigger" the event, but nothing happens and this shows up red in the log

Exception running QuestNode_Root_Bossgroup: System.NullReferenceException: Object reference not set to an instance of an object
[Ref E2B874AC]
at Verse.GenCollection.Any[T] (System.Collections.Generic.List`1[T] list, System.Predicate`1[T] predicate) [0x00000] in <957a20e0be784a65bc32cf449445b937>:0
at BigAndSmall.GiantTraitPatches.CanWearClothing (System.Boolean __result, Verse.ThingDef thing, System.String& cantreason, Verse.Pawn pawn) [0x0002d] in <de266849093e4c1983c80fca6bedda48>:0
at BigAndSmall.GiantTraitPatches.CanEquipThing (System.Boolean __result, Verse.ThingDef thing, Verse.Pawn pawn, System.String& cantReason) [0x0008b] in <de266849093e4c1983c80fca6bedda48>:0
at BigAndSmall.CanEquip.RequiredForPawn (RimWorld.Apparel __instance, System.Boolean& __result, Verse.Pawn pawn, System.Boolean ignoreGender) [0x0000e] in <de266849093e4c1983c80fca6bedda48>:0
at RimWorld.Apparel.PawnCanWear (Verse.Pawn pawn, System.Boolean ignoreGender) [0x00049] in <957a20e0be784a65bc32cf449445b937>:0
- POSTFIX RedMattis.BetterPrerequisites: Void BigAndSmall.CanEquip:RequiredForPawn(Apparel __instance, Boolean& __result, Pawn pawn, Boolean ignoreGender)
at RimWorld.Pawn_ApparelTracker.Wear (RimWorld.Apparel newApparel, System.Boolean dropReplacedApparel, System.Boolean locked) [0x000b6] in <957a20e0be784a65bc32cf449445b937>:0
- TRANSPILER rimworld.erdelf.alien_race.main: IEnumerable`1 AlienRace.HarmonyPatches:BodyReferenceTranspiler(IEnumerable`1 instructions)
- POSTFIX OskarPotocki.VFECore: Void VanillaApparelExpanded.ApparelTracker_Wear:Postfix(Apparel newApparel, Pawn_ApparelTracker __instance)
- POSTFIX OskarPotocki.VFECore: Void VFECore.Pawn_ApparelTracker_Wear_Patch:Postfix(Pawn_ApparelTracker __instance, Apparel newApparel, Boolean dropReplacedApparel, Boolean locked)
at RimWorld.QuestGen.QuestNode_Root_Bossgroup.RunInt () [0x001e1] in <957a20e0be784a65bc32cf449445b937>:0
at RimWorld.QuestGen.QuestNode.Run () [0x00015] in <957a20e0be784a65bc32cf449445b937>:0

Slate vars:
bossgroup=Diabolus
inSignal=Quest182.Initiate
map=Map-0-PlayerHome
reward=SignalChip
wave=3
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.QuestGen.QuestNode:Run ()
RimWorld.QuestScriptDef:Run ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.QuestGen.QuestGen.Generate_Patch1 (RimWorld.QuestScriptDef,RimWorld.QuestGen.Slate)
RimWorld.QuestUtility:GenerateQuestAndMakeAvailable (RimWorld.QuestScriptDef,RimWorld.QuestGen.Slate)
RimWorld.BossgroupWorker:Resolve (Verse.Map,int)
RimWorld.CompUseEffect_CallBossgroup:CallBossgroup ()
RimWorld.CompUseEffect_CallBossgroup:DoEffect (Verse.Pawn)
RimWorld.CompUsable:UsedBy (Verse.Pawn)
RimWorld.JobDriver_UseItem/<>c__DisplayClass7_0:<Use>b__0 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:DriverTick ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
KΞNTΛR 27 Jul, 2024 @ 4:53pm 
Sharing some I got just now:
[Big and Small - Genes & More - Start of stack trace]
Verse.PatchOperationAdd(xpath="Defs/HediffDef[defName="VoidTouched"]/stages/li/statFactors"): Failed to find a node with the given xpath
[End of stack trace]
The top operation is the one that failed, the ones below it are the parents
Source file: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2920751126\1.5\Anomaly\Patches\AnomalyPatches.xml

UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch7 (string)
XmlExtensions.ErrorManager:PrintErrors (string,Verse.ModContentPack)
XmlExtensions.PatchOperation_Patch:Postfix (Verse.PatchOperation,bool&,System.Xml.XmlDocument)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PatchOperation.Apply_Patch2 (Verse.PatchOperation,System.Xml.XmlDocument)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ApplyPatches_Patch4 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

and this one:
[Big and Small - Genes & More] Patch operation Verse.PatchOperationAdd(Defs/HediffDef[defName="VoidTouched"]/stages/li/statFactors) failed
file: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2920751126\1.5\Anomaly\Patches\AnomalyPatches.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch7 (string)
Verse.PatchOperation:Complete (string)
Verse.LoadedModManager:ClearCachedPatches ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
RedMattis  [developer] 28 Jul, 2024 @ 5:48am 

Originally posted by KΞNTΛR:
Sharing some I got just now:
[Big and Small - Genes & More - Start of stack trace]
Verse.PatchOperationAdd(xpath="Defs/HediffDef[defName="VoidTouched"]/stages/li/statFactors"): Failed to find a node with the given xpath
[End of stack trace]
The top operation is the one that failed, the ones below it are the parents
Source file: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2920751126\1.5\Anomaly\Patches\AnomalyPatches.xml
()
Resplice probably. I thought Helixien was going to fix his VoidTouched patch though.
Last edited by RedMattis; 28 Jul, 2024 @ 5:48am
Yoru 2 Aug, 2024 @ 11:40pm 
Getting this just today

System.NullReferenceException: Object reference not set to an instance of an object
[Ref D48B1E27]
at BetterPrerequisites.PGene.RegenerateState () [0x0007c] in <83a9d02a0fa343f5a654938a29b7f0c1>:0
at BigAndSmall.BigAndSmallCache.GameComponentTick () [0x00120] in <83a9d02a0fa343f5a654938a29b7f0c1>:0
at Verse.GameComponentUtility.GameComponentTick () [0x00017] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.GameComponentUtility:GameComponentTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
_____________________
Edit:
It's fixed. Restarted my game and Rimsort. I'm guessing I launched Rimworld before the updates had a chance to go through.
Last edited by Yoru; 2 Aug, 2024 @ 11:42pm
csc001 8 Aug, 2024 @ 12:58am 
Exception in Verse.GameComponentUtility.GameComponentTick: System.NullReferenceException: Object reference not set to an instance of an object
[Ref E755254B]
at Verse.Pawn_AgeTracker.get_CurLifeStage () [0x00006] in <59e863dd41f643f2aafda4b64917c94c>:0
at Verse.Pawn.get_DevelopmentalStage () [0x00012] in <59e863dd41f643f2aafda4b64917c94c>:0
at VFECore.CachedPawnData.RegenerateCache () [0x00102] in <d76d864bb4264861abf1ddf56448ff1b>:0
- POSTFIX RedMattis.BigSmall: Void BigAndSmall.VFECore_PawnDataCache_Patch:Postfix(Object& __instance)
at VFECore.DictCache`2[T,V].GetCache (T key, System.Boolean forceRefresh, System.Boolean regenerateIfTimer, System.Boolean canRefresh) [0x00056] in <d76d864bb4264861abf1ddf56448ff1b>:0
at VFECore.PawnDataCache.GetPawnDataCache (Verse.Pawn pawn, System.Boolean forceRefresh, System.Boolean canRefresh) [0x00023] in <d76d864bb4264861abf1ddf56448ff1b>:0
at VFECore.CachedPawnDataSlowUpdate.GameComponentTick () [0x00092] in <d76d864bb4264861abf1ddf56448ff1b>:0
at Verse.GameComponentUtility.GameComponentTick () [0x0001a] in <59e863dd41f643f2aafda4b64917c94c>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
Every couple of seconds I get this in the red error log.
Visual Exceptions said vfe and bas error,hope your reply...
RedMattis  [developer] 8 Aug, 2024 @ 7:36am 
Originally posted by csc001:
Exception in Verse.GameComponentUtility.GameComponentTick: System.NullReferenceException: Object reference not set to an instance of an object
[Ref E755254B]
at Verse.Pawn_AgeTracker.get_CurLifeStage () [0x00006] in <59e863dd41f643f2aafda4b64917c94c>:0
at Verse.Pawn.get_DevelopmentalStage () [0x00012] in <59e863dd41f643f2aafda4b64917c94c>:0
at VFECore.CachedPawnData.RegenerateCache () [0x00102] in <d76d864bb4264861abf1ddf56448ff1b>:0
- POSTFIX RedMattis.BigSmall: Void BigAndSmall.VFECore_PawnDataCache_Patch:Postfix(Object& __instance)
at VFECore.DictCache`2[T,V].GetCache (T key, System.Boolean forceRefresh, System.Boolean regenerateIfTimer, System.Boolean canRefresh) [0x00056] in <d76d864bb4264861abf1ddf56448ff1b>:0
at VFECore.PawnDataCache.GetPawnDataCache (Verse.Pawn pawn, System.Boolean forceRefresh, System.Boolean canRefresh) [0x00023] in <d76d864bb4264861abf1ddf56448ff1b>:0
at VFECore.CachedPawnDataSlowUpdate.GameComponentTick () [0x00092] in <d76d864bb4264861abf1ddf56448ff1b>:0
at Verse.GameComponentUtility.GameComponentTick () [0x0001a] in <59e863dd41f643f2aafda4b64917c94c>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
Every couple of seconds I get this in the red error log.
Visual Exceptions said vfe and bas error,hope your reply...
I need a full log. I can't do much with that. You've got it processing a pawn with a presumably missing lifestage for some reason. This doesn't happen to me in vanilla, so I'm guessing something else is involved.
csc001 9 Aug, 2024 @ 6:15pm 
Originally posted by RedMattis:
Originally posted by csc001:
Exception in Verse.GameComponentUtility.GameComponentTick: System.NullReferenceException: Object reference not set to an instance of an object
[Ref E755254B]
at Verse.Pawn_AgeTracker.get_CurLifeStage () [0x00006] in <59e863dd41f643f2aafda4b64917c94c>:0
at Verse.Pawn.get_DevelopmentalStage () [0x00012] in <59e863dd41f643f2aafda4b64917c94c>:0
at VFECore.CachedPawnData.RegenerateCache () [0x00102] in <d76d864bb4264861abf1ddf56448ff1b>:0
- POSTFIX RedMattis.BigSmall: Void BigAndSmall.VFECore_PawnDataCache_Patch:Postfix(Object& __instance)
at VFECore.DictCache`2[T,V].GetCache (T key, System.Boolean forceRefresh, System.Boolean regenerateIfTimer, System.Boolean canRefresh) [0x00056] in <d76d864bb4264861abf1ddf56448ff1b>:0
at VFECore.PawnDataCache.GetPawnDataCache (Verse.Pawn pawn, System.Boolean forceRefresh, System.Boolean canRefresh) [0x00023] in <d76d864bb4264861abf1ddf56448ff1b>:0
at VFECore.CachedPawnDataSlowUpdate.GameComponentTick () [0x00092] in <d76d864bb4264861abf1ddf56448ff1b>:0
at Verse.GameComponentUtility.GameComponentTick () [0x0001a] in <59e863dd41f643f2aafda4b64917c94c>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
Every couple of seconds I get this in the red error log.
Visual Exceptions said vfe and bas error,hope your reply...
I need a full log. I can't do much with that. You've got it processing a pawn with a presumably missing lifestage for some reason. This doesn't happen to me in vanilla, so I'm guessing something else is involved.
thank your reply
RedMattis  [developer] 11 Aug, 2024 @ 1:20am 
Originally posted by csc001:
Originally posted by RedMattis:
I need a full log. I can't do much with that. You've got it processing a pawn with a presumably missing lifestage for some reason. This doesn't happen to me in vanilla, so I'm guessing something else is involved.
thank your reply
To be clear, to continue I would need a full log, not just that specific error. Use the Hug's log publisher. :)
Last edited by RedMattis; 11 Aug, 2024 @ 1:25am
< >
Showing 1-15 of 19 comments
Per page: 1530 50