@RVillani (RVillani) posted a new topic, subject "Reroute from TexObjectParam to TextureSample error". It read:

   ###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.
    
    132267-material-reroute-bug.jpg889×316 34.1 KB

Then @AndrewHurley (AndrewHurley) said

    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,
    
    Andrew Hurley


{'source': 'discourse', 'url': 'https://forums.unrealengine.com/t/reroute-from-texobjectparam-to-texturesample-error/389524', 'title': 'Reroute from TexObjectParam to TextureSample error', 'views': 160, 'has_accepted_answer': True, 'word_count': 198, 'like_count': 0, 'reply_count': 1, 'participant_count': 2, 'posts': 2, 'tags': 'question materials-textures workaround', 'author': '@RVillani (RVillani)', 'participants': '@RVillani (RVillani), @AndrewHurley (AndrewHurley)', 'image_url': ['https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/a/ecab37db89c2698ad0d307d8cdbd1b9e5143accf.jpeg'], 'created_at': '2017-03-30T20:35:54.000Z', 'last_posted_at': '2017-03-31T16:17:40.000Z'}