atrexus / unluau

A decompiler for Luau (Roblox's Lua based programming language: https://luau-lang.org/).
Apache License 2.0
87 stars 21 forks source link

System.NullReferenceException: Object reference not set to an instance of an object. #49

Closed rekitrelt closed 7 months ago

rekitrelt commented 7 months ago

Unluau.DecompilerException: unexpected constant passed to 'ConstantToExpression' at Unluau.Lifter.ConstantToExpression(Constant constant) in C:\Users\rekitrelt\source\repos\unluau\src\Unluau\Lifter\Lifter.cs:line 810

ChloeDoesThings commented 7 months ago

What version of unluau did you use, one from releases?

rekitrelt commented 7 months ago

im using the latest version from releases with the update for bytecode version 5 from MaximumADHD's fork

ChloeDoesThings commented 7 months ago

im using the latest version from releases with the update for bytecode version 5 from MaximumADHD's fork

Oh, maybe building the source for this will work since they just updated it with the latest opcodes and stuff for version 5 on here.

ChloeDoesThings commented 7 months ago

im using the latest version from releases with the update for bytecode version 5 from MaximumADHD's fork

Oh, maybe building the source for this will work since they just updated it with the latest opcodes and stuff for version 5 on here.

If you need me to build it for you lmk

rekitrelt commented 7 months ago

I just built it, now I get unhandled operation code (240)

ChloeDoesThings commented 7 months ago

idrk what to say other than make sure you're using the client encoding option for the cli

rekitrelt commented 7 months ago

oh right im dumb; Unexpected error; please report here: https://github.com/atrexus/unluau/issues System.NullReferenceException: Object reference not set to an instance of an object.