UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

Crash upon displaying a code editor

Open Hyperboid opened this issue 7 months ago • 3 comments

Describe the bug

When opening a menu that shows a code editor (GML or shaders), UndertaleModTool crashes. Log: https://gist.github.com/Hyperboid/d88d537ccdad06f4f92439587f3ba48c

Partial workaround is to use ExportAllCode.csx and ExportAllShaders.csx and view in another program.

Reproducing steps

  1. Open UTMT from the command line so you can see terminal output
  2. Open a game
  3. Open any code
  4. Observe crash

Setup Details

  1. UTMT v0.8.2.0
  2. OS: NixOS with Wine 10.4
  3. Game: Deltarune Chapter 4

Hyperboid avatar Jun 07 '25 07:06 Hyperboid

Not sure if that has anything to do with this, but do you have Consolas installed

Dobby233Liu avatar Jun 07 '25 08:06 Dobby233Liu

Okay, now I'm even more confused. I installed corefonts using winetricks, and now it works, but isn't monospace. I guess corefonts doesn't include Consolas? But then why wasn't it falling back before?

Image

Edit: Installing consolas fixes the issue. Real bug here is that there's no indication to do that.

Hyperboid avatar Jun 08 '25 10:06 Hyperboid

Yeah, it definitely should check for the font and display the proper error message that will suggest to install the missing font.

VladiStep avatar Jun 21 '25 15:06 VladiStep