Server Line Trace Hit But No Hit Actor

I’m trying to get the server to validate if the client has hit something. Firstly, the client runs the line trace and returns successful with the object at the target location printed on the screen.

When I try to run the same event afterwards with switch has authority (to check if the server sees the object at that location) it returns showing that something has been hit, but it fails to show a hit actor.

If i try to replicate the same thing with hit result under cursor, the trace fails when the server runs it. Below are the screenshots of the functions.

I’ve managed to fix the issue. Forgot to pass the location of the camera and box from the client to the server.