Hook crashing on save load in unexpected manner

Mod: https://github.com/budak7273/FasterManualCraftingRedux

troublesome hook (narrowed down to this via commenting the others out)
SUBSCRIBE_METHOD_VIRTUAL(UFGWorkBench::TickComponent, workBenchCDO, [](auto& scope, UFGWorkBench* self, float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) {
    if (self->mManufacturingButton && !self->mManufacturingButton->IsButtonHeld())
        GetProducedCountRef(self) = 0;
});


crash attached
Solution
it seems like the cause of the crash is the !self->mManufacturingButton->IsButtonHeld() check
Was this page helpful?