User was missing the bReturnPhysicalMaterial flag in their code.
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
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.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.10, 4.11, 4.12 |
Created | Mar 22, 2016 |
---|---|
Resolved | Mar 23, 2016 |
Updated | Jul 14, 2021 |