-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
game crashes on startup #78966
Comments
@CLIDragon can it be a consequence of #78830? |
Posting your config/fonts.json would be useful |
fonts.json |
The way we find the files is pretty funky and CLI's PR seems to be flagging extensionless fonts as invalid now when the code can (or at least could) deal with them fine (see #72922 (comment) for me attempting to figure out the code) |
thanks, it worked |
throwing my two cents, i got this when i booted up my game
|
And your font file looks like? :^) |
We didn't support extensionless fonts before, we just failed without an error. However, it seems that I did accidentally break the font fallback code, see #78978. EDIT: It turns out that we did support extensionless fonts. We do still support them for fonts loaded through SDL, namely |
I get the same error on android. When I replace fonts.json with the workaround file I get: DEBUG : Font file 'data/font/Roboto-Medium.ttf' does not exist. FUNCTION : void load_font(ImGuiIO &, const std::vector<font_config> &, const ImWchar *) |
#78999 will fix this. |
Describe the bug
game crashes on startup
DEBUG : Font file 'Terminus' does not exist.
FUNCTION : load_font
FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\cata_imgui.cpp
LINE : 381
Attach save file
happens on startup
Steps to reproduce
launch the game
witness the error message
Expected behavior
does not crash
Screenshots
No response
Versions and configuration
win 10
version c818cf9
build 2025-01-05-1539
Additional context
debug.log
crash.log
The text was updated successfully, but these errors were encountered: