# UE recompiles shaders on every frame of rendering

**URL:** <https://forums.unrealengine.com/t/ue-recompiles-shaders-on-every-frame-of-rendering/2156255>\
**Category:** Rendering\
**Tags:** unreal-engine, Substrate, Rendering, question\
**Created:** [November 28, 2024, 1:33pm UTC](https://forums.unrealengine.com/t/ue-recompiles-shaders-on-every-frame-of-rendering/2156255 "2024-11-28T13:33:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kidt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kidt/32/639186_2.png) [@Kidt](https://forums.unrealengine.com/u/Kidt)\
**Post date:** [November 28, 2024, 1:33pm UTC](https://forums.unrealengine.com/t/ue-recompiles-shaders-on-every-frame-of-rendering/2156255/1 "2024-11-28T13:33:12Z")

</div>

```auto
LogShaderCompilers: Warning: Failed to compile Material /Engine/Transient.Footage CaptureData Material for platform PCD3D_SM6, Default Material will be used in game.
  /Engine/Private/SlateElementPixelShader.usf:168:58: error: no member named 'GetFrontSubstrateHeader' in 'FMaterialPixelParameters'
            FSubstratePixelHeader SubstratePixelHeader = Parameters.GetFrontSubstrateHeader();
                                                         ~~~~~~~~~~ ^
  /Engine/Private/SlateElementPixelShader.usf:169:50: error: no member named 'SubstrateTree' in 'FSubstratePixelHeader'
            FSubstrateBSDF UnlitBSDF = SubstratePixelHeader.SubstrateTree.BSDFs[0];

```

So yeah, basically what the title says. Usually this problem can be resolved by fixing a “bad” material but this time the issue is related to Substrate. Once I turn it off in the project settings, all the scenes will render fine.

It will even occur in a completely empty map which is super strange.

Any tips? I couldn’t find anything on Discord, Reddit or UE forums.

---

<div class="post-metadata">

**Author:** ![jblackwell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jblackwell](https://forums.unrealengine.com/u/jblackwell)\
**Post date:** [November 28, 2024, 4:15pm UTC](https://forums.unrealengine.com/t/ue-recompiles-shaders-on-every-frame-of-rendering/2156255/2 "2024-11-28T16:15:59Z")

</div>

Considering that substrate is still in Beta, I’m not sure there’s much you can do except tell the substrate devs and ask for a fix. Even though substrate ostensibly has parity with the old path now, I’m still finding significant problems.

---

<div class="post-metadata">

**Author:** ![Kidt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kidt/32/639186_2.png) [@Kidt](https://forums.unrealengine.com/u/Kidt)\
**Post date:** [December 12, 2024, 8:23pm UTC](https://forums.unrealengine.com/t/ue-recompiles-shaders-on-every-frame-of-rendering/2156255/3 "2024-12-12T20:23:49Z")

</div>

Update: To anyone still struggling with this issue, **try disabling the Metahuman plugin**. This issue is known to EPIC and will be investigated.
