Human-Bullet / Folded-Man problem
Solution
Instead of automatically patching any method that touches Agents by calling Harmony.PatchAll at OnSubModuleLoad, you have to patch manually at a later point,
such as OnGameInitializationFinished or OnGameStart by calling Harmony.Patch.
Refer to this for more details: https://harmony.pardeike.net/articles/basics.html#manual-patching
And don't forget to call Harmony.Unpatch at OnGameEnd