Error X3004 Issue

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’

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,

Hi Andrew, this is it,

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,

Hi Andrew,

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

Thank you

Mathias

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

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

Cheers,