1. Install Unity 2022.3.62f1 (this exact version is required)
Unity is the engine needed to build and package mods. The version must match the game exactly, otherwise packaging will fail.
Step 1: Install Unity Hub
Unity Hub is a launcher that manages Unity versions. You need to install it first before installing the engine.
Download Unity Hub: UnityHubSetup.exe
Step 2: Install Unity 2022.3.62f1
Once Unity Hub is installed, choose one of the following methods:
- Option A (recommended): Click this deep-link to install automatically: unityhub://2022.3.62f1/4af31df58517
- Option B: Press Win + R, paste
unityhub://2022.3.62f1/4af31df58517into the dialog, and press OK - Option C: Go to the official release page and download manually: Unity 2022.3.62f1 Release Page
Step 3: Select modules to install
In the Unity Hub installation dialog, only check these two items and uncheck everything else:
- Android Build Support
- iOS Build Support
Do not install Visual Studio 2022, OpenJDK, or Android SDK & NDK Tools — these are not required and will consume a large amount of disk space.
2. Upgrading Mod Tools (for users with an existing project)
If you already have a mod project from a previous version, you must manually overwrite certain directories when updating the mod tools. Skipping this step may cause compile errors or packaging failures.
Directory that must be overwritten:
MiddleLibLayer
Steps:
- Download the latest mod tool package: Mod Tools Download
- Extract the archive, then copy the
MiddleLibLayerfolder into your mod project directory, choosing Replace when prompted - Reopen your project and try building again
If errors still occur:
- Click the Console panel at the bottom of the Unity editor and look for red error messages
- Copy or screenshot the full error stack trace and send it to the developer
- If there are many errors or the situation is unclear, consider replacing your entire project directory with a fresh copy of the tool package