Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

why does my project keep compiling shaders ?

I had the project open worked in it for a bit closed it

20 min later I re-open and its gotta re-compile 26,000 shaders ??? why what makes it need to recompile a shader . Where does it store this compiled shader info? and how can it lose connection that quickly . Its like a half hour process to recompile - its certainly not the most efficient scene but still

Product Version: UE 4.17
more ▼

asked Mar 28 '18 at 03:59 AM in Using UE4

avatar image

76 5 8 16

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

So this is normal, the shaders compile if there is no build data. as from the doc "UE4 compiles shaders asynchronously using a streaming system. Compile requests are enqueued when materials load that do not have a cached shader map, and compile results are applied as they become available, without blocking the engine. This is optimal in terms of load time and compile throughout, but it does mean that there are quite a few layers between the actual platform shader compile and the material that requested it." see more https://docs.unrealengine.com/en-us/Programming/Rendering/ShaderDevelopment

again "Once shaders are compiled, they are stored in the Derived Data Cache." so this would indicate that your end is either not caching correctly or something was removed of the important type. From experience I have seen this when the level isn't saved.

more ▼

answered Mar 28 '18 at 03:38 PM

avatar image

237 2 11 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question