Prefabs

Prefab patches let mods change Unity prefabs without distributing replacement copies. Several mods can patch the same stock prefab: Patch Manager resolves their requirements and order, applies their operations to one effective prefab, and reports conflicts or invalid targets.

Guides

The normal workflow

  1. Create a linked Addressable for the stock prefab.

  2. Create a prefab-patch variant from that link.

  3. Edit the variant in Unity and save it.

  4. Preview the effective prefab.

  5. Build and deploy the mod normally.

  6. Open a campaign that has your mod on. Test the content that instantiates the prefab, and examine pm_summary.log.