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

Image loading is broken in editor #99221

Closed
syntaxerror247 opened this issue Nov 14, 2024 · 8 comments · Fixed by #99226, #99286 or #99353
Closed

Image loading is broken in editor #99221

syntaxerror247 opened this issue Nov 14, 2024 · 8 comments · Fixed by #99226, #99286 or #99353

Comments

@syntaxerror247
Copy link
Member

syntaxerror247 commented Nov 14, 2024

Tested versions

  • Reproducible in master: v4.4.dev.custom_build [76fa7b2]
  • Not reproducible in v4.4.dev4

System information

Windows 11

Issue description

I am cannot load images in editor.
I tried setting adaptive icons in android export and boot splash in project setting, both failed with similar error: load_image: Error opening file 'uid://bjaelxrg45jgj'

Steps to reproduce

  • Go to project settings
  • Set a boot splash image (clear it if already set and select again)
  • Run your project and see error in debugger.

Minimal reproduction project (MRP)

N/A

@syntaxerror247
Copy link
Member Author

After setting icons (loading icons) in master build, I opened same project in dev4 and it is showing uid insted of file path.
image

@KoBeWi
Copy link
Member

KoBeWi commented Nov 14, 2024

Likely coming from #97912

@syntaxerror247
Copy link
Member Author

Thank you for referencing the PR—it’s definitely due to that. I also wanted to add that when I set the image in dev4 and then switch to the current master build, it works without errors.

I hope this gets fixed soon since my upcomming PR, which requires loading images in the export settings, is affected by this. For now, as a workaround, I’m currently using dev4 to load images 😅 and then continuing my work or tests in the master build.

@KoBeWi
Copy link
Member

KoBeWi commented Nov 14, 2024

I'm already working on a fix.

@syntaxerror247
Copy link
Member Author

@KoBeWi My issue is still not resolved. I rebuilt the editor and even tried downloading the editor from your PR, but I’m still encountering the same error. (I was quite busy yesterday, so didn't got time to test locally)

image

@akien-mga
Copy link
Member

Did you try to re-select the boot splash image in the settings? Your project settings probably have the uid path already saved from the previous buggy state.

@syntaxerror247
Copy link
Member Author

syntaxerror247 commented Nov 15, 2024

Did you try to re-select the boot splash image in the settings? Your project settings probably have the uid path already saved from the previous buggy state.

@akien-mga Yes I did, I even tried with a fresh project, still same error.

@syntaxerror247

This comment has been minimized.

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