Reroute from TexObjectParam to TextureSample error

###How to reproduce:

  1. Create a material
  2. Set it’s domain to User Interface (don’t know if it matters)
  3. Create a Texture Object Parameter
  4. Connect it into a Texture Sampler node
  5. Connect any Texture Sampler output into a material output pin (so the TextureSampler gets evaluated)
  6. 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.

Hey Rvillani,

Thanks for taking the time to report this issue. I was able to verify your report a went ahead and entered a bug ticket to have it addressed.

UE-43521

Once the issue has been addressed by our engineers it will be reflected on the public issues tracker. Please keep track of this issue in order to find out when it will be fixed.

Thanks,