knah / Il2CppAssemblyUnhollower

A tool to generate Managed->IL2CPP proxy assemblies
GNU Lesser General Public License v3.0
503 stars 87 forks source link

System.NullReferenceException #5

Closed bqio closed 4 years ago

bqio commented 4 years ago

C:\Users\admin\Desktop\adv\unhollower>AssemblyUnhollower --input=DummyDLL --output=out --mscorlib=mscorlib.dll Reading assemblies... Done in 00:00:01.7637685 Computing renames... Done in 00:00:00.1016879 Creating typedefs... Done in 00:00:00.0469580 Computing struct blittability... Done in 00:00:00.0051524 Filling typedefs... Done in 00:00:00.0128215 Filling generic constraints... Done in 00:00:00.0027324 Creating members... Done in 00:00:00.4199734 Scanning method cross-references... Done in 00:00:00.0033256 Finalizing method declarations... Необработанное исключение: System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта. в AssemblyUnhollower.Passes.Pass18FinalizeMethodContexts.DoPass(RewriteGlobalContext context) в AssemblyUnhollower.Program.Main(UnhollowerOptions options) в AssemblyUnhollower.Program.Main(String[] args) Done in 00:00:04.5023735

knah commented 4 years ago

Fixed in 12069c9. As a workaround, you can specify --gameassembly=GameAssembly.dll (with the full path to it).