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

setup_boot_logo: Non-existing or invalid boot splash at 'res://icon.svg'. Loading default splash. #96177

Closed
JonnyTech opened this issue Aug 27, 2024 · 2 comments · Fixed by #96197

Comments

@JonnyTech
Copy link

JonnyTech commented Aug 27, 2024

Tested versions

Reproducible in v4.3.stable.official [77dcf97]

System information

Debian Linux 11 x86_64

Issue description

Unable to set any boot splash screen (even the included icon.svg)

Steps to reproduce

Start Godot editor
Create new project
Project >> Project Settings
Enable: Advanced settings
Application >> Boot Splash
Image >> Open >> All Files (*)
Select: icon.svg
Image = res://icon.svg
Minimum Display Time = 3000
Close settings
Create root node: 2D Scene
Press F5 (run project)
Select current scene
Save when prompted
Splash screen does not show
Debugger error:

E 0:00:00:0460   setup_boot_logo: Non-existing or invalid boot splash at 'res://icon.svg'. Loading default splash.
  <C++ Source>   main/main.cpp:3185 @ setup_boot_logo()

Minimal reproduction project (MRP)

new-game-project.zip

@kleonc
Copy link
Member

kleonc commented Aug 27, 2024

It's mentioned in the docs/tooltip that only PNG is supported.

<member name="application/boot_splash/image" type="String" setter="" getter="" default="&quot;&quot;">
Path to an image used as the boot splash. If left empty, the default Godot Engine splash will be displayed instead.
[b]Note:[/b] Only effective if [member application/boot_splash/show_image] is [code]true[/code].
[b]Note:[/b] The only supported format is PNG. Using another image format will result in an error.
[b]Note:[/b] The image will also show when opening the project in the editor. If you want to display the default splash image in the editor, add an empty override for [code]editor_hint[/code] feature.
</member>

Godot_v4 3-stable_win64_l5pmPFsosn


However, after opening the dialog to choose the image it's possible to change the filter to All files (*). Maybe it should be disallowed/prevented? 🤔

+Maybe the error message could be clearer why it failed.

@JonnyTech
Copy link
Author

Apologies, I missed the documentation that detailed the change. All my v3.x projects have svg logo splash images and I was surprised that they did not work when opening with v4. Thanks for the clarification. Are there any plans to add support back?

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