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

Warning emitted when opening any project: "Attempting to access theme items too early; prefer NOTIFICATION_POSTINITIALIZE and NOTIFICATION_THEME_CHANGED" #76509

Closed
akien-mga opened this issue Apr 27, 2023 · 0 comments · Fixed by #76513
Assignees
Milestone

Comments

@akien-mga
Copy link
Member

Godot version

4.1.dev (240ed28)

System information

Mageia 9, Linux

Issue description

Since a few days, I've seen this warning show up in the console when editing a project with Godot 4.1.dev:

WARNING: Attempting to access theme items too early; prefer NOTIFICATION_POSTINITIALIZE and NOTIFICATION_THEME_CHANGED
     at: get_theme_icon (scene/gui/control.cpp:2433)

It doesn't happen in 4.1.dev1 (db13026), so it's a recent regression introduced between db13026 and 240ed28.

Steps to reproduce

  • Create new project
  • Open it
  • Check console

Minimal reproduction project

n/a

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.

2 participants