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.
Patch methods in milliseconds. Keep your game state alive.
The patch pipeline
From keystroke to gameplay
Save in your IDE. Hot Patch compiles and redirects the live method. Your running scene picks up the change instantly.
Editing in your IDE…
Hot Patch
> waiting for save…
jumpForce = 5f
Frame: 1842
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.
Normal Unity
~4 minutes · state lost
Hot Patch
< 1 second · no domain reload · no restart
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.
- 01
Watch
Detect IDE file saves during Play Mode
- 02
Compile
Roslyn builds only the changed types
- 03
Patch
Harmony redirects live method calls
- 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…
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.