Im using 4.27.2 version.
Im working on a material that creates various types of patterns for medieval flags.
I was very happy with it because of how complex it is and the variety it can create all using just the same material.
I made a video about it, so you can see exactly the problem im dealing with:
And a forum post about it yesterday:
Everything was going fine. Until i had to add the Per Instance Custom Data values.
I started getting these errors that i cant understand where they are coming from:
[SM5] /Engine/Private/LightmapData.ush(48,3-41): warning X3550: array reference cannot be used as an l-value; not natively addressable, forcing loop to unroll
[SM5] /Engine/Private/LocalVertexFactory.ush(890,3-70): warning X4000: use of potentially uninitialized variable ((unknown))
[SM5] /Engine/Private/LocalVertexFactoryCommon.ush(27,28-38): error X4503: output TEXCOORD4 used more than once
And they happen precisely when i plug these 2 values:
If i unplug them the material doesnt give any errors.
But they are essential for the material. They set the number of stripes and the thickness of the stripes in the flag.
I googled for a solution and came accross this post:
All the solutions provided in the comments didn’t work.
What should i do?
Should i split this material in 2 maybe?