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

UID error in Project Manager when trying to load icon #99786

Open
KoBeWi opened this issue Nov 28, 2024 · 0 comments · May be fixed by #100717
Open

UID error in Project Manager when trying to load icon #99786

KoBeWi opened this issue Nov 28, 2024 · 0 comments · May be fixed by #100717

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Nov 28, 2024

Tested versions

4.4 dev5
Another regression from #97912

System information

W10

Issue description

Similar to #99221
When you set project's icon, it will be stored as UID. While it works fine in the editor, Project Manager is not able to load UIDs of projects, so it throws

ERROR: Condition "!unique_ids.has(p_id)" is true. Returning: String()
   at: ResourceUID::get_id_path (C:\godot_source\core/io/resource_uid.cpp:133)
ERROR: Error opening file ''.
   at: (C:\godot_source\core/io/image_loader.cpp:91)

and falls back to default icon.

It should be possible to read the UID from cache, but if it's not cached, there is no feasible way to load the icon.

Steps to reproduce

  1. Open a project in Project Manager
  2. In 4.4 dev5, set its application/config/icon
  3. Go back to Project Manager

Minimal reproduction project (MRP)

N/A

@KoBeWi KoBeWi linked a pull request Dec 21, 2024 that will close this issue
@akien-mga akien-mga added this to the 4.4 milestone Dec 21, 2024
@akien-mga akien-mga moved this from Unassessed to Bad in 4.x Release Blockers Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Bad
Development

Successfully merging a pull request may close this issue.

2 participants