# Override Materials doesn't work with UPROPERTY

**URL:** <https://forums.unrealengine.com/t/override-materials-doesnt-work-with-uproperty/394193>\
**Category:** C++\
**Tags:** unreal-engine, editor, CPP, question\
**Created:** [May 21, 2017, 6:23pm UTC](https://forums.unrealengine.com/t/override-materials-doesnt-work-with-uproperty/394193 "2017-05-21T18:23:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magicianek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Magicianek](https://forums.unrealengine.com/u/Magicianek)\
**Post date:** [May 21, 2017, 6:23pm UTC](https://forums.unrealengine.com/t/override-materials-doesnt-work-with-uproperty/394193/1 "2017-05-21T18:23:36Z")

</div>

I created property in C++

```
UPROPERTY(EditAnywhere, BlueprintReadWrite)
UStaticMeshComponent* Mesh;

```

Next configured it in editor. Adds Element on Override Materials option in Editor doesn’t work, after click nothing happens.  
Works on 4.15

 ![138620-meshmaterials.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/8/298c00885900fd8bc656130bd4f267ab3fbcf0c9.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [May 23, 2017, 12:14pm UTC](https://forums.unrealengine.com/t/override-materials-doesnt-work-with-uproperty/394193/2 "2017-05-23T12:14:49Z")

</div>

Hey Matii-

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here [Unreal Engine Issues and Bug Tracker (UE-45306)](https://issues.unrealengine.com/issue/UE-45306) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers

---

<div class="post-metadata">

**Author:** ![InTrusta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@InTrusta](https://forums.unrealengine.com/u/InTrusta)\
**Post date:** [October 20, 2017, 2:54pm UTC](https://forums.unrealengine.com/t/override-materials-doesnt-work-with-uproperty/394193/3 "2017-10-20T14:54:35Z")

</div>

I am having the same issue on 4.16.3. Even though the bug tracker says it´s “Fixed”, the bug is still existing.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [October 20, 2017, 3:23pm UTC](https://forums.unrealengine.com/t/override-materials-doesnt-work-with-uproperty/394193/4 "2017-10-20T15:23:04Z")

</div>

Hey InTrusta-

This issue was fixed in 4.17. If you upgrade your project to the latest engine version, you should be able to work around this issue.

---

<div class="post-metadata">

**Author:** ![ashe23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ashe23](https://forums.unrealengine.com/u/ashe23)\
**Post date:** [July 10, 2018, 11:33am UTC](https://forums.unrealengine.com/t/override-materials-doesnt-work-with-uproperty/394193/5 "2018-07-10T11:33:30Z")

</div>

The issue still exists in 4.19

---

<div class="post-metadata">

**Author:** ![AtlanticaWorlds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/atlanticaworlds/32/926144_2.png) [@AtlanticaWorlds](https://forums.unrealengine.com/u/AtlanticaWorlds)\
**Post date:** [April 27, 2021, 4:48am UTC](https://forums.unrealengine.com/t/override-materials-doesnt-work-with-uproperty/394193/6 "2021-04-27T04:48:15Z")

</div>

This still exists in 4.26.
