Skip to content
Sign in

We rebuilt SOTF Mods. Sign in again — your password is the same.

Cover image of Mod Hot Reloader

Mod Hot Reloader

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

OhMyJeeves Other Version:v1.0.1 Updated Jul 3, 2024

Downloads
1,261 total
Downloads this week
14 this week
Followers
0 followers
Not verified Not verified on the latest patch yet. Tried it? Report back. Report whether it works

Overview

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.

Field notes

All 2 versions
  1. v1.0.1

    Latest

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

  2. v1.0.0

    First release

Reviews

No reviews yet. Downloaded it? Be the first to tell others how it went.

Write a review

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

Comments

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

Frequently asked questions

Does Mod Hot Reloader work in multiplayer?
The author has not stated multiplayer support yet. Check the comments and the field reports of other players.
How do I install Mod Hot Reloader?
Install RedLoader (RedManager can do it for you), download Mod Hot Reloader 1.0.1 from this page and put it in the _RedLoader/Mods folder inside your game directory. Launch the game and press F1 to confirm it loaded.
What does Mod Hot Reloader need?
Only Sons of the Forest on Steam and RedLoader. It has no other dependencies.
Does Mod Hot Reloader work on the current game patch?
There are no compatibility reports yet. If you try it, add a field report.

At a glance

Game build
Not verified
RedLoader
Not declared
Platform
Unknown
Multiplayer
Unknown
Dedicated server
Unknown
Remove mid-save
Unknown
Dependencies
None
Conflicts
None known
Version
1.0.1
Updated
Published

Field reports

Report

No field reports yet. Tried it? Report back.

Did it work in your game?

A field report takes ten seconds and tells everyone whether this mod works on the current patch.

Sign in to add a field report

How to install this mod

Five minutes, no manager required. These steps are for Mod Hot Reloader.

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 of Sons of the Forest. Install it once and every mod works.

    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.

Prefer one click? RedManager installs and updates mods and their dependencies for you.

Full install guide

Share this mod

Badges for your page

Paste a badge in a README, forum post or Discord. They update by themselves.

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 rangers what’s wrong. Reports are private.

Reason

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