Compiling shaders after some weeks the project hasn't been opened

Hi all,

Probably a silly question, buy why after some time that I didn’t open a project (say a month or two), it starts to compile all shaders on start? I didn’t change the project location or did anything special, just didn’t open that project for a while and everything was compiled and finished the last time I closed it.

It happened with several projects.

Many thanks

Diego

The compiled shaders are stored in a folder somewhere in your user’s AppData folder (on Windows). Maybe it was cleared/deleted or you are using a different user?

Thank you. I think it probably has to do with the deleted folder. I will look into it next time to check.

My apologies for not replying to you sooner, I didn’t receive an email notification from your answer.

For anyone that comes down with a similar issue, it turns out this happens after a major Windows update for some reason.

New GPU drivers and Windows updates that affect DirectX cause compiled shaders to become invalid and need to be recompiled.

What we have to deal with to use DirectX 12 (or just never update anything).

1 Like