Description

The physical material returned from the hit results of a line trace done on a Landscape using a physical material is not always correct.

Steps to Reproduce
  1. Create a Landscape leaving the default material.
  2. Add a line trace to the level BP that outputs the Physical Material from the hit result.
  3. Hit PIE
  4. Note the resulting Physical Material returned.
  5. Create a physical material.
  6. Create a landscape material:
    1. Add a layer.
    2. Add a Landscape Physical Material Output node sampling the landscape layer and set its physical material to the one created.
  7. Assign the material to the landscape and create a layer info while making sure to assign the physical material to it.
  8. Build landscape.
  9. Hit PIE
  10. Notice the resulting Physical Material returned is the same from step 4 and not the one created on step 5.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-149381 in the post.

9
Login to Vote

Unresolved
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions5.0
Target Fix5.6
CreatedApr 18, 2022
UpdatedOct 16, 2024
View Jira Issue