Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Failed to resolve assembly: '__Generated, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null' #96

Open
krulci opened this issue Apr 19, 2023 · 2 comments

Comments

@krulci
Copy link

krulci commented Apr 19, 2023

--input="C:\DummyDll" --output="C:\output"  --system-libs="C:\BepInEx_UnityIL2CPP_x64_6.0.0-pre.1\mono\Managed"
Done in 00:00:00.1385358
Reading system assemblies...
Done in 00:00:00.0303080
Creating rewrite assemblies...
Done in 00:00:00.0137712
Computing renames...
Done in 00:00:00.0855504
Creating typedefs...
Done in 00:00:00.1092134
Computing struct blittability...
Done in 00:00:00.0075638
Filling typedefs...

Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: '__Generated, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null'
   at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
   at Mono.Cecil.DefaultAssemblyResolver.Resolve(AssemblyNameReference name)
   at Mono.Cecil.MetadataResolver.Resolve(TypeReference type)
   at Mono.Cecil.TypeReference.Resolve()
   at AssemblyUnhollower.Contexts.AssemblyRewriteContext.RewriteTypeRef(TypeReference typeRef) in C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\Contexts\AssemblyRewriteContext.cs:line 112
   at AssemblyUnhollower.Passes.Pass12FillTypedefs.DoPass(RewriteGlobalContext context) in C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\Passes\Pass12FillTypedefs.cs:line 36
   at AssemblyUnhollower.Program.Main(UnhollowerOptions options) in C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\Program.cs:line 231
   at AssemblyUnhollower.Program.Main(String[] args) in C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\Program.cs:line 170

C:\Users\_\Source\Repos\Il2CppAssemblyUnhollower\AssemblyUnhollower\bin\Debug\net4.7.2\AssemblyUnhollower.exe (process 23788) exited with code 0.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
@karaok1
Copy link

karaok1 commented Nov 25, 2023

I have the same error.
Unity version: 2022.3.8f1

@cocoon
Copy link

cocoon commented Jan 21, 2024

try to copy "__Generated" as "__Generated.dll"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants