godotengine / godotengine/godot

Interface Theme change in ProjectManager shows console error 'Parameter "fd" is null" after first (4.3 betas)

Open
#94,339 0 comments 1 reaction 1 assignee Claimed by @bruvzg View on GitHub
bug regression topic:gui
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

- Reproducable in 4.3 beta1 beta 2 beta3
- Not present in previous versions of Godot.

### System information

Windows 11 23h2

### Issue description

I suspect maybe there is something slightly different that the Editor is doing or has assess to than the main program, as the first time changing a theme doesn't trigger the errors. I don't have something to compare to as this is the first time its in the Proect Manager, so it might not be a visilible bug??

Just that there are errors in the console that were not present in previously versions (only in betas).

Searching for previous issues by error or line number reports nothing back.

- Many of this error:
```ERROR: Parameter "fd" is null.
at: _font_is_script_supported (modules/text_server_adv/text_server_adv.cpp:3863)
```
- Occasional of this error:
```
ERROR: Parameter "fd" is null.
at: _shape_run (modules/text_server_adv/text_server_adv.cpp:5991)
```
- Single of this error at end:
```
ERROR: Parameter "fd" is null.
at: _shape_run (modules/text_server_adv/text_server_adv.cpp:5991)
```

### Steps to reproduce

- Open Godot via console.
- From settings, any of the following themes: Breeze Dark, Godot2, Light, Solarized Light + Dark, BlackOLED, (ie Default, Grey do not trigger this). (For my testing, I found swapping between Solarized light/dark easy)
- Do this a second time again, and an error will occur this time.
- Error will occur just for those themes, only when changing **_to_** that theme, regargless of starting theme.

Situations that do not trigger this error:
- Opening the Godot ProjectManager in any non-default theme; no issues.
- First time changing the theme in the Godot ProjectManager; no issues.
- Changing the interface theme from within the main Godot program (Editor Settings > Interface > Theme :: Preset)

### Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.