# Material Editor causing cook errors

**URL:** <https://forums.unrealengine.com/t/material-editor-causing-cook-errors/1277580>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [August 30, 2023, 12:04pm UTC](https://forums.unrealengine.com/t/material-editor-causing-cook-errors/1277580 "2023-08-30T12:04:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![5Daydreams](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@5Daydreams](https://forums.unrealengine.com/u/5Daydreams)\
**Post date:** [August 30, 2023, 12:04pm UTC](https://forums.unrealengine.com/t/material-editor-causing-cook-errors/1277580/1 "2023-08-30T12:04:44Z")

</div>

I am currently experiencing something extremely unsettling - I have a very complex shader which, when included in my level, completely breaks my project.

I get an error which states my cooking time took too long. Can the complexity of a material really cause such a crash?

And if so, how come do I not get a shader compile timeout, but a cook-error timeout?

---

<div class="post-metadata">

**Author:** ![Hardcawcanary](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hardcawcanary/32/906569_2.png) [@Hardcawcanary](https://forums.unrealengine.com/u/Hardcawcanary)\
**Post date:** [August 30, 2023, 12:12pm UTC](https://forums.unrealengine.com/t/material-editor-causing-cook-errors/1277580/2 "2023-08-30T12:12:25Z")

</div>

This may have something to do with it

> [@Critical - SceneColor node not allowed](https://forums.unrealengine.com/t/critical-scenecolor-node-not-allowed/1272208/2):
>
> Hi, In 26.00 we made it an error to use SceneColor without adding handling for platforms where it wasn’t supported. Prior to 26.00 it wasn’t an error, but users on those platforms would have seen visual issues. This change should have been called out in release notes, apologies. To use SceneColor (or any other nodes that aren’t supported on mobile/Switch) just use the FeatureLevelSwitch to supply a different default value for those platforms. E.g in this image the default value is from Scene…

---

<div class="post-metadata">

**Author:** ![5Daydreams](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@5Daydreams](https://forums.unrealengine.com/u/5Daydreams)\
**Post date:** [August 30, 2023, 12:17pm UTC](https://forums.unrealengine.com/t/material-editor-causing-cook-errors/1277580/3 "2023-08-30T12:17:58Z")

</div>

I have checked that particular thread, and I had a different error back when the SceneColour was the bug, now my error messages have to do with cooking, not material or ES3\_1 - I have seen those keywords and fixed all errors that seem to fit that

---

<div class="post-metadata">

**Author:** ![Stevie-Moon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stevie-moon/32/701656_2.png) [@Stevie-Moon](https://forums.unrealengine.com/u/Stevie-Moon)\
**Post date:** [August 30, 2023, 1:22pm UTC](https://forums.unrealengine.com/t/material-editor-causing-cook-errors/1277580/4 "2023-08-30T13:22:56Z")

</div>

@5Daydreams Thank you for your report! Can you please re-post using the “New Issue” option on the [Issues and Bug Reporting forums](https://forums.unrealengine.com/tags/c/general/issues-and-bug-reporting/172/fortnite)? Posts with this feature are connected directly into our development team so we can quickly get to them!For more information, such as how to get the reference ID, please check out the article here: [https://create.fortnite.com/news/using-the-creative-and-uefn-bug-reporting-form](https://create.fortnite.com/news/using-the-creative-and-uefn-bug-reporting-form)
