UnderminersTeam / UndertaleModTool

The most complete tool for modding, decompiling and unpacking Undertale (and other GameMaker games!)
GNU General Public License v3.0
1.2k stars 234 forks source link

No component #1987

Open hhbjuuigytyg opened 2 days ago

hhbjuuigytyg commented 2 days ago

Describe the bug

/ EXCEPTION! System.NotImplementedException: Missing ref type 6 at UndertaleModLib.Decompiler.Decompiler.ExpressionAssetRef.DoTypePropagation(DecompileContext context, AssetIDType suggestedType) in D:\a\UndertaleModTool\UndertaleModTool\UndertaleModLib\Decompiler\Instructions\Decompiler.ExpressionAssetRef.cs:line 126 at UndertaleModLib.Decompiler.Decompiler.DirectFunctionCall.DoTypePropagation(DecompileContext context, AssetIDType suggestedType) in D:\a\UndertaleModTool\UndertaleModTool\UndertaleModLib\Decompiler\Instructions\Decompiler.DirectFunctionCall.cs:line 177 at UndertaleModLib.Decompiler.Decompiler.DoTypePropagation(DecompileContext context, Dictionary2 blocks) in D:\a\UndertaleModTool\UndertaleModTool\UndertaleModLib\Decompiler\Decompiler.cs:line 1585 at UndertaleModLib.Decompiler.Decompiler.Decompile(UndertaleCode code, GlobalDecompileContext globalContext, Action1 msgDelegate) in D:\a\UndertaleModTool\UndertaleModTool\UndertaleModLib\Decompiler\Decompiler.cs:line 1466 at UndertaleModTool.UndertaleCodeEditor.<>c__DisplayClass58_0.b__1() in D:\a\UndertaleModTool\UndertaleModTool\UndertaleModTool\Editors\UndertaleCodeEditor.xaml.cs:line 700 /

Reproducing steps

File - gml_Object_obj_dialogue_battle_Step_1 UndertaleModTool_V6RFWTfirK

Setup Details

Windows 10. game is Undertale Wildfire

colinator27 commented 2 days ago

This is likely fixed in the underanalyzer branch/PR, if you want to try it out there. Latest build artifacts (downloads) can be found at https://github.com/UnderminersTeam/UndertaleModTool/actions/runs/12109954136?pr=1862.