Skip to content
Dark Daskin edited this page Apr 30, 2026 · 2 revisions

Welcome to the Unity Mod Studio wiki! It contains documentation for the latest release of the extensions and their companion NuGet packages.

Extension structure

Core

The core extension is mostly game- and mod loader-agnostic and contains common functionality needed to build mods for any game.

It contains a generic project template UnityModStudio-CS-16 Unity game mod (C#) suitable for any game. Historically it is was the only template available, but currently it is superseded by templates specific to concrete games or mod loaders. It can be still useful for creating a mod for a game with built-in mod support which does not have a game-specific extension; or for a mod loader which does not have a specific extension. By default this template does not handle mod loading unless the game is configured to load the mod with Unity Doorstop. It is not recommended to use Doorstop as a mod loader because it only supports loading one assembly at a time. If the game does not load mods natively, use other mod loaders based on Doorstop instead, such as BepInEx.

Unity Doorstop is also used by the extension to enable debugging of the mod, so it is installed by default into all games, whether or not its assembly loading functionality is required.

The extension provides the following option pages (available at Tools → Options → Unity Mod Studio):

  • General, which currently contains settings for ambient game resolution.
  • Games, which allows to manage the game registry.

The corresponding NuGet package is installed by the project template. This package contains all build-time functionality of the extension.

Game- and mod loader-specific

Every supported game and mod loader have a corresponding extension and a NuGet package containing required build logic. The specific extensions require that the core extension is installed, while their NuGet package add the core package transitively.

BepInEx

The BepInEx extension contains templates for BepInEx-based mods. There are separate templates for each supported BepInEx major version:

  • UnityModStudio-BepInEx-5-CS-16 BepInEx 5 mod (C#).
  • UnityModStudio-BepInEx-6-CS-16 BepInEx 6 Unity Mono mod (C#).

The corresponding NuGet package is installed by the project templates. This package contains all build-time functionality of the extension.

RimWorld

The RimWorld extension contains a template for RimWorld mods: UnityModStudio-RimWorld-CS-16 RimWorld mod (C#).

The extension provides the RimWorld option page, which allows to specify defaults for new mods.

The corresponding NuGet package is installed by the project template. This package contains all build-time functionality of the extension.

Clone this wiki locally