x

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"

4.18.2 shaders compiling every map open

Hi, this seems to have started overnight, it wasnt there in 4.18.1 and the update seems to cause every map opening to have to compile 11,000 shaders. Thats far too many for effecient work, and as it seems to have appeared only after the update, i feel something strange may be happening, Does anyone else have this, and are there any solutions?

Product Version: UE 4.18
Tags:
more ▼

asked Dec 15 '17 at 01:03 PM in Bug Reports

avatar image

TalkingHead
46 2 4 9

avatar image TalkingHead Dec 15 '17 at 02:09 PM

HELP PLEASE! The problem just multiplied. Ive lost about 50 hours of work just now due to this compiler bug!!! Please can you talk me through step by step restoring a backup from the saves directory. As i cant seem to open it with 'open map.' And when i copy the map file from backups to the main content file there are no assets in the rifht hand window?!

HELP. Very distresses. the full story on the situtaion is : I wondered if there was a problem in file names after the 18.2 update, ie i had 5 versions of xxx build data, for old projects i had duplicated and then renamed and added to; all in the same directory for one map folder. I had none for the proejcts that kept compiling textures every time i opened the map, even though i clicked. I logically thought there was a file name error and that my map was building textures evenr time i open vut saving them under the wrong map name, due to sme unknown 18.2 bug. I thus what seemed logicaly deleted what looked like 5 suprious verisins of xxx map build data, only for ALL the maps to be deleted along with it. 1 i think this is unforgivable file control on epics part. Deleting one file to have it delete another as well is lunacy. 2 this only happened due to the 4.18.2 update i think as it was not doing this , compiling 11,000 items every map open, 48 hours ago. 3 i cant lose 50 hours of work and wouod REALLY appreciate how to resolve this!!!

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

2 answers: sort voted first

Developer Jon X on the forums says to

"For those having this issue with the shaders compiling, try deleting the folder AppData\Local\UnrealEngine\Common\DerivedDataCache ."

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1374252-unreal-engine-4-18-released?p=1399359#post1399359

It definitely help my project, I would have 35k materials compiling anytime any map would open. I only tested opening my project twice after deleting the cache. once to build everything, and once to see if it would compile again after. It didn't but it did take forever to actually open the first time.

more ▼

answered Dec 15 '17 at 03:27 PM

avatar image

SaxonRah
328 11 11 28

avatar image Jon X ♦♦ STAFF Dec 15 '17 at 08:48 PM

Hey TalkingHead, Please try the suggestion above and let us know if it works.

avatar image riuthamus Dec 16 '17 at 10:03 AM

The above process worked for me and my team! 4.18.2 with p4

avatar image shrikky Jan 26 '18 at 06:11 PM

Thanks this worked for me too !!

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

I deleted the folder but still it is compiling shaders.. any other ideas? please help

more ▼

answered Mar 13 '18 at 07:41 AM

avatar image

RaviTeja1212
1 1

avatar image Haoris Oct 13 '18 at 11:07 PM

Same here. I rebuild the engine from source and the problem still happen. - Open a map : Shaders compile - Wait compilation to finish (until there's no ShaderCompilerWorker.exe in the process) - Save the map and exit - Reopen the same map : Shaders compile

I tryed deleting the temp folders in the engine folder and in the project folder. There's more than 200Gb of free space on the SSD where both the engine and the project are installed.

(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