Description

Doing a line trace on a landscape does not return the correct physical material unless "Generate Overlap Events" was enabled after changing the physical material. If the physical material on the landscape is changed, then "Generate Overlap Events" must be unchecked and checked again to produce the correct result.

Found in CL# 4.19 4033788, 4.20 CL# 4233996, 4.21 CL# 4275031

Maybe be similar to [Link Removed]

Steps to Reproduce
  1. Open attached project
  2. Select the landscape and set its physical material to FirstPM
  3. Simulate in editor
  4. Change the landscape physical material to SecondPM
  5. Simulate in editor again

Results:
The line trace will return FirstPM rather than SecondPM.

Expected:
The line trace should return the proper physical material that is set

Have Comments or More Details?

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

5
Login to Vote

Cannot Reproduce
ComponentUE - Simulation - Physics
Affects Versions4.194.204.21
Target Fix4.26
CreatedAug 13, 2018
ResolvedSep 25, 2020
UpdatedSep 25, 2020
View Jira Issue