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. 

UE4 4.21 Material Editor BUG

Hi!

I've been using 4.19 for a big project I'm doing work for hire for and the studio decided to switch to 4.21.

Thing is, everything works fine EXCEPT, the material editor. I've been working exactly the same way I was before and with the same materials and it worked perfectly previously.

Issues with 4.21:

First of all, materials are compiling REALLY and I mean REALLY slow, I have to wait at least a minute to compile simple shaders that in 4.19 took 5/6 seconds.

Second, when I make changes to any material, they won't be visible in the preview mesh in the top left viewport, they take like two minutes to show up, in 4.19 that was almost instant.

Last thing, switch parameters are sort of messed up. On my end, the engine is crashing each time I do the following: - use a switch parameter in a material (false value as default) - compile the material - create an instance of that material - change the value of that static parameter in the instance to true (this will remove the parameters that are not connected to the true chain - like if the switch was actually working - except that it does not change anything and ignore it - a few seconds later the engine just crashes

I'd appreciate anyone who sheds any light in my path.

Thanks!

Product Version: UE 4.21
Tags:
more ▼

asked Nov 21 '18 at 06:36 PM in Bug Reports

avatar image

Gabirobi03
13 2 5

avatar image Gabirobi03 Nov 23 '18 at 02:40 PM

Hey good idea, I'll try that today I'll tell you how that goes thanks!

avatar image nico77950 Nov 29 '18 at 04:06 PM

I've got exactly the same problem ! All works fine in 4.19 version but not on the 4.21.0 :/

avatar image Gabirobi03 Nov 30 '18 at 09:58 PM

I'm still having the issue, materials take about 3 to 9 minutes to compile it's making me lose hours of work

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

3 answers: sort voted first

Uninstall IncrediBuild, had the same problem and I'm happy to say this fixed it for me!

more ▼

answered Dec 04 '18 at 09:34 PM

avatar image

rorrimani
26 1 2 6

avatar image Gabirobi03 Dec 05 '18 at 04:33 PM

worked like a charm! thanks!

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

I would recommend starting by clearing out your Intermediate directory and your derived data cache. It's possible that you have intermediate artifacts from shader compilation on 4.19 that aren't compatible with 4.21. Very often when you encounter unexplained-seeming errors after an update, they're caused by leftover build artifacts.

more ▼

answered Nov 21 '18 at 06:45 PM

avatar image

KevODoom
176 5 8 19

avatar image Gabirobi03 Nov 25 '18 at 08:14 PM

didn't work :( thanks for the idea though!

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

Shaders compiling slower is a result of changes in the engine between mentioned versions. And it is pretty terrible. I suggest that you properly report the crash though.

more ▼

answered Nov 26 '18 at 12:02 AM

avatar image

Deathrey
7.8k 130 31 292

avatar image Gabirobi03 Nov 26 '18 at 07:16 PM

that's exactly what I didn't want to hear lol I hope they fix that soon - insert have some faith meme 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