Jump to content

Use Depth Image to Occlude Virtual Objects in Unity


pablocael

Recommended Posts

Hi there! I am trying to run https://github.com/ViveSoftware/ViveSRWorksHand with Unity 2018.2.16f1 and SRWorks v0.8.0.2. At runtime it throws

 

NullReferenceException: Object reference not set to an instance of an object
Vive.Plugin.SR.ViveSR_DualCameraImageCapture.GetDepthTexture (UnityEngine.Texture2D& imageDepth, System.Int32& frameIndex, System.Int32& timeIndex, UnityEngine.Matrix4x4& pose) (at Assets/ViveSR/Scripts/ViveSR_DualCameraImageCapture.cs:364)
Vive.Plugin.SR.ViveSR_DepthWarp.Start () (at Assets/ViveSR/Scripts/ViveSR_DepthWarp.cs:44)

 

Can somebody tell me what I have to do to solve it?

 

Thanks

Link to comment
Share on other sites

  • Replies 20
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...