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

Game takes a long time to launch for the first time or after moving it to another folder on MacOS #83974

Closed
chutneyio opened this issue Oct 26, 2023 · 4 comments

Comments

@chutneyio
Copy link

Godot version

v4.1.2.stable.mono.official [399c9dc]

System information

Godot v4.1.2.stable.mono - macOS 14.0.0 - Vulkan (Forward+) - dedicated AMD Radeon Pro 555X - Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 Threads)

Issue description

Exported game seems to take a very long time to launch for the first time or after moving it to another folder.

Steps to reproduce

  • Create an empty project
  • Export the game
  • Run the game for the first time, observe that it takes > 10 seconds to launch. Launch the game again and it only takes < 1 seconds.
  • Move the game to another folder, and it also takes more time to launch for the first time.

Minimal reproduction project

Empty project

@Zireael07
Copy link
Contributor

Most likely shader cache creation/shaders compiling?

@AThousandShips
Copy link
Member

Indeed this sounds like shaded compilation

@chutneyio
Copy link
Author

So this is essential then. I think we can improve the UX by letting the game show loading progress when doing that kind of heavy stuff at the beginning. Currently the game is unresponsive with a spinning wheel for almost 10s before splash screen appears. It would be better if we can show splash screen immediately upon launch while compiling the shaders in background.

@Calinou
Copy link
Member

Calinou commented Oct 27, 2023

Thanks for the report! Consolidating in godotengine/godot-proposals#3657.

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

No branches or pull requests

4 participants