DivinityCodes
Hot Patch

Hot Patch

Edit C# directly from your IDE while Play Mode is running. See changes immediately, without waiting for Unity to recompile or reload the domain.

Live demo

Watch Hot Patch in action

See C# edits apply live — no domain reload, no lost Play Mode state.

No More Waiting

Update your C# methods instantly while the game is running.

0:00 min 1:00 min 2:00 min 3:00 min 4:00 min
Normal Unity Editor
Hot Patch

Hover the bars to see what each workflow costs you.

Why Hot Patch?

Unity's default workflow interrupts you on every script change. A small fix can cost 30–60 seconds of compile time, and a domain reload wipes the Play Mode state you were debugging.

Without Hot Patch

  • Save → wait for compile → domain reload
  • Lose running game state on every edit
  • Re-test from scratch after each change

With Hot Patch

  • Save → patch applies in milliseconds
  • Keep Play Mode alive while you iterate
  • Re-invoke the changed method and verify instantly

Built for faster iteration

Everything you need to keep Play Mode alive while you fix, tune, and prototype.

Edit any function

If you have the C# code, Hot Patch can patch it instantly. Works with Rider, Visual Studio, VS Code, or any editor that saves files.

Easy setup

Import and run. No project changes, attributes, or build steps required to get started.

Works seamlessly

Changes apply without a domain reload. The game keeps running, static state, timers, and scene objects stay intact.

Fast, even on large projects

Changes apply in milliseconds. Roslyn compiles only what changed, not your entire solution.

Battle-tested

Built by game devs, for game devs — an Editor-first workflow designed for day-to-day Unity iteration.

How it works

Enter Play Mode with Hot Patch enabled. Saves no longer trigger a domain reload — Hot Patch compiles what changed and redirects execution at runtime.

  1. 01

    Watch

    Detect IDE file saves during Play Mode

  2. 02

    Compile

    Roslyn builds only the changed types

  3. 03

    Patch

    Harmony redirects live method calls

  4. 04

    Verify

    New logic runs on the next invocation

No external server. No project setup. Import the package, open the window, press Start, and edit.

Get Started In Just a Few Minutes…

1. Download

Download and import the Unity package

2. Start

Open Tools → DivinityCodes → Hot Patch and press Start

3. Run

Enter Play Mode, edit C#, save and enjoy instant patches

Ready to stop waiting on compile?

Keep Play Mode alive, patch methods in milliseconds, and stay in the flow.