I am using unity 2019.3 on windows. i am working on a game.
Game is taking 10+ secs to load on my Galaxy S8 (to show unity logo screen).
when i install the game and if i were to run it, right at that moment. it will load without any delay and then after some screen on and offs. it will go back to its 10+ secs delay.
i have seen many optimization articles, done many things, still not sure why it is happening.
Make sure your project doesn’t have any Resources folders. It’s just one possibility, but it’s a common culprit.
If you must have files in Resources folders, minimize the amount, and configure your project settings to load Resources in the second scene instead of the first scene.
When your Unity build launches it will load into memory everything in any Resources folder and everything referenced in your first scene. A phone’s hardware specs, including storage performance, will be significantly lower than your desktop’s.
Yes, absolutely. That will give you a good idea of what’s taking so long to start up. It’s a little more complicated than just cleaning up Resources, which is why I recommended checking Resources first. But your next step is absolutely to use the Profiler.