Description of the issue:
When trying to decompile a module script with Unluau, I encounter a NullReferenceException error.
Roblox script by bytecode
input.txt
Steps to Reproduce:
- Run Unluau.CLI with the --encoding option on the module script.
Unluau.CLI.exe --encoding Client -o test\output.txt test\input.txt
- Observe the output.
Behavior:
The following warnings and fatal error occur:
[03:10:22 WRN] Encountered unhandled code SETUPVAL, skipping
[03:10:22 WRN] Encountered unhandled code FASTCALL2, skipping
[02:36:31 FTL] Unexpected error; please report here: https://github.com/atrexus/unluau/issues
at Unluau.Lifter.LiftBlock(Function function, Registers registers, Int32 pcStart, Int32 pcStop) in C:\Users\hacking\Downloads\unluau\src\Unluau\Lifter\Lifter.cs:line 554
at Unluau.Lifter.LiftBlock(Function function, Registers registers, Int32 pcStart, Int32 pcStop) in C:\Users\hacking\Downloads\unluau\src\Unluau\Lifter\Lifter.cs:line 570
at Unluau.Lifter.LiftProgram() in C:\Users\hacking\Downloads\unluau\src\Unluau\Lifter\Lifter.cs:line 38
at Unluau.Decompiler.Decompile() in C:\Users\hacking\Downloads\unluau\src\Unluau\Decompiler.cs:line 48
at Unluau.CLI.Program.RunOptions(Options options) in C:\Users\hacking\Downloads\unluau\src\Unluau.CLI\Program.cs:line 119
Environment:
-
OS:
windows 10
-
Unluau version:
Unluau 1.0.9-alpha
-
.NET version:
8.0.203
Description of the issue:
When trying to decompile a module script with Unluau, I encounter a NullReferenceException error.
Roblox script by bytecode
input.txt
Steps to Reproduce:
Behavior:
The following warnings and fatal error occur:
Environment:
OS:
windows 10
Unluau version:
Unluau 1.0.9-alpha
.NET version:
8.0.203