RimWorld

RimWorld

Niilo's QoL
Svela 8 Jun, 2024 @ 4:54am
Reaserch Spot + Disease Errors
I'm getting an error in the Research Spot description and it seems unusable by my pawn. "GetInspectString exception on NQoL_ResearchSpot83653: System.InvalidCastException: Specified cast is not valid. [Ref 59832C6B] Dublicate stacktrace, see ref for original" I'm not recieving any error messages about it. Rather, the error message I get instead has to do with germ spreading, namely this:

Exception ticking Rat34420 (at (37, 0, 103)): System.TypeInitializationException: The type initializer for 'NQualityOfLife.Medical.Hediff_.GermMaker' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: key
[Ref 69447551] Duplicate stacktrace, see ref for original
--- End of inner exception stack trace ---
[Ref 26483FC8]
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at NQualityOfLife.Medical.Hediff_.DiseaseSpreadUtils.IsCarryingGerms (Verse.Pawn pawn, Verse.HediffDef& disease) [0x00078] in <f65584ed24604a3da6a85214e904a149>:0
at NQualityOfLife.Medical.Hediff_.HediffGiver_DiseaseSpreader.OnIntervalPassed (Verse.Pawn pawn, Verse.Hediff cause) [0x0012e] in <f65584ed24604a3da6a85214e904a149>:0
at Verse.Pawn_HealthTracker.HealthTick () [0x008f2] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable`1 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)
- POSTFIX fuu.bloodanimations: Void BloodAnimations.Pawn_HealthTracker_HealthTick:HealthTick(Pawn_HealthTracker& __instance, Pawn& ___pawn)
at Verse.Pawn.Tick () [0x0064a] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable`1 Soyuz.Patches.Pawn_Tick_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- POSTFIX com.github.tkkntkkn.Natures-Pretty-Sweet: Void TKKN_NPS.PatchTickPawn:Postfix(Pawn __instance)
- FINALIZER Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_Tick_Patch:Finalizer(Pawn __instance, Exception __exception)
at Verse.TickList.Tick () [0x0015c] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

Both are two separate issues, but the research spot error makes the No Starting Research impossible to do since I am unable to do any research whatsoever. Any help would be appreciated.
Last edited by Svela; 8 Jun, 2024 @ 4:55am
< >
Showing 1-4 of 4 comments
nikos  [developer] 8 Jun, 2024 @ 6:46am 
I will look into these.

Can you post a hugslog or player log on my discord after getting the errors in game?
nikos  [developer] 8 Jun, 2024 @ 7:03am 
the research spot error seems easy to fix, but it doesn't seem to prevent colonists from using it.
im working on fixing that error rn
nikos  [developer] 8 Jun, 2024 @ 8:45am 
I found and fixed one different issue with 'Nature's Pretty Sweet', im not getting the issue that you are having with diseases, try the continued version by Mlie
Svela 8 Jun, 2024 @ 5:21pm 
I am already using the NPS from Mile. I wasn't aware that the error had to do with that mod, but I may have missed the text when I read the log myself. So much going on in the log it's hard for me not to get overwhelmed. :S
< >
Showing 1-4 of 4 comments
Per page: 1530 50