Developer Notes

User was missing the bReturnPhysicalMaterial flag in their code.

Description

Attempting to perform an is valid check on a physical material from a FHitResult returns invalid.

This does not occur when using a blueprint setup, it only seems to occur when using code.

Found in 4.10.4 binary. Reproduced in 4.11 Preview 8 and Main CL 2917742

Steps to Reproduce

1. Open the project located at: [Link Removed]
2. Open the output log (Window->Developer Tools->Output Log
3. Simulate

Result: Notice that in the output log, the Invalid Physical Material message is being printed (which the user added in their code when the IsValid check failed), which means that the IsValid check is failing on the material, even though there is one present on the mesh.

Expected: The IsValid check would succeed.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

By Design
ComponentUE - Gameplay
Affects Versions4.104.114.12
CreatedMar 22, 2016
ResolvedMar 23, 2016
UpdatedJul 14, 2021