Physical Material on Landscapes Not Working

When I place a material with a Physical Material on a landscape, the Physical Material no longer works. If I take that same material and apply it to a static mesh, the Physics Material works.

To make sure it wasn’t a problem with my Physical Material, I loaded up the Generic Shooter kit and applied the default materials from the kit to the landscape and I got the same results. Applying my material to the static meshes in that kit resulted in my material working as expected.

I have spoken to Allar and we have both concluded that this seems like an engine bug as neither Allar or I can see anything in the code that excludes landscapes.

1 Like

Hey qdelpeche,

Would you mind providing me with some simple reproducible steps so I can get this issue to occur on my end in a blank project?

Just to clarify, you are referring to the Physical Material correct?

Thanks,

I basically reproduced it like the above question.

I have a blank project, add a new landscape, added a new material, assigned a physical material to the landscape and did a ray trace. It never returns my physical material.

It does work on static meshes as expected … so I am very confused now.

http://puu.sh/kLkbE/897836d276.PNG

http://puu.sh/kLkdo/c85ad5a272.PNG

http://puu.sh/kLkeQ/a67278fb69.PNG

http://puu.sh/kLkkR/3707f09a87.PNG

can you show a pic of how you setup your landscape material

It is the landscape and material from the Ultimate Rocks pack: Ultimate Rocks in Props - UE Marketplace

You have to add the Physical Material to the Material you are using. In the second screenshot you provided, it looks like you haven’t added the physical material there.

Try this and let me know if you are still experiencing the same result.

Thanks,

Wow … I am so convinced I tried that. Thank you very much, that worked. I feel so stupid now. 8-{

This feature is still busted, I have tried every recommended “solution” to this problem, both on AnswerHub and on the forums

yeah, physical materials not working for me. Followed all the steps, landscape still not returning right physical mat

Can you provide me with steps to reproduce the issue on my end?

Have you taken a look at our documentation on how to set up Physical Materials?

Let me know if you have further questions.

Cheers,

Found another very easy mistake…you must check the “Generates Overlap Events” on the landscape actor in the level, as discussed here:

This helped me out. Gotta say though, doesn’t seem like this is an intended/intuitive behavior, as I’m not seeing the link between generating overlap events and the physical material being returned on a query.

yeah…no idea why this is required O_o

Hi All,

If anybody is still having issues with this, despite trying the “Generates Overlap Events” solution, please see my comment at the bottom of this thread:

https://answers.unrealengine.com/questions/178127/default-physical-material-bug-on-landscape-patches.html#answer-617562

Hi All,

If anybody is still having issues with this, despite trying the “Generates Overlap Events” solution, please see my comment at the bottom of this thread:

https://answers.unrealengine.com/questions/178127/default-physical-material-bug-on-landscape-patches.html#answer-617562

This looks like a bug… A little more info:
sculpting a segment updates the physics material for that section
Checking and unchecking “generate overlap events” results in the new physics material working

From this, it seems that either action causes the collision to be updated, making this a bug, as the collision should be updated when changing physics material

For everyone new to this post !
What you may need to do is :

  1. Go to your landscape collision settings.

  2. Set “Simple Collision Mip Level” to a value more than “Collision Mip Level”, example : “Collision Mip level = 0”,
    “Simple Collision Mip level = 1” (Simply doing that worked for me).

Voilà.

This fixed it for me!

I was having this same issue. Checked Generate Overlap Events, unchecked - works!

1 Like

Hey everybody! My problem was related to the “No Foliage” layer, the Landscape is actually trying to get the physical material from it. I will try a workaround this

Hope this help someone

“Clear Layer” it works for me