Found same question in the forum but i dont understand how its solved since im new at unreal.
https://answers.unrealengine.com/questions/603292/line-trace-always-horizontal-on-client.html
Im using the basic Linetrace graph you can find on youtube tutorials, in the editor i swtch to 2 players, and run as listen server.
Server works fine, line trace hits where the camera/hud is placed.
On client line trace is always horizontal line even if the client camera is looking up