Tutorial Fix missing UnityEngine codes for DLL/mono backend games

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
4,555
304,673
1,213
Modding World
Came across a game that you can't add the mod menu due to missing codes from UnityEngine? Because it was stripped out but it is fixable

This happens if UnityEngine has been stripped out

1586710283600.png


To fix, you need to download original unstripped Managed libs I obtained from Unity Editor.

First, get unity version. Follow the tutorial:

Download Managed dll folder. Explained in this thread:

The version you are looking for does not exist in the download links? Please ask me for the managed folder for that specific Unity version and I will upload

To download a specific folder, right click and choose download and it will download as zip. Simple

1586710311696.png


Replace all managed dll files to the Extracted folder, and reload all assemblies in the dnSpy

It will not be red anymore. Now you can compile

1586710320736.png


Replace all managed dll files to the game's Managed folder as well
 
Last edited: