Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--output-as diffable-cs Crash on latest Preview Milestone #330

Open
Mukul1127 opened this issue Aug 25, 2024 · 0 comments
Open

--output-as diffable-cs Crash on latest Preview Milestone #330

Mukul1127 opened this issue Aug 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Mukul1127
Copy link

===Cpp2IL by Samboy063===
A Tool to Reverse Unity's "il2cpp" Build Process.
Version 2022.1.0-pre-release.17+fa86c0910de2e852a320bbc6b897293ced9ff3f2

[Info] [Program] Running on Win32NT
[Info] [Plugins] Loading plugins from C:\Users\Mukul\Downloads\Plugins...
[Info] [Plugins] Using Plugin: Cpp2IL Built-In
[Info] [Program] Determined game's unity version to be 2021.3.16a0
[Info] [Library] Initializing Metadata...
[Info] [Library]        Using actual IL2CPP Metadata version 29
[Info] [Library] Initialized Metadata in 271ms
[Info] [Library] Using binary type Portable Executable (from LibCpp2IL)
[Info] [Library] Searching Binary for Required Data...
[Info] [Library] Got Binary codereg: 0x184DF7D00, metareg: 0x18555FC60 in 110ms.
[Info] [Library] Initializing Binary...
[Info] [Library] Initialized Binary in 102ms
[Info] [Library] Mapping pointers to Il2CppMethodDefinitions...Processed 208559 OK (187ms)
[Info] [Program] Creating application model...
[Info] [Program] Application model created in 1794.3573ms
[Info] [Program] Pre-processing processing layers...
[Info] [Program]     Attribute Injector...
[Info] [Program]     Attribute Injector finished in 0.1552ms
[Info] [Program] Invoking processing layers...
[Info] [Program]     Attribute Injector...
[Info] [Program]     Attribute Injector finished in 405.3503ms
[Info] [Program] Outputting as Diffable C# to C:\Users\Mukul\Downloads\cpp2il_out...
[Info] [DiffableCsOutputFormat] Building C# files and directory structure...
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Cpp2IL.Core.Model.Contexts.ParameterAnalysisContext.ToString() in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Model\Contexts\ParameterAnalysisContext.cs:line 105
   at System.Text.StringBuilder.Append(Object )
   at Cpp2IL.Core.Utils.CsFileUtils.GetMethodParameterString(MethodAnalysisContext) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\Utils\CsFileUtils.cs:line 30
   at Cpp2IL.Core.OutputFormats.DiffableCsOutputFormat.AppendMethod(StringBuilder, MethodAnalysisContext, Int32) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\OutputFormats\DiffableCsOutputFormat.cs:line 303
   at Cpp2IL.Core.OutputFormats.DiffableCsOutputFormat.AppendType(StringBuilder, TypeAnalysisContext, Int32 ) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\OutputFormats\DiffableCsOutputFormat.cs:line 154
   at Cpp2IL.Core.OutputFormats.DiffableCsOutputFormat.BuildOutput(ApplicationAnalysisContext, String) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\OutputFormats\DiffableCsOutputFormat.cs:line 74
   at Cpp2IL.Core.OutputFormats.DiffableCsOutputFormat.DoOutput(ApplicationAnalysisContext, String) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\OutputFormats\DiffableCsOutputFormat.cs:line 40
   at Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:line 614
   at Cpp2IL.Program.Main(String[] args) in C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:line 526
@gompoc gompoc added the bug Something isn't working label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants