RimWorld

RimWorld

Biotech Expansion - Mythic
error on starting rimworld with biotech expansion mythic gene pack and required mods.
error on firing up rimworld with this mod in the modlist:

[Biotech Expansion - Mythic] Patch operation Verse.PatchOperationSequence(count=3, lastFailedOperation=Verse.PatchOperationInsert(Defs/ThinkTreeDef[defName="Humanlike"]/thinkRoot/subNodes/li[16]/subNodes/li[5]/subNodes/li[1]/subNodes/li[6])) failed
file: D:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2883216840\Patches\AurumNeedPatch.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.PatchOperation:Complete (string)
Verse.PatchOperationSequence:Complete (string)
Verse.LoadedModManager:ClearCachedPatches ()
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 16 comments
Lennoxicon  [developer] 3 Nov, 2022 @ 7:55pm 
Are you using any mods that change prisoner behavior? This particular patch targets that so prisoners can consume aurum.
GIGAWATT 3 Nov, 2022 @ 8:32pm 
I'm getting the same issue, and it came up as two red logs.

[Biotech Expansion - Mythic - Start of stack trace]
Verse.PatchOperationInsert(xpath="Defs/ThinkTreeDef[defName="Humanlike"]/thinkRoot/subNodes/li[16]/subNodes/li[5]/subNodes/li[1]/subNodes/li[6]"): Failed to find a node with the given xpath
Verse.PatchOperationSequence: Error in the operation at position=2
[End of stack trace]
The top operation is the one that failed, the ones below it are the parents
Source file: D:\SteamLibrary\steamapps\workshop\content\294100\2883216840\Patches\AurumNeedPatch.xml

UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
XmlExtensions.ErrorManager:PrintErrors (string,Verse.ModContentPack)
XmlExtensions.PatchOperation_Patch:Postfix (Verse.PatchOperation,bool&,System.Xml.XmlDocument)
(wrapper dynamic-method) Verse.PatchOperation:Verse.PatchOperation.Apply_Patch2 (Verse.PatchOperation,System.Xml.XmlDocument)
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ApplyPatches_Patch2 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
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 ()

I have nothing that conflicts with the behavior of prisoners except the Security Camera mod to reduce the chances a prisoner attempts to escape when in view of it. There is nothing beyond that.

Edit: Post-Removal of the SurveillanceCamera mod, an issue occurs.

[Biotech Expansion - Mythic - Start of stack trace]
Verse.PatchOperationInsert(xpath="Defs/ThinkTreeDef[defName="Humanlike"]/thinkRoot/subNodes/li[16]/subNodes/li[5]/subNodes/li[1]/subNodes/li[6]"): Failed to find a node with the given xpath
Verse.PatchOperationSequence: Error in the operation at position=2
[End of stack trace]
The top operation is the one that failed, the ones below it are the parents
Source file: D:\SteamLibrary\steamapps\workshop\content\294100\2883216840\Patches\AurumNeedPatch.xml

UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
XmlExtensions.ErrorManager:PrintErrors (string,Verse.ModContentPack)
XmlExtensions.PatchOperation_Patch:Postfix (Verse.PatchOperation,bool&,System.Xml.XmlDocument)
(wrapper dynamic-method) Verse.PatchOperation:Verse.PatchOperation.Apply_Patch2 (Verse.PatchOperation,System.Xml.XmlDocument)
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ApplyPatches_Patch2 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
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 ()
Last edited by GIGAWATT; 3 Nov, 2022 @ 9:15pm
Originally posted by Lennoxite:
Are you using any mods that change prisoner behavior? This particular patch targets that so prisoners can consume aurum.

i did test with barebone setup, so with just the mod and its requirements.
Lennoxicon  [developer] 3 Nov, 2022 @ 9:12pm 
Can't get the error to reproduce in my system, although...

If Biotech isn't detected, that part of the thinktree has only 5 entries, with Biotech it has 9. This patch targets the sixth entry, which would be right next to the Hemogen feeding job. There should be no reason for this to fail if you have Biotech installed, but I'm gonna push an update that makes this patch target the 5th entry and see if that changes anything.
Last edited by Lennoxicon; 3 Nov, 2022 @ 9:34pm
i have biotech active, as well as royalty and ideology.
strange thing is it only started happening after the requirementchanges.
maybee its some leftover of running it beforehand with the old requirements?
did make a full clean download of all mods to reduce the possibility of leftover data from older version.

then i did fire it up with barebone requirements and had no probs.

