GetHitResultUnderCursor sometimes isn't working

So i’ve been using this function for a while at had no problems but today I decided to raise my camera high above the map and it started causing trouble. From time to time the hit result does not happen and it returns location as 0,0,0

It’s used all over my project but I made a simple demonstration in the controller. This is attached to a tick event, and I am simply printing a string whenever the vector is really low (below 1 in length which shouldn’t normally happen).
You can also see the demonstration in a gif below.

https://gfycat.com/BigLankyBarasingha

How can I solve this? Thanks.

Have you tried setting the “Trace Visibility” to “Camera”?

Ockert.

Thanks for the reply. I just checked and it’s still the same. Building channel only blocks the terrain anyway.

Just did a test myself , changing Visibility to Camera ,fixed it for me.

If that did not work for you , I hope someone else could be of more help.

Ockert