RimWorld

RimWorld

Craftable 40K Cybernetics (Patch)
Dubois Emporium  [developer] 1 Jan @ 4:59pm
Bug reports
Post the bug reports here if you have one please , it makes finding errors much easier and faster !
< >
Showing 1-8 of 8 comments
Alright, I managed to recreate the disappearing bionic and capture the relevant error message. It exceeds the character limit so I'll post pieces of it. If you need me to dig deeper let me know what to look for.

Exception ticking hediff (BEWH_ManipulatorMechadendrite left hypocondriac shoulder ticksSinceCreation=1887) for pawn Clarity. Removing hediff... Exception: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 5B6FC9A3]
at Cybernetics40k.HediffComp_PassiveInternalPowerUser.get_ImplantPower () [0x00076] in <301a110f550048e2b46aedb29ec0021b>:0
- TRANSPILER PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)
at Cybernetics40k.HediffComp_PassiveInternalPowerUser.CompPostTick (System.Single& severityAdjustment) [0x0002c] in <301a110f550048e2b46aedb29ec0021b>:0
- TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable`1 Soyuz.Patches.HediffComp_Patch+HediffComp_GenHashInterval_Replacement:Transpiler(IEnumerable`1 instructions)
at Verse.HediffWithComps.PostTick () [0x00024] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.Pawn_HealthTracker.HealthTick () [0x00068] in <69945a8ed6c540cf90b578de735e0605>:0
- TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable`1
The rest of the error:

Soyuz.Patches.Pawn_HealthTracker_Tick_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- TRANSPILER PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn_HealthTracker.HealthTick_Patch0 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Dubois Emporium  [developer] 2 Jan @ 3:30pm 
Alright thanks for the post it will help , now I don't know how long it will take since I never had an error like that and it looks like it is linked to deep core vanilla coding so I'll take a look when I can !
Thank you!
Dubois Emporium  [developer] 9 Jan @ 7:04am 
Originally posted by Tedious Crow:
Thank you!
I've been looking for fix while working on my toher mods and for now I cant find what seems to be creating this problem , I can re-create the error but cant seem to find ( for now ) a way to stop it from happening.
I'll keep looking for a fix
Re creating the error is half the battle! Interestingly it happened with a cybernetic lung recently but not with psychic hoods or mechadendrite neutral systems. Anyway I have plenty of other bionics to farm so no rush
Dubois Emporium  [developer] 13 Jan @ 7:02am 
Originally posted by Tedious Crow:
Re creating the error is half the battle! Interestingly it happened with a cybernetic lung recently but not with psychic hoods or mechadendrite neutral systems. Anyway I have plenty of other bionics to farm so no rush
So after a bit of work , I can say probably say that it might not be the patch itself causing this bug. Since my mod only add recipes to the game ,and does not change anything pawnwise, it might be due to a problem with the main cybernetic mod itself.
They have a really great discord and it should be still active ( I haven't been there for a while since I am mainly working on project zomboid mods nowadays) so if the bug still occurs you should bring it up to phoncimas since he is the original author of the mod. I really tried but I cant figure it out for now
I really appreciate that. I'll try a few things other people suggested and then go there
< >
Showing 1-8 of 8 comments
Per page: 1530 50