Material Layer Blend Error

So I’m trying to just make a mesh blend with the landscape with runtime virtual textures, like countless videos show online. But this one connection keeps throwing up an error (but doesn’t on any videos I follow) - Is this an engine bug?
Seems like I cant connect MakeMaterialAttributes to BlendMaterialAttributes


Or else the runtime Virtual Texture Sample can’t connect to the MakeMaterialAttributes Node…

Seems that both sides will connect to MakeMaterialAttributes without error but trying to pass the information through MakeMaterialAttributes will not work, yet this is how it’s done in every single video??

Has anyone else experienced this? Perhaps there is a new checkbox where I need to allow this connection?
Note: I’ve tried this on fresh projects using 5.2 and 5.4 - same issue

I have created a fresh project with only this in it so you can see the code being used. Open M_MS_Default_Material (Content/MSPresets/M_MS_Default_Material) to see the error.

https://drive.google.com/drive/folders/1ZLWkUxZAS2u5o5hmK8yGjmRL0E_Vr_GF?usp=sharing

2 things:
1: instead of MakeMaterialAttributes I used SetMaterialAttributes and that seemed to remove the error.
2: I didn’t have Use Virtual Textures checked in the settings.

Hopefully that helps someone else in the future.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.