Bug w/ 2019.4.5f1 & XR Plugin & SetStereoViewMatrix

steps are simple and reproducible:

  • create project in at least 2019.4.5f1
  • Turn on XR Plugin provider “Windows Mixed Reality”. Default settings for the WMR
  • turn Main Camera into XRRig
  • Add game object, and to it a script

in the script, do this:

public class TestScript : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        Matrix4x4 m = Camera.main.worldToCameraMatrix; 
        Camera.main.SetStereoViewMatrix((Camera.StereoscopicEye)0, m);
        Camera.main.SetStereoViewMatrix((Camera.StereoscopicEye)1, m);
    }

    // Update is called once per frame
    void Update()
    {
       
    }
}

play project.
Notice ton of error messages. Seemingly bad ones.

also present in 2010.1.0F1.

Also the same even if you duplicate the code in the manual page for SetStereoViewMatrix.

I am using Windows XR Plugin 4.0.2, and XR Plugin Management 3.2.13.