kbatbouta/RimWorld-RocketMan

[NOTROCKETMAN] RocketMan caught an error in StatWorker.GetValueUnfinalized [BUG]

Opened this issue · 0 comments

Describe the bug
Whenever pawns spawn a bunch of red errors pop up. They are not related to rocketman but rocketman catches them.
Culprit seems to be children, school and learning!

To Reproduce
Will update if I can identify the cuplrits
Steps to reproduce the behavior:

  1. activate
    [Mod list length: 7]
    Harmony [https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]
    Core [https:// no link (local mod)]
    Ideology [Official DLC] [https:// no link (local mod)]
    HugsLib [https://steamcommunity.com/sharedfiles/filedetails/?id=818773962]
    Children, school and learning [https://steamcommunity.com/sharedfiles/filedetails/?id=1541438230]
    Vanilla Expanded Framework [https://steamcommunity.com/sharedfiles/filedetails/?id=2023507013]
    RocketMan - Performance Mod [https://steamcommunity.com/sharedfiles/filedetails/?id=2479389928]
  2. start game
  3. spawn a raid
  4. let man in black appear
  5. bug appears as well

Expected behavior
There shouldn´t be a bug. Something is messing with the spawning and I can´t find the error

Logs

Assemblies.log
Patching.log
Rocket.log
Types.log
Types.Proton.log
Types.Soyuz.log

Rocketman Logs can´t be uploaded but I have the Zip-file

Screenshots
If applicable, add screenshots to help explain your problem.
Pawns Spawn
One has a Bow
Other has Melee Weapons

screenshot1
screenshot2
screenshot3
screenshot4
screenshot5
screenshot6
screenshot7

Environment (please complete the following information):

  • RimWorld Version 1.3.3389 rev40
  • OS: Windows 7

Additional context
I guess it has something to do with Vanilla Expanded Framwork or Factions or something because it always says "VEF_VerbRangeFactor" something.
Could of course be not related at all
Possible other culprits:
Babys & Children
Any Trait Mod
Inspiration mod?
GiddyUp
Some Incident Mod?
Deadly weapon tweaks?
Weapon Condition Matters?

I checked those mods already and it didn´t produce the bug.

I will try to trim down the modlist even more. Culprit is somewhere in those mods:
[Mod list length: 7]
Harmony [https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]
Core [https:// no link (local mod)]
Ideology [Official DLC] [https:// no link (local mod)]
HugsLib [https://steamcommunity.com/sharedfiles/filedetails/?id=818773962]
Children, school and learning [https://steamcommunity.com/sharedfiles/filedetails/?id=1541438230]
Vanilla Expanded Framework [https://steamcommunity.com/sharedfiles/filedetails/?id=2023507013]
RocketMan - Performance Mod [https://steamcommunity.com/sharedfiles/filedetails/?id=2479389928]

RimPy Log Analyzer:
ROCKETMAN:[NOTROCKETMAN] RocketMan caught an error in StatWorker.GetValueUnfinalized. RocketMan doesn't modify the inners of this method. VEF_VerbRangeFactor VEF_VerbRangeFactor with error System.NullReferenceException: Object reference not set to an instance of an object
at Verse.Pawn.get_Inspired ()
at (wrapper dynamic-method) RimWorld.StatWorker.RimWorld.StatWorker.GetValueUnfinalized_Patch1(RimWorld.StatWorker,RimWorld.StatRequest,bool)
at RocketMan.Optimizations.StatWorker_Patch.UpdateCache (System.Int32 key, RimWorld.StatWorker statWorker, RimWorld.StatRequest req, System.Boolean applyPostProcess, System.Int32 tick, System.Boolean storeExists)

RimWorld.StatWorker.RimWorld.StatWorker.GetValueUnfinalized_Patch1 was patched by:
POST:
SuppressionMod.Patch_StatWorker_GetValueUnfinalized.ApplySuppressionFactors
TRANS:
VFECore.StatWorker_GetValueUnfinalized_Transpiler.Transpiler,
PawnShields.HarmonyPatches.Transpiler_StatWorker_GetValueUnfinalized

RocketMan.Optimizations.StatWorker_Patch was patched by:

If nothing can be found it´s ok because the game still runs

Thank you