Skip to content

We rebuilt SOTF Mods. Log in again with the same password.

  • Cover image of Mod Hot Reloader

Sons of the Forest Mod loader: RedLoader

Mod Hot Reloader v1.0.1

This mod enables developers to hot reload mod DLLs. It's not suitable for UI work.

OhMyJeeves Other

  • 1.32K 1,317 Downloads
  • 0 followers

Description

Mod Hot Reloader User Guide

The Mod Hot Reloader allows developers to hot reload mods without restarting the game. Follow this guide to configure and use the tool.

Prerequisites

  • Mod Not Installed: Add a Directory.Build.props file to prevent automatic installation.
  • Backend Code Only: The tool does not support UI components, allowing you to rebuild and debug backend code without reloading the game.
  • Correct Settings: Configure settings, then use InvokeMethodWithinHotLoadedMod to trigger code within your mod. Check Unity Explorer Log for troubleshooting.

How To Use ModHotReloader

  1. Create a new mod project via Red Mod Manager.
  2. Add the Directory.Build.props file to your project:
    <Project><PropertyGroup><DisableCopyToGame>True</DisableCopyToGame></PropertyGroup></Project>
  3. Configure the settings to point to the new mod, ensuring the DLL name and path are correct.
  4. Load up the game.
  5. Verify the mod is loaded via Unity Explorer Log.
  6. Add a method to your mod that prints to the log:

    private void HelloWorld() {
    RLog.Msg("Hello From Your Mod!");
    }
  7. Rebuild the mod project while the game is running. The hot reloader will detect changes and reload the mod.
  8. Check Unity Explorer Log to confirm the mod was reloaded.
  9. Add a breakpoint to the method. Attach your debugger using Unity Explorer.
  10. Invoke the method using InvokeMethodWithinHotLoadedMod HelloWorld and check the log for your message.

Versions and changelog

All 2 versions
  1. v1.0.1 Latest Changed dll path to be a single field with an increased character limit · 1.26K downloads
  2. v1.0.0 First release · 59 downloads
  1. v1.0.1

    Latest

    Changed dll path to be a single field with an increased character limit

  2. v1.0.0

    First release

Comments

No comments yet. Questions, tips and bug reports go here.

Something not working? Share your log and paste the link in your comment.

Reviews

No reviews yet. Be the first to review this mod.

Write a review

Log in · One review per user. Be specific: version, what worked, what didn’t.

How to install this mod

These steps install Mod Hot Reloader by hand, without a manager.

SotF Mods Manager installs and updates mods and their dependencies for you. Get SotF Mods Manager

This mod needs RedLoader, not BepInEx. BepInEx mods and guides don’t apply to Sons of the Forest.

  1. Install RedLoader

    RedLoader is the mod loader for Sons of the Forest. You only need to install it once.

    How to install RedLoader
  2. Download Mod Hot Reloader v1.0.1

    Download v1.0.1
  3. Extract the ZIP into the Mods folder

    On your PC, extract it into the game’s Mods folder:

    Steam/steamapps/common/Sons Of The Forest/Mods

    Keep the folder structure of the ZIP. Don’t put the ZIP itself in the folder.

  4. Launch the game

    RedLoader loads the mod on start. Press F1 in the main menu to see the list of mods.

Full install guide

More actions

Share this mod

Badges for your page

Paste a badge into a README, forum post or Discord. Badges update automatically.

Downloads badge: Mod Hot ReloaderVersion badge: Mod Hot ReloaderCompatibility badge: Mod Hot ReloaderRating badge: Mod Hot Reloader
QR code

Scan it with your phone to open the page.

Report Mod Hot Reloader

Tell the moderators what’s wrong. Reports are private.

Reason

Links, versions or anything that helps the moderators. Up to 2,000 characters.

Unapprove Mod Hot Reloader?

It goes back to Pending approval: it leaves the main list and returns to the New mods queue.

Changelog

Comments

Reviews