When using a line trace in the construction script so that objects can return a value destructible meshes will not return a hit. This does not affect use in game with PIE or Standalone game, but if someone is using a blueprint to place assets this can cause issues as in this case.

Edit: This issue has spread and now affects traces outside of the editor as well. When testing in 4.19 and 4.20, this occurs in launched/packaged games as well.

Steps to Reproduce
  1. Create a new Blank Blueprint project
  2. Enable the Apex Destruction Plugin (Edit > Plugins) and restart
  3. Once the project reopened I selected the Shapes folder under Content in the content browser
  4. Right clicked on Shape_Cone and selected Create Destructible Mesh towards the top of the list (it should create a DM named "Shape_Cone_DM")
  5. Created a Blueprint based on Actor
  6. Set the BP up to do line trace via the construction script (see [Link Removed])
  7. Compiled the BP
  8. Placed the DM Shape_Cone_DM in the level
  9. Placed the line trace BP in the level above the ground and dragged it along X or Y axis (print string should be displaying "Floor" on each movement)
  10. Dragged the BP over the DM cone

Results: DMs will not register a hit result in the editor.

Expected: The DM will return a hit from a line trace

Have Comments or More Details?

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

Login to Vote

Won't Fix
CreatedJun 15, 2015
ResolvedAug 18, 2021
UpdatedAug 18, 2021