Landscape PhysMat only returns Default

I am trying to play sounds for every footstep but when line tracing my landscape, the surface type will always return Default. The issue only happens on landscapes. Static meshes with the Grass PhysMat work fine. Trying to print the value of the surface type gives me the following compiler error:

Enum to String has invalid enum value
‘0’

Things I’ve done:

  • Created a new Surface Type called Grass
  • Made a PhysMat with the Grass type assigned to it
  • Assigned the PhysMat to the landscape and the landscape material
  • Restarted the editor

I have another project I converted to 4.12 that also has the same functions but it works for that project. Maybe something is wrong with my current project? I’ve tried to replicate the same settings from the old one but to no avail.

Any ideas on what is causing this?

Did you manage to fix this? I’m having the same issue in 4.15 and can’t find any solution.

For everyone new to this post !
What you 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à.

Ohhh thank you! Spent at least 3 hours for googling and trying to fix by myself and only this thing helped!

I can confirm that this is the fix! Even while using landscape layers in an auto landscape material, this works. Although, I did have to restart my editor for it to take effect.