###How to reproduce:
- Create a material
- Set it’s domain to User Interface (don’t know if it matters)
- Create a Texture Object Parameter
- Connect it into a Texture Sampler node
- Connect any Texture Sampler output into a material output pin (so the TextureSampler gets evaluated)
- Create a reroute node between the TexObject and the TextureSampler nodes
###Result:
The compiler complains about improper texture type (see bottom of attached image), even if both nodes use same Sampler Type.
###Expected:
No problems, like when the TextureObject is not a parameter (it works normally with reroute).
###Current workaround:
Use no reroutes.