In all previous versions of Unity, "Center of Screen" can be determined by calling either this for non-vr mode:
Or using EyeTextureWidth/Height when VR Mode is enabled:
Now, in Unity 5.6.1, neither one of these will return the correct "center of screen" position as needed for raycasting with...
[Unity 5.6.1] Determine "Center of Screen" for Raycasting
Or using EyeTextureWidth/Height when VR Mode is enabled:
Code (CSharp):
[Unity 5.6.1] Determine "Center of Screen" for Raycasting