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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Shaders compile after nearly every material alteration

Hey! I had the same problem with the 4.1 version of the engine. It got solved, now we have the 4.2 version and it's back again. I am just sitting here, playing with the material editor tools and the engine compiles thousands of shaders...

Old Thread: https://answers.unrealengine.com/questions/33016/reduce-shaders-who-get-compiled.html

New Video example: https://www.youtube.com/watch?v=uzHpL5mhl3M&feature=youtu.be https://www.dropbox.com/s/h9wrk1kwsmxsgn9/Unreal%20Engine%204%20Shader%20compilation%20bug.avi

Zip Download (recommended) https://www.dropbox.com/s/3hbnteox85n8cmz/Unreal%20Engine%204%20Shader%20compilation%20bug.zip

If the video quality is too low I can make a better one!

Product Version: Not Selected
Tags:
more ▼

asked Jun 13 '14 at 04:03 PM in Bug Reports

avatar image

Skullwing
256 20 15 23

avatar image Adam Davis STAFF Jun 17 '14 at 04:55 PM

Hi Skullwing,

I watched the video and can see what you mean! Did this start occurring immediately after 4.2? Does this occur in a clean project with no additional content?

avatar image Skullwing Jun 18 '14 at 12:29 AM

I am not sure I think this type of the bug was present in 4.1.1 too, I think they just removed that, it gets compiled if you add constants and so on. Unfortunately I didn't work a lot with 4.1.1, I just recognized that the old bug was gone.

I saw today that it happens when I add devide, multiply and these components... and the absloute world position component... probably it happens with a lot more components, but these are the ones which I know who cause the material to compile.

And yes it happens in blank projects too.

avatar image Adam Davis STAFF Jun 18 '14 at 01:03 PM

Could you post your dxdiag here? Thank you!

avatar image Skullwing Jun 18 '14 at 01:51 PM

The dxdiag.h?

I had to pack it because it was not allowed to upload it, it's a zip file now.

[1]: /storage/temp/8688-dxdiag.zip

dxdiag.zip (1.9 kB)
avatar image Adam Davis STAFF Jun 18 '14 at 01:59 PM

Not exactly, The dxdiag I need is pretty easy to get, just follow these steps:

Go to start>search>cmd

Once you open the cmd prompt window, type dxdiag and hit enter. This will pullup the information I need. Thank you!

avatar image Skullwing Jun 18 '14 at 02:09 PM

Oh, that is a problem ^^ Some time ago I screwed something up and the most of my cmd commands don't work anymore, neither does this one.

avatar image Skullwing Jun 18 '14 at 02:13 PM

Okay, fixed it.

[1]: /storage/temp/8689-dxdiag.txt

dxdiag.txt (83.2 kB)
avatar image Skullwing Jun 19 '14 at 06:17 AM

As a test, I resetup my whole computer and installed the engine again, but I just had to add a panner and he started compiling again...

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

3 answers: sort voted first

Okay, I think I solved the problem for me. At the moment it works, I had to deactivate the real time protection of GData for the engine. I guess while it's compiling shaders the engine changes a lot of files, which causes GData to slow everything down.

more ▼

answered Jun 27 '14 at 10:08 PM

avatar image

Skullwing
256 20 15 23

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

Hi Skullwing,

It appears that this is a known issue and it is currently under assessment to find a suitable fix.

more ▼

answered Jun 21 '14 at 02:49 PM

avatar image reinux Jun 27 '14 at 01:31 AM

Is there a workaround? I have the same issue in both 4.2.1 and 4.1.2.

avatar image Adam Davis STAFF Jun 27 '14 at 01:51 PM

At present no, we are assessing the bug and will let the public know when we do have a workaround or a fix available.

avatar image Skullwing Jun 27 '14 at 02:10 PM

If this helps and you don't know it, I couldn't really test it, but I think this doesn't appear on Windows 7, just on Windows 8.

avatar image Adam Davis STAFF Jun 27 '14 at 05:40 PM

Thank you for the information, I will add a note into the bug report!

avatar image reinux Jun 27 '14 at 10:29 PM

@Skullwing Can you elaborate? When you say GData, do you mean disabling Windows Defender from checking game data?

avatar image Skullwing Jun 27 '14 at 10:51 PM

Not exactly, I never thought I have to explain to somebody what GData is. https://www.gdata.de/

http://imageshack.com/a/img820/6753/bbm4.png

Short: GData is an antivirus program, it's real time protection is checking the files while the engine is compiling to make sure that everything is alright. This slows the whole system down, because it uses around 60% of the CPU. It's unusual for GData to cause problems, due to that fact I didn't think about it earlier.

avatar image reinux Jun 27 '14 at 10:55 PM

Ahh, thanks. Must be a different problem for me then, because I tried disabling Windows Defender with the same suspicion and had no success.

avatar image Skullwing Jun 27 '14 at 10:58 PM

Maybe you have another program installed which checks files?

avatar image reinux Jun 27 '14 at 11:33 PM

Yeah, possibly, though I turned off everything I could think of and moved the project onto an SSD and it's still doing the same thing... hmm...

avatar image Skullwing Jun 28 '14 at 08:57 AM

You could resetup your computer, just install basic drivers and try again.

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

answered Mar 18 '15 at 02:25 PM

avatar image

Missu
300 13 8 27

avatar image kurylo3d Jan 08 '18 at 09:21 PM

video is unavailable... was there something useful here?

(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