I can't find Assembly-CSharp-firstpass.dll in a unity game folder
Sebastian Wright
I'm currently trying to mod a single player unity game. I've modded other unity games before but the game I'm currently trying to mod doesn't have a Assembly-CSharp.dll file. The other games I've made mods for have this file under the manged folder but when I open this games files it only has.
- a il2cpp_data folder
- a Plugins folder
- a Resources folder
- and few random files.
If anyone has a solution for this that would be great.
2 Answers
This game has been compiled with the IL2CPP backend. So all managed code was cross compiled into native C++ code. That means all code is just ordinary native code and can't easily be decompiled. Greater protection against hacking / cheating and piracy is one of the reasons why developers use the IL2CPP backend as a way to obfuscate their code.
I'm not sure what kind of solution you're looking for. The game does no longer use mono / .NET since all code is now native code.
You can use this decompiler Il2CppDumper
It can dump Assembly-CSharp.dll from libil2cpp.so