firing it up with my whole modlist did give out a prob and i also found the mod that conflicts.
search and destroy https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1467764609 in the modlist gives following error:

[Biotech Expansion - Mythic] Patch operation Verse.PatchOperationSequence(count=3, lastFailedOperation=Verse.PatchOperationInsert(Defs/ThinkTreeDef[defName="Humanlike"]/thinkRoot/subNodes/li[16]/subNodes/li[5]/subNodes/li[1]/subNodes/li[6])) failed
file: D:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2883216840\Patches\AurumNeedPatch.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.PatchOperation:Complete (string)
Verse.PatchOperationSequence:Complete (string)
Verse.LoadedModManager:ClearCachedPatches ()
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 ()

i did try it in order before and after search and destroy
hope the conflict can be solved.
Last edited by Abisius Xarvenius Carbensius; 3 Nov, 2022 @ 11:22pm
Lennoxicon  [developer] 4 Nov, 2022 @ 5:35am 
Alright, think I see the issue. Will push out an update that makes the prisoner ai patch more flexible.
test says go for mythics :p

thx for finding and fixing the conflict :)
GIGAWATT 5 Nov, 2022 @ 12:09am 
Just checking in. Has the issue been resolved?
I'm still experiencing some problems over here.
Originally posted by Laufta:
Just checking in. Has the issue been resolved?
I'm still experiencing some problems over here.

i can fire it up without an error atm.

go through your mods that have an influence on any type of pawnbehavior to try find the one conflicting. atleast that way i did find the conflict with search and destroy.
GIGAWATT 5 Nov, 2022 @ 1:07am 
Originally posted by Abisius:
Originally posted by Laufta:
Just checking in. Has the issue been resolved?
I'm still experiencing some problems over here.

i can fire it up without an error atm.

go through your mods that have an influence on any type of pawnbehavior to try find the one conflicting. atleast that way i did find the conflict with search and destroy.

I found one issue which had to do with an xml mod I was using for extra prosthetics.
The other, well... I don't know. I got rid of one issue, but there's still this second one.

[Biotech Expansion - Mythic] Patch operation Verse.PatchOperationSequence(count=3, lastFailedOperation=Verse.PatchOperationInsert(Defs/ThinkTreeDef[defName="Humanlike"]/thinkRoot/subNodes/li[16]/subNodes/li[5]/subNodes/li[1]/subNodes/li[6])) failed
file: D:\SteamLibrary\steamapps\workshop\content\294100\2883216840\Patches\AurumNeedPatch.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.PatchOperation:Complete (string)
Verse.PatchOperationSequence:Complete (string)
Verse.LoadedModManager:ClearCachedPatches ()
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 ()
Last edited by GIGAWATT; 5 Nov, 2022 @ 1:08am
i think it would be helpfull if you coudl tell which mod it is.
GIGAWATT 5 Nov, 2022 @ 1:20am 
Originally posted by Abisius:
i think it would be helpfull if you coudl tell which mod it is.
If only... I just hope that's something the devs implement sometime.
Originally posted by Laufta:
Originally posted by Abisius:
i think it would be helpfull if you coudl tell which mod it is.
If only... I just hope that's something the devs implement sometime.

you can already, its just a bunch of work. take a few mods at a time out of the modlist and note down which one you did take out. once the probs doesnt happen anymore you put a few of the last mods yo udid take out back in until the prob happens again. next step is rinse and repeat with diminishing amounts of mods till you are down to a single mod or a mod and its barebone requirements.
Lennoxicon  [developer] 5 Nov, 2022 @ 6:17am 
Originally posted by Laufta:
[Biotech Expansion - Mythic] Patch operation Verse.PatchOperationSequence(count=3, lastFailedOperation=Verse.PatchOperationInsert(Defs/ThinkTreeDef[defName="Humanlike"]/thinkRoot/subNodes/li[16]/subNodes/li[5]/subNodes/li[1]/subNodes/li[6])) failed

It looks like Steam hasn't updated this mod for you. This patch line no longer exists, it's now

Originally posted by New Patch Line:
Defs/ThinkTreeDef[defName="Humanlike"]/thinkRoot/subNodes/li[@Class="ThinkNode_ConditionalPrisoner"]/subNodes/li[5]/subNodes/li[@Class="ThinkNode_PrioritySorter"]/subNodes/li[@Class="JobGiver_GetHemogen"]
Last edited by Lennoxicon; 5 Nov, 2022 @ 6:17am
< >
Showing 1-15 of 16 comments
Per page: 1530 50