UnderminersTeam / UndertaleModTool

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

The `Window.Show...()` extension methods can crash UTMT. #1931

Open VladiStep opened 1 month ago

VladiStep commented 1 month ago

Describe the bug

For example, the Window.ShowError() extension method can crash UTMT instead of displaying the error text in some cases. See #1930.

Reproducing steps

  1. Use Window.ShowError() somewhere.
  2. "???"
  3. "Profit!"

Setup Details

  1. UTMT version - https://github.com/UnderminersTeam/UndertaleModTool/commit/8c5462c41eab770fa9bcb0da1cf5ed014bc20362 ("underanalyzer", though I think this also applies to the "master").
  2. OS - Windows 11 (though, I believe the version doesn't matter).
zivmaor commented 1 month ago

Seems like it's this: https://stackoverflow.com/a/7443519 I have a fix but it's still a WIP.