Skip to content

Hot Reloading

quipsol edited this page Nov 2, 2026 · 2 revisions

For hot reloading start the editor-player in debug mode. Make sure your launch profile runs MoDot with the --path . argument.

You can also use hot reloading if you start the player from the editor by attacking a debugger. In Rider go to Run -> Attach to Process and find the correct process to attach to. For hot reloading to work this way, make sure you start the editor with the environment variable DOTNET_MODIFIABLE_ASSEMBLIES=debug. The editor-player will inherit it from the editor.

Your mod's DLL is locked while the game runs!

Clone this wiki locally