Crash upon displaying a code editor
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
- Open UTMT from the command line so you can see terminal output
- Open a game
- Open any code
- Observe crash
Setup Details
- UTMT v0.8.2.0
- OS: NixOS with Wine 10.4
- Game: Deltarune Chapter 4
Not sure if that has anything to do with this, but do you have Consolas installed
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?
Edit: Installing consolas fixes the issue. Real bug here is that there's no indication to do that.
Yeah, it definitely should check for the font and display the proper error message that will suggest to install the missing font.