Open CWhedgehog opened 5 days ago
It seems that it's not 100% triggered, only one of the three children experienced this problem
I haven't seen this particular mod before, so I can't be sure what the cause is right away. I'll try and do some testing and get back to you with the results.
Just to confirm - you went from baby to child and the error popped up?
EDIT: did a quick test on this one and nothing unusual came up. Will keep an eye on it though. Let me know if you can find a way to replicate it.
Thanks for the report!
I still have this problem, it may be caused by other mods, I guess it could be performance fish? After this problem occurred, my game became very slow, but as long as I put the child back into the training room, it will solve this problem.
A new discovery is that errors will be thrown when the overclocked vat learning value is 100%. Yes, it will be fixed at 100% instead of increasing skill experience and resetting to zero. As long as I put the child back into the training room, the problem will be solved (it only occurs when I change from a baby to a child at the age of 3)
I think this may be caused by TD enhancement pack using a harmony transpiler patch, which is breaking my mod's functionality sometimes. As I can't replicate the bug with that mod installed I'm not sure how to fix it yet, but will keep an eye out for further occurences.
Okay, thank you for your reply ♡
How did it happen: One of my children in the cultivation warehouse became a child during their growth stage, and this error popped up.The report states that it is related to the MOD TD-Enhancement-Pack
Exception ticking GrowthVat363505 (at (165, 0, 201)). Suppressing further errors. Exception: System.NullReferenceException: Object reference not set to an instance of an object. [Ref 2B40F0AA] at RimWorld.LearningUtility.LearningRateFactor (Verse.Pawn pawn) [0x00015] in <2a40c3593b334f29ac3cb3d32d652351>:0 at GrowthVatsOverclocked.VatExtensions.HediffComp_OverclockedVatLearning.LearnMode (RimWorld.Pawn_SkillTracker skillTracker, GrowthVatsOverclocked.Data.LearningMode mode) [0x00052] in <6fbb1fdc98364812ab5af83f3f1ceac2>:0 at GrowthVatsOverclocked.VatExtensions.HediffComp_OverclockedVatLearning.Learn () [0x00058] in <6fbb1fdc98364812ab5af83f3f1ceac2>:0 at GrowthVatsOverclocked.ClassExtensions.Hediff_VatLearning_HarmonyPatch.Learn_Prefix (Verse.Hediff_VatLearning __instance) [0x00017] in <6fbb1fdc98364812ab5af83f3f1ceac2>:0 at Verse.Hediff_VatLearning.Learn () [0x0000e] in <2a40c3593b334f29ac3cb3d32d652351>:0
1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable
1 instructions, MethodBase original)