Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

[Solved] WebCamTexture.Play() stops SteamVR tracking

$
0
0
Hello,

Whenever I call WebCamTexture.Play(), my headset stops tracking.

I have a simple scene, all it contains is the camera rig, a ground plane, and a plane intended to be textured with the front facing camera. I have the following attached to the second plane:

Code (CSharp):
  1.     void Start () {
  2.        WebCamTexture webCamTexture = new WebCamTexture();
  3.  
  4.        MeshRenderer mr = this.GetComponent<MeshRenderer>();
  5.  
  6.        mr.material.mainTexture = webCamTexture;...
[Solved] WebCamTexture.Play() stops SteamVR tracking

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>