Skip to content
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

Adding a BitmapFont as a Custom Font in Project Settings causes errors #55008

Closed
ReanthSoft opened this issue Nov 15, 2021 · 3 comments · Fixed by #55483
Closed

Adding a BitmapFont as a Custom Font in Project Settings causes errors #55008

ReanthSoft opened this issue Nov 15, 2021 · 3 comments · Fixed by #55483
Milestone

Comments

@ReanthSoft
Copy link

Godot version

3.4

System information

Windows 10, NVIDIA GeForce RTX 2080, GLES3

Issue description

In Godot 3.4, adding a BitmapFont as a Custom Font in the Project Setting's gui/theme/custom_font section causes errors when reopening the project. The same happens if a BitmapFont is added to a Theme which is then used in the gui/theme/custom section. This works in Godot 3.3.4

bitmapFontBug01
bitmapFontBug02

Steps to reproduce

Open the provided project and see the errors in the console.

Minimal reproduction project

BitmapFontBug.zip

@Calinou
Copy link
Member

Calinou commented Nov 15, 2021

Related to #36614. See #36614 (comment) for a workaround.

@ReanthSoft
Copy link
Author

Thanks, I've added the theme to a root Control node as a workaround.

@YuriSizov
Copy link
Contributor

This is actually the same issue as #54752, which will be fixed by #55483. The problem is not with fonts, it's with loading images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants