# Error X3004 Issue

**URL:** <https://forums.unrealengine.com/t/error-x3004-issue/364595>\
**Category:** Rendering\
**Tags:** unreal-engine, bug-report, editor, question\
**Created:** [July 20, 2016, 4:08pm UTC](https://forums.unrealengine.com/t/error-x3004-issue/364595 "2016-07-20T16:08:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![conorsully](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@conorsully](https://forums.unrealengine.com/u/conorsully)\
**Post date:** [July 20, 2016, 4:08pm UTC](https://forums.unrealengine.com/t/error-x3004-issue/364595/1 "2016-07-20T16:08:20Z")

</div>

So I am currently trying to set up a material function below so that I can override all the materials with one general material using a material collection, I was following a tutorial and I have set it up exactly like the tutorial but I’ve got this lovely error message. [SM5] Material.usf(1563,27): error X3004 undeclared identifier ‘Local10’

 ![99294-errorscreenshot.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/0/5c061a5f1fce412a24fd579627674c30a05236a4.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [July 20, 2016, 5:40pm UTC](https://forums.unrealengine.com/t/error-x3004-issue/364595/2 "2016-07-20T17:40:27Z")

</div>

Hello conorsully,

Can you provide me with a link to the tutorial so I can follow along as well to figure out what could be causing this error message?

Thanks,

---

<div class="post-metadata">

**Author:** ![conorsully](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@conorsully](https://forums.unrealengine.com/u/conorsully)\
**Post date:** [July 21, 2016, 4:29pm UTC](https://forums.unrealengine.com/t/error-x3004-issue/364595/3 "2016-07-21T16:29:15Z")

</div>

Hi Andrew, this is it,

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/f/94fd3095c2fc4197fee79c4aed59908e9574ada3.jpeg "UE4 - Snow Cover - Material Parameter Collections") ](https://www.youtube.com/watch?v=8VPGRczD1rk)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [July 21, 2016, 8:20pm UTC](https://forums.unrealengine.com/t/error-x3004-issue/364595/4 "2016-07-21T20:20:38Z")

</div>

So I followed the tutorial and was able to reproduce the issue on my end as well. I have gone ahead and entered a bug report for the issue, UE-33649. Once the issue has been addressed by our engineers, the fix will be added to the release notes for fixed issues within an upcoming full engine or hotfix release.

Let me know if you have further questions or need additional assistance.

Thanks,

---

<div class="post-metadata">

**Author:** ![user37337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user37337](https://forums.unrealengine.com/u/user37337)\
**Post date:** [August 19, 2016, 12:08pm UTC](https://forums.unrealengine.com/t/error-x3004-issue/364595/5 "2016-08-19T12:08:33Z")

</div>

Hi Andrew,

I also run into that issue. Is there any workaround to use it in 4.12.5?

Thank you

Mathias

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [August 19, 2016, 2:05pm UTC](https://forums.unrealengine.com/t/error-x3004-issue/364595/6 "2016-08-19T14:05:09Z")

</div>

Unfortunately, I do not know of a workaround at the moment. You can check this in 4.13 Preview 2 though to verify the fix made is working. Below is a link to the issue on the public tracker page.

**[UE-33649](https://issues.unrealengine.com/issue/UE-33649)**

Let me know if you have further questions or need additional assistance.

Cheers,
