Unreal engine version is 5.1 realesed. Here is my code:
And the linetrace results :
Camera location is (X=-668201130.265745,Y=905272.636728,Z=1688661572.820031)