Description

Debug Lines can be seen through objects that occlude them at certain camera angles.

Repro Rate: 3/3

Tested this in //UE4/Release-4.27 @ CL#18319896 and the issue did not occur there, it is a regression.

Steps to Reproduce
  1. Create a new Third Person BP project
  2. Open up BP_ThirdPersonCharacter
  3. In the Event Graph, add the Event Tick node
  4. Drag from the execution and add the Draw Debug Line node
    • Ensure the Duration and Thickness is set to zero
    • Set the line color to one that is easily visible
  5. Right-Click in empty space and add a Get Actor Location node
  6. Connect the Return Value of that node to the Line Start input pin
  7. Play in Editor
    • You should now see a line being drawn towards the location (0,0,0) in the world from your character.
  8. Head behind an obstacle/mesh that makes the line go through the object.
  9. Look at different angles

Results: Debug Line Trace can be seen through the object at certain angles.
Expected: Debug Line Trace cannot be seen while an object is overlapping it.

Have Comments or More Details?

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

2
Login to Vote

Cannot Reproduce
ComponentUE - Graphics Features
Affects Versions5.0
Target Fix5.1
CreatedApr 28, 2022
ResolvedMay 4, 2022
UpdatedMay 4, 2022
View Jira Issue