No announcement yet.

Almost impossible to work with materials, crazy slowdowns after an update.

  • Filter
  • Time
  • Show
Clear All
new posts

    Almost impossible to work with materials, crazy slowdowns after an update.

    Hello all, I have an issue with materials in UE4, I think it starts when I updated engine to 4.17 and till 4.22 this issue still exists. Every time when I modify material it starts to recompile the whole shader, and it takes near 70 seconds, even a simple change of color takes that long. I search every corner of Google to fix this problem, and there is no real solution. Can someone help me with this?

    My PC config
    - i7 3770k
    - 16gb ram
    - GTX 1070
    - Windows 10

    The amount of shaders that need to compile depends on the complexity and shading model of your material.
    It helps to use a SSD aswell

    What you want to do is to not "hardcode" the color, but instead use a Material Parameter which you can tweak in the Material Instance.
    When changing a color, it marks the Material and thus the shaders as outdated.
    This is not bad, that's actually good.


      I understand what you mean with best practices when working with shaders, but this is nothing to do with my problem.
      For example, me and my friend test how long it takes to change color in freshly created material with our current setups.

      Test example:
      -> create a new project -> create new material -> create V3 node and plug into base color -> compile shader -> change color.

      Me: 75 seconds
      He: 4 second

      he has less powerful setup than mine, but newer


        So it’s not just my imagination then as I've found it’s gotten a lot slower since some version after 4.15 im guessing. I had been using unreal up to around that point well over a year ago and since returning more recently everything takes ages to compile.

        Worse though is it causes whole system stuttering and even freezing at times which never happened before. This is pretty unacceptable behaviour to hog all the cpu to the point you can’t even browse the web or do basic tasks and have it running in the background. I was trying to find some way to lower cpu priority to fix this?

        The system hasn’t changed and everything else runs as good. So it’s got to be something different with the engine or possibly win10?

        4670k @ 4.4Ghz
        GTX 1080
        500GB SSD