Procedural Mesh Not Responding to Line Trace

Hi, Welcome to the forum!

On what version of UE are you working on?

If you are working on UE 5.4 or 5.5 you can use the Chaos Visual Debugger to confirm

  • The query is happening as you expect (you should have covered this with the use of debug draw)
  • The query is done with the params you expect
  • The physics engine has collision geometry for the mesh you created. If you don’t see in in CVD (for short) it means there mesh does not have collision. Given that you mention you can walk on it and other objects collide against it, I assume the collision geometry is correct, but CVD might help to confirm it.

In the 5.5 version of CVD you are also able to select an object inside CVD while holding the left shift key, and that will show you in the details panel the collision channel responses for that object as the Chaos sees it (which can help to see if the mesh has the collision channel Reponses you expect, and matches the query you are doing).

Here is the documentation for the 5.5 version Chaos Visual Debugger - User Guide for UE 5.5 | Tutorial.

For scene queries specifically

If you are using UE 5.4, there are less features available in CVD and the defaults are not ideal you need to make sure that the necessary Geometry visualization flags are enabled Chaos Visual Debugger - User Guide for UE 5.4 | Tutorial). But still should have most of the information needed available.