Recently I wanted to get into android development on UE 4, so I started a new 2d side-scroller example project and hooked up my Note 5, and attempted to launch the game on my device. Nothing happened for about 2 minutes, then the compiling shaders dialogue came up in the bottom right along with the "Processing Assses for Android… It’s been about 15 minutes, and the “Compiling Shaders” is at 1900ish. My question is, why does it take so long for such a basic project? Here are my specs:
CPU: i5-4690k @ 3.5GHz
RAM: 16GB
GPU: MSI Radeon R9 290x
and my unreal engine is installed on an SSD with hardly anything else on it.
Any help would be greatly appreciated, as I hope to just create a simple side-scroller game.
I’ve been wondering about this as well for a long time but I never found an answer. It looks like that even if you have an empty project UE compiles all the builtin shaders no matter if you’re using them or not.
I’m no expert but i believe the shaders have to get complied the first time you deploy onto a different platform.
I’m currently developing for android and the initial deploy onto my Galaxy s6 had been “Compiling Shaders 4000” which took a number of hours, but any subsequent builds not require a recompile of shaders.
Similar issue occurs when you go in the opposite direction ( had been launching the game on android and then switched to launch on windows).
After the initial (very long) compile, you won’t have to sit through long waiting times.
This is definitely a very weird bug that still exists in 4.24.2 to this day. Mine compiles every time I open a new project, or an old project. What’s going on?