So I have a single line trace that starts from the player location and ends where the mouse points in world space. The issue is that most of the time the line trace fails for no real reason, sometimes it’s as easy as moving the mouse a pixel to the left and sometimes it refuses to work at all.
This is the blueprint for the trace.
And this is how it can look sometimes when I try it.
Do anyone know what’s causing the issue? Because I have no idea at all. The world location and mouse location does get updated, it’s just that the trace fails. I’ve tried different traces and the same thing happens and I’ve tried object trace instead of channel trace and it’s the same thing there too. Everything fires and works as I’ve got print strings to check if the trace worked or not. From what I can tell it does seem that tracing to static geometry instead of the landscape do have a higher success rate.