Get Number of shaders compiling in game

I want to make a loading screen wich deletes itself after all shaders have compiled.
Is there a way to get the number of compiling shaders in game?

2 Likes

After you package your game, there will be no more shader compilation.

1 Like

okay thanks :slight_smile:

1 Like

Hey folks,

i m sorry but that is actually not true. See screenshot of my game, which is packaged in UE 5.03 (for shipping) and is live on the steam store.
I find this thread becouse i m also looking for a solution. Need a loading screen, and wait for all players to finish the shader compiling. At the moment, player which start the game for the first time, see the gray default checker textures for a while until the ā€œpreparing shadersā€ā€¦ is gone.

Do someone know how to get this value, how many textures, shaders ā€¦ are left?

Screenshot_3

Did you package it with the launcher?

Thereā€™s a problem with UE5 at the moment, if you package from the menu, it doesnā€™t cook a shipping release.

( You can tell, because the console will still work ).

Hey ClockworkOcean,

first of, thanks for you response <3

i know that i can block the messages by package a shipping build. But new pc / new players still see the gray checkerboard for a while, so the shader compiling thing is still going onā€¦ specially when i switch to a new level with other assets, which are not used in the main menu for example. I have a slower test PC with a old i5 and it takes 30 seconds.
So i m pretty sure that shader compiling is a thing.

I assume itā€™s gonna be something to do with the options, but I have no idea which one.

Did you choose ā€˜cook by the bookā€™ ( Iā€™m leaning toward that one )?

Ok, i see you are sure about it. Let me package a new shipped build and upload that. I will come back to this thread to make things clear. Thank you

To be clear, Iā€™m not sure about it :slight_smile:

But your problem is the content hasnā€™t been cooked.

I notice that is possible from the menu, maybe itā€™s ok if you do that way, but youā€™ll still need to set the options in the project settings.

Ok, my last test release was a normal package set to ā€œDebugGameā€.
Since i upload a shipping package i canā€™t see it. So you are right.
i will watch this in the future and come back when i see something different.
Thank you and sorry for the confusion.

1 Like

Itā€™s not obvious. An area for Epic to focus onā€¦

1 Like