Search Unity

PhotoCapture in 2019.4.4f1 doesn't work on HoloLens

Discussion in 'AR/VR (XR) Discussion' started by oyousef, Aug 18, 2020.

  1. oyousef

    oyousef

    Joined:
    Aug 17, 2020
    Posts:
    2
    I'd like to capture images from the HoloLens in my project, but version 2019.4 no longer contains the PhotoCapture class under the UnityEngine.XR.WSA namespace. I've tried the UnityEngine.Windows.WebCam.PhotoCapture class but this only works with my PC webcam, even when remoting and fully building to the HoloLens. I've tried going back to version 2019.1 which has the UnityEngine.XR.WSA.PhotoCapture class but this brings other issues with outdated packages. Is there a solution for 2019.4 or 2020.1?