diff options
author | Marc Gilleron <marc.gilleron@gmail.com> | 2021-12-18 03:35:29 +0000 |
---|---|---|
committer | Marc Gilleron <marc.gilleron@gmail.com> | 2021-12-18 03:35:29 +0000 |
commit | ccb701f2f79473b8d2881888bd22d7e9f2c2587e (patch) | |
tree | dd11bbf8061a74b97b11e5743ab38c35d7e31b3f /methods.py | |
parent | 58712e96aea12bda2d5111d96961f529d15a693c (diff) |
Fix crash if font fails loading when generating a preview
Historical crash log:
ERROR: No loader found for resource: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf.
at: (core\io\resource_loader.cpp:213)
ERROR: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf
at: ResourceLoaderText::_parse_ext_resource (scene\resources\resource_format_text.cpp:170)
ERROR: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf
at: ResourceLoaderText::load (scene\resources\resource_format_text.cpp:649)
ERROR: Failed loading resource: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres. Make sure resources have been imported by opening the project in the editor at least once.
at: (core\io\resource_loader.cpp:206)
Diffstat (limited to 'methods.py')
0 files changed, 0 insertions, 0 deletions