Problem with WorldToScreenPoint()

Hi, I would like to use worldtoscreenpoint() but the point it returns when having the camera in rotation is incorrect.

For example when the cube is at position.x = 8, and the camera is at 38 degrees rotation y, with the camera looking cube LookAt()

what’s the position that it returns?

You could try debugging this by using Physics.SphereCast in the gizmos to display the result.