Closed AkaneDev closed 1 year ago
Could not reproduce on Deltarune v1.07, v1.10, or v1.15 (all from Steam). Which version of DR were you using, and what exactly did you attempt to edit in the script? Can you send the code that was in the box before compiling?
I figured it out the usb i was running it off of was corrupting
Describe the bug
When i try to compile an edit to a code it give this response on the newest build
/* EXCEPTION! System.InvalidOperationException: The stack got misaligned? Error 2: Attempted to duplicate 16 bytes, only found 4 at UndertaleModLib.Decompiler.Decompiler.DecompileFromBlock(DecompileContext context, Dictionary 2 blocks, Block block, List 1 tempvars, Stack 1 workQueue) in D:\a\UndertaleModTool\UndertaleModTool\UndertaleModLib\Decompiler\Decompiler.cs:line 2052 at UndertaleModLib.Decompiler.Decompiler.DecompileFromBlock(DecompileContext context, Dictionary 2 blocks, Block block) in D:\a\UndertaleModTool\UndertaleModTool\UndertaleModLib\Decompiler\Decompiler.cs:line 2613 at UndertaleModLib.Decompiler.Decompiler.Decompile(UndertaleCode code, GlobalDecompileContext globalContext) in D:\a\UndertaleModTool\UndertaleModTool\UndertaleModLib\Decompiler\Decompiler.cs:line 3769 at UndertaleModTool.UndertaleCodeEditor.<>c__DisplayClass36_0.<DecompileCode>b__1() in D:\a\UndertaleModTool\UndertaleModTool\UndertaleModTool\Editors\UndertaleCodeEditor.xaml.cs:line 530 */
Build at time of bugReproducing steps
img for proof image
Setup Details