FixPluginTypesSerialization

v0.0.3·Updated 2024-10-27

FOR PLUGIN MAKERS - Allow custom [Serializable] classes and structs in plugin assemblies to be deserialized by the engine.

About this mod Author’s original text

FixPluginTypesSerialization

FOR PLUGIN MAKERS

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.

Note: you must explicitly enable this mod for your plugins. In your mod zip, include a FixPluginTypesSerialization.txt containing the filename of one DLL per line.

Attribution

This is a customized version of FixPluginTypesSerialization by xiaoxiao921.

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
  3. For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
  4. Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.

Install locations vary a lot between mods — the bundled readme is the most reliable guide.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
FixPluginTypesSerialization-0.0.3.zip
File size
171.5 KiB