# Compiling 2600+ shaders although empty project. empty level. ? normal?

**URL:** <https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [March 13, 2017, 2:05pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506 "2017-03-13T14:05:57Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![GameDevelooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameDevelooper](https://forums.unrealengine.com/u/GameDevelooper)\
**Post date:** [March 13, 2017, 2:05pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/1 "2017-03-13T14:05:57Z")

</div>

is this normal.

I created an empty mobile project. with nothing at all. I clicked launch to my android moto G 3rd gen mobile and its compiling over 2600+ shaders. taking a very long time to compile those shaders too.

is this normal?  
is this how it goes with using unreal for mobiles?

---

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [March 13, 2017, 6:27pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/2 "2017-03-13T18:27:21Z")

</div>

> [@MoHoe;680160](#):
>
> is this normal.
> 
> I created an empty mobile project. with nothing at all. I clicked launch to my android moto G 3rd gen mobile and its compiling over 2600+ shaders. taking a very long time to compile those shaders too.
> 
> is this normal?  
> is this how it goes with using unreal for mobiles?

Engine has many default materials. Have you experienced this message in editor or in packaged project?

---

<div class="post-metadata">

**Author:** ![GameDevelooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameDevelooper](https://forums.unrealengine.com/u/GameDevelooper)\
**Post date:** [March 13, 2017, 6:37pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/3 "2017-03-13T18:37:52Z")

</div>

> [@gameDNA studio;680270](#):
>
> Engine has many default materials. Have you experienced this message in editor or in packaged project?

Just in editor.

---

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [March 13, 2017, 8:07pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/4 "2017-03-13T20:07:34Z")

</div>

> [@MoHoe;680275](#):
>
> Just in editor.

Don’t worry about it 🙂

---

<div class="post-metadata">

**Author:** ![GameDevelooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameDevelooper](https://forums.unrealengine.com/u/GameDevelooper)\
**Post date:** [March 13, 2017, 8:13pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/5 "2017-03-13T20:13:34Z")

</div>

> [@gameDNA studio;680301](#):
>
> Don’t worry about it 🙂

hmm ok thanks champion lol

I think it’s clear that unreal engine is not ready for android game development.  
I’ll give it another try in a year or so.

I’ll stick to unity for mobile apps.

---

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [March 13, 2017, 8:30pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/6 "2017-03-13T20:30:29Z")

</div>

> [@MoHoe;680303](#):
>
> hmm ok thanks champion lol
> 
> I think it’s clear that unreal engine is not ready for android game development.  
> I’ll give it another try in a year or so.
> 
> I’ll stick to unity for mobile apps.

Engine is not packaging unnecessary materials so it’s why I said you shouldn’t worry about it because compiling shaders you mentioned before were only for editor not for game.

---

<div class="post-metadata">

**Author:** ![GameDevelooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameDevelooper](https://forums.unrealengine.com/u/GameDevelooper)\
**Post date:** [March 14, 2017, 8:27am UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/7 "2017-03-14T08:27:51Z")

</div>

> [@gameDNA studio;680311](#):
>
> Engine is not packaging unnecessary materials so it’s why I said you shouldn’t worry about it because compiling shaders you mentioned before were only for editor not for game.

The reason to be concerned about it is that it takes a very long time to view your game on a mobile device. 20 minutes + to see an empty game on a mobile device?? really? this is ridiculous… and why on earth is unreal engine wasting time and resources on compiling shaders that are not used?

nevermind. I guess thats the standard with unreal engine and mobile development.

---

<div class="post-metadata">

**Author:** ![Yata](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yata](https://forums.unrealengine.com/u/Yata)\
**Post date:** [March 14, 2017, 8:57am UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/8 "2017-03-14T08:57:56Z")

</div>

It compile them only once if your UE is not broken somehow.

---

<div class="post-metadata">

**Author:** ![gameDNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamedna/32/1209504_2.png) [@gameDNA](https://forums.unrealengine.com/u/gameDNA)\
**Post date:** [March 14, 2017, 11:45am UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/9 "2017-03-14T11:45:32Z")

</div>

It compiles only for the first time. Engine stores cache in Intermediate and Saved folders 🙂

---

<div class="post-metadata">

**Author:** ![AndFlukey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AndFlukey](https://forums.unrealengine.com/u/AndFlukey)\
**Post date:** [April 4, 2018, 11:56pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/10 "2018-04-04T23:56:35Z")

</div>

I disagree on that all I seem to be looking at every time is compiling Shaders went from 70 to 6,000? whats going on?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e6821ce6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e6821ce6](https://forums.unrealengine.com/u/anonymous_user_e6821ce6)\
**Post date:** [December 8, 2018, 1:01am UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/11 "2018-12-08T01:01:32Z")

</div>

I’m having the same problem…Why would Unreal need to compile 3000+ shaders for an empty AR scene? The only shaders that should be compiled are shaders that are being used in the scene correct? This seems broken to me, unless I’m missing something

---

<div class="post-metadata">

**Author:** ![DLROKen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DLROKen](https://forums.unrealengine.com/u/DLROKen)\
**Post date:** [July 3, 2019, 11:38am UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/12 "2019-07-03T11:38:49Z")

</div>

I just compiled 36,000 shaders on an empty folder… in a project that has been opened hundreds of times, when I Fixup Redirectors.

---

<div class="post-metadata">

**Author:** ![Jaaayse](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaaayse](https://forums.unrealengine.com/u/Jaaayse)\
**Post date:** [January 28, 2020, 10:34pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/13 "2020-01-28T22:34:15Z")

</div>

Nobody has a real answer for this? It is very odd. I’m coming from Unity. LOVE Unreal… but compiling 5,000 shaders everytime I start a new empty project? Definitely feels broken and doesn’t make much sense.

---

<div class="post-metadata">

**Author:** ![Sohno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sohno](https://forums.unrealengine.com/u/Sohno)\
**Post date:** [March 19, 2020, 10:23pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/18 "2020-03-19T22:23:07Z")

</div>

The short answer is: it’s normal, there’s nothing odd here.  
The long answer is mostly, i guess, is that UE4 has a different workflow compared to Unity.  
Shaders compile once, then, unless you change the shaders, it’s done.  
What compiles on empty projects is the Engine shaders, assuming you have no other assets or templates. Normally, this results in a bit more planning up front which materials you use, and more though goes into which asset and shaders are best. Compared to Unity, where I often ended up with 20 small projects to try out stuff, this never occured in UE, maybe cause I better know what to do, or because UE does not encourage that in the first place.  
Of course, on bigger scenes and if you use more complex shaders and you change it - it might take a while to recompile. Afaik, however, this is the same for more complex HDRP shaders in Unity. You get used to compiling, especially the more you know when recompiling is necessary - and why.

The default pipeline in Unity has more of a realtime workflow, not even light baking is needed. That’s awesome. However, it has pros and cons, most noticable shading quality and performance at runtime, which is be big plus for compiled code. Thats why Dots/ECS use burstcompile and Unitys high quality HDRP PBS shaders also needs longer to load.  
I worked with Unity, and although I love UE4 and now primarily work with it, I gotta say the shorter development cycles are a big plus for Unity.  
I’d say it’s not ultimately a “UE4 thing”, it’s the consequences of a different paradigm.

Maybe someone else know an answer that’s more of a heads up regarding that, but since noone else gave an answer, that’s what I can say about that.  
Have fun coding, whatever Engine you use

---

<div class="post-metadata">

**Author:** ![Timmmm3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Timmmm3d](https://forums.unrealengine.com/u/Timmmm3d)\
**Post date:** [March 20, 2020, 7:26pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/19 "2020-03-20T19:26:38Z")

</div>

Hello from the future. Yeah this is still comically broken. If I open the example VR scene and try to launch it, it starts compiling 3000 shaders (I’d guess from the MobileStarterContent folder that is part of the project). It takes forever, but none of those shaders are actually used!

They should _clearly_ be compiled lazily when needed. Doing everything up-front is insane. Very surprised they haven’t fixed this 3 years later. Just Google “unreal shader slow” to see how much of a problem it is. A disappointing number of replies are people thinking that this is a good design.

---

<div class="post-metadata">

**Author:** ![awethor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/awethor/32/88709_2.png) [@awethor](https://forums.unrealengine.com/u/awethor)\
**Post date:** [October 9, 2021, 4:31am UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/20 "2021-10-09T04:31:04Z")

</div>

Trying Unreal out for the first time. Packaging the blank default scene for my Oculus Quest 2. It’s taking ages to compile thousands of shaders. This software is not for me.

---

<div class="post-metadata">

**Author:** ![Sky001](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sky001/32/1092299_2.png) [@Sky001](https://forums.unrealengine.com/u/Sky001)\
**Post date:** [October 11, 2021, 6:41am UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/21 "2021-10-11T06:41:12Z")

</div>

When i export a blank app with the source version, the packaging process includes to build nearly 1900 modules which takes 20-40 Minutes rip 😃

---

<div class="post-metadata">

**Author:** ![AleMarcati](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alemarcati/32/1139690_2.png) [@AleMarcati](https://forums.unrealengine.com/u/AleMarcati)\
**Post date:** [June 16, 2022, 6:28pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/22 "2022-06-16T18:28:24Z")

</div>

I don’t understand why starting a new blank project without starter content still has to compile 6,000+ shaders. Pretty annoying.

---

<div class="post-metadata">

**Author:** ![martinhanus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@martinhanus](https://forums.unrealengine.com/u/martinhanus)\
**Post date:** [November 12, 2022, 10:22pm UTC](https://forums.unrealengine.com/t/compiling-2600-shaders-although-empty-project-empty-level-normal/87506/23 "2022-11-12T22:22:00Z")

</div>

year 2022 and I have same problem in UE 4.27 :-/ moving in viewport is fluent with my old computer in unreal engine but i dont understanding compiling thousand of shaders which i dont need in blank project 😕
