# \[Feature Request\] Automatic material instancing (copy-on-write)

**URL:** <https://forums.unrealengine.com/t/feature-request-automatic-material-instancing-copy-on-write/319197>\
**Category:** Rendering\
**Tags:** static-mesh-editor, FeatureRequest, unreal-engine, question\
**Created:** [May 20, 2015, 8:47am UTC](https://forums.unrealengine.com/t/feature-request-automatic-material-instancing-copy-on-write/319197 "2015-05-20T08:47:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [May 20, 2015, 8:47am UTC](https://forums.unrealengine.com/t/feature-request-automatic-material-instancing-copy-on-write/319197/1 "2015-05-20T08:47:46Z")

</div>

Hi there,

currently, it’s a little bit awkward to handle parameterized materials. Let’s say you have a basic material like ‘M\_plastic\_master’ with parameters for base color, (texture and normal)-scale, and maybe a static switch like ‘scratched’ or something.

The very cool thing about such a material is, that you can use it many times in different meshes in different versions without additional compiliation or memory cost.

**But in practise, this is quite complicated:**

- Assign material
- Seing the scale or the color isn’t quite right for this mesh
- Switching to content browser, browse to the material master
- Create an instance (and move it to the right place)
- Configure it
- Switch back to static mesh editor
- Assign this new material
- (Repeat for each material which isn’t already perfectly configured for this particular mesh)

**It would be EXTREMELY helpful, it just could work like this instead:**

- Click on _expand_ icon (or similar) after each assigned material
- (List gets expanded, showing the editable parameters of this material
- If the user make changes, _silently create and assign a new material instance in the background_ (not shown in the content browser) and _save it together with this mesh_ (just like collisions and other settings)
- All changes should instantly be visible (like it’s already the case with all material instances)

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/4/0c409774abd1ffa2363d425a446b7f7cb34a778f.png)  
With this workflow, you could now **just assign your base materials and configure them right away** which would not only be much easier but also leaps ahead in terms of speed. If there is already a material instance assigned, you could either directly manipulate it (which affects ALL meshes using this instance) or directly creating a copy individually for this mesh. The other way around it should be possible to save a copy of this instance if you want to use it for other meshes, too.

Another thing:

When I first tried to changed a material parameter with blueprint I almost went crazy because it simply had no effect.  
Why? Because I had to create a _dynamic material instance reference_ in the construction script first and re-assign that to the mesh first. **It would be very helpful, if the engine could do this automatically when you access a parameter of a material the first time** , making this process completely transparent for the user.

So, basically, UE4 should ONLY use material instances in the background. 🙂

Many thanks and keep on the great work,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [May 22, 2015, 6:11pm UTC](https://forums.unrealengine.com/t/feature-request-automatic-material-instancing-copy-on-write/319197/2 "2015-05-22T18:11:31Z")

</div>

Hmm, until now I got absolutely _no reaction at all_, it’s the same with all other ones (with one exception which ‘was already suggested before’. Is someone even reading this…?

- [Feature suggestion: Show line to ground with move tool - Feedback & Requests - Epic Developer Community Forums](https://answers.unrealengine.com/questions/212703/feature-suggestion-show-line-to-ground-with-move-t.html) → No reaction
- [Feature suggestion: Private event nodes - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/216166/feature-suggestion-private-event-nodes.html) → No reaction
- [[Feature Request] Blueprint: Make array of selection - Feedback & Requests - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?69113-Feature-Request-Blueprint-Make-array-of-selection) → No reaction
- [Snap-delete for execution nodes in blueprint - Feedback & Requests - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?68956-Snap-delete-for-execution-nodes-in-blueprint) → No reaction

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [June 22, 2015, 5:08pm UTC](https://forums.unrealengine.com/t/feature-request-automatic-material-instancing-copy-on-write/319197/3 "2015-06-22T17:08:13Z")

</div>

Another friendly bump.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [September 4, 2015, 9:58am UTC](https://forums.unrealengine.com/t/feature-request-automatic-material-instancing-copy-on-write/319197/4 "2015-09-04T09:58:30Z")

</div>

Hmm, ok… Was hoping for at least _some_ kind of reaction.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fdea5598](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fdea5598](https://forums.unrealengine.com/u/anonymous_user_fdea5598)\
**Post date:** [January 25, 2016, 11:53am UTC](https://forums.unrealengine.com/t/feature-request-automatic-material-instancing-copy-on-write/319197/5 "2016-01-25T11:53:40Z")

</div>

Hey it is unfortunate that this was not picked up by anyone from Epic. We had a similar workflow concern and I have raised this with Epic elsewhere. Will let you know once I hear back from them 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [January 25, 2016, 4:10pm UTC](https://forums.unrealengine.com/t/feature-request-automatic-material-instancing-copy-on-write/319197/6 "2016-01-25T16:10:30Z")

</div>

Many thanks, so not all hope is lost… 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [October 12, 2016, 2:44pm UTC](https://forums.unrealengine.com/t/feature-request-automatic-material-instancing-copy-on-write/319197/7 "2016-10-12T14:44:24Z")

</div>

Ok, _now_ all hope is lost.
