# Optimization View mode shader complexity is broken.

**URL:** <https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165>\
**Category:** Asset Creation\
**Tags:** Optimization, unreal-engine, UE5, bug-report, question\
**Created:** [June 1, 2024, 3:55pm UTC](https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165 "2024-06-01T15:55:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [June 1, 2024, 3:55pm UTC](https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165/1 "2024-06-01T15:55:53Z")

</div>

Optimization View mode shader complexity is broken. When i open up level instances for editing, or sometimes even open up a material all the colors change in the view mode for every object to differing colors. Sometimes there red… sometimes they turn light green. Its just not useable for any debugging whatsoever.

Anyone know why this is happening?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 1, 2024, 6:19pm UTC](https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165/2 "2024-06-01T18:19:05Z")

</div>

You mean like this?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/0/4b05d106a14701576762a9e2bc18bd4a8787d26e.jpeg)

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [June 1, 2024, 6:56pm UTC](https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165/3 "2024-06-01T18:56:11Z")

</div>

nah im talkn about the material complexity. That deals with instruction count and all that…

Like one second its light green… the next is dark red with no actual change. Just literaly right clicking a level instance and hitting edit… and it doesnt revert… or sometimes ith appens just opening a material.

---

<div class="post-metadata">

**Author:** ![ElizaGo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ElizaGo](https://forums.unrealengine.com/u/ElizaGo)\
**Post date:** [November 1, 2024, 3:05pm UTC](https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165/4 "2024-11-01T15:05:40Z")

</div>

I have this same issue in 5.4.4 VR template- the Shader Complexity shows everything is red. Here is a screenshot of the VR arena

 ![WitchTrial - Unreal Editor 11_1_2024 10_52_12 AM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/5/775d9f98982fbcd451152a669d8b5ef718037de3.png)

Any idea what is happening?

---

<div class="post-metadata">

**Author:** ![SoftField](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/softfield/32/987443_2.png) [@SoftField](https://forums.unrealengine.com/u/SoftField)\
**Post date:** [November 5, 2024, 1:36am UTC](https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165/5 "2024-11-05T01:36:32Z")

</div>

OMG, it’s default materials?

---

<div class="post-metadata">

**Author:** ![ElizaGo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ElizaGo](https://forums.unrealengine.com/u/ElizaGo)\
**Post date:** [November 7, 2024, 8:02pm UTC](https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165/6 "2024-11-07T20:02:25Z")

</div>

Yep. this is straight out of the box VR template arena. Nothing changed in project settings, materials, etc. this same scene in 5.3 shows as you would expect it, everything is green

---

<div class="post-metadata">

**Author:** ![SoftField](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/softfield/32/987443_2.png) [@SoftField](https://forums.unrealengine.com/u/SoftField)\
**Post date:** [November 10, 2024, 2:43pm UTC](https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165/7 "2024-11-10T14:43:30Z")

</div>

Can you show a stats graph? I mean where we can see a little bit more information about the scene with the number of draws etc.

---

<div class="post-metadata">

**Author:** ![Unreality](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unreality/32/585644_2.png) [@Unreality](https://forums.unrealengine.com/u/Unreality)\
**Post date:** [November 29, 2024, 7:21am UTC](https://forums.unrealengine.com/t/optimization-view-mode-shader-complexity-is-broken/1884165/8 "2024-11-29T07:21:10Z")

</div>

Got exactly the same issue … any answers to this yet?
