-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
[Android] Splash screen doesn't render with the compatibility
renderer
#92966
Comments
Is this a new issue with beta 1? Have you reproduced this on earlier dev builds? |
Testing master (292e50e) on a pixel4 and I get the same splash screen with the compatibility renderer and with the mobile renderer. In both cases it is wrong, but it doesn't show nothing. |
The splash screen you're seeing is being generated by the Android runtime and has several limitations. As a result of those limitations, we're reverting back to the Godot generated splash screen in #92965. If you build from that PR, you can see the behavior described in this issue. To make it more noticeable, you should increase the splash screen duration in the project settings. |
The issue was reproducible in earlier dev builds. |
If this is a regression, it would be good to pinpoint when it appeared. But if the issue isn't reproducible without #92965 as the splash screen doesn't even work, how do we know it's a regression, as opposed to something that never worked? |
The Godot generated splash screen was enabled for the Android editor even before #92965 (the logic that sets |
I had a bit of a debugging session on this. Here the splash screen is prepared from The implementation of this can be found in But then in order to display it, it calls On all other systems this triggers a buffer swap displaying the result of the current buffer displaying that. On android it sets a flag:
That's it... the buffer is swapped for display, it's not being displayed... The code on Android only works once the game is running. Once init is done, This logic is not accessed during setup. Sadly my knowledge of Android is lacking to know how to fix this. |
Tested versions
System information
Windows 11, Android 14
Issue description
Godot's splash screen does not show when loading a Godot app / game / editor on an Android device with the
compatibility
renderer:compatibility
renderer) does not show the editor splash screen.compatibility
renderer but shows when themobile
renderer is used.Steps to reproduce
Android Editor:
Godot Android app / game:
mobile
compatibility
Minimal reproduction project (MRP)
Kenney Starter Kit City Builder
The text was updated successfully, but these errors were encountered: