Open Junk-Repo opened 2 months ago
I am having the same issue with my game. Apparently UTMT has a problem with static variables
If someone has a similar issue, go here
https://github.com/UnderminersTeam/UndertaleModTool/pull/1862
scroll down for the bot's unofficial build of UTMT and it should work, since it worked for me
Describe the bug
In the UndertaleModTool version 0.6.1.0, attempting to decompile .GML code for Zero Sievert version 0.52.07, the error "System.InvalidOperationException: Stack empty" is thrown in 11% of the files. This error occurs consistently across multiple attempts.
Error is thrown 895 times in 304 of 2584 .gml files list_affected_gml_files.txt
The common error descriptions are:
Below is the stack track from from 1 of the files (gml_GlobalScript_class_ui_loot_reward.gml).
Reproducing steps
There are about 300 files affected in this manner. Attached is a list of the file names.
Setup Details
UndertaleModTool versions:
OS: Windows 10
GameMaker game: Zero Sievert version 0.52.07