FixPluginTypesSerialization
Fixes custom Serializable structs and such stored in mod plugin assemblies not getting deserialized by the native Unity engine code.
About this mod Author’s original text
FixPluginTypesSerialization
Hook into the native Unity engine for adding BepInEx plugin assemblies into the assembly list that is normally used for the assemblies sitting in the game Managed/ folder.
This solve a bug where custom Serializable structs and such stored in plugin assemblies are not properly getting deserialized by the engine.
Installation
- Copy the BepInEx/patchers/FixPluginTypesSerialization folder into your BepInEx/patchers folder.
Special Thanks
- Horse for the original code base
- 0x0ade for the NativeLibraryHelper class
- knah
- KingEnderBrine
- Twiner
- NebNeb for the icon
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.