Search Unity

Unity 5.6.2 PhotoCapture error PhotoCapture requires running on at least Windows 8.1. on Windows 10

Discussion in 'VR' started by leakyelf, Jul 26, 2017.

  1. leakyelf

    leakyelf

    Joined:
    Jul 19, 2017
    Posts:
    2
    Help, Either this is a legitimate bug or i'm doing something wrong.

    Reproduce:
    Install Unity 5.6.2
    Install windows 10 SDK
    Install Emulator
    git clone https://github.com/JannikLassahn/hololens-photocapture
    open in Unity and run


    Warning: failed to create Windows::Media::Capture::MediaCapture object. PhotoCapture requires running on at least Windows 8.1.
    UnityEngine.VR.WSA.WebCam.PhotoCapture:CreateAsync(Boolean, OnCaptureResourceCreatedCallback)
    PhotoManager:Start() (at Assets/Scripts/PhotoManager.cs:42)
     
  2. leakyelf

    leakyelf

    Joined:
    Jul 19, 2017
    Posts:
    2

    Absolut Symptom:
    Open camera app in windows and verify web cam can work correctly.

    Resolution: Install media pack for the correct windows version.

    Lessons: Unity version 5.6.2f1 is the best version to use for holoLens with releases for holoKit (July/25/2017). No need to look at the 2017* versions. Parallels issues are not related either, as long as share camera with windows is enabled, if not the webcam test will uncover it.

    Events that resulted in the Issue.

    Windows comes in KN(Korea) N (Europe) because of ant-trust rulings .

    Essentially this means that the media features for windows have been extracted out for korea and Europe

    The media pack is required to be able to interface with a camera in windows. Settings -> system -> About should easly inform you if you have an N or KN version of windows. And doesn't go away after media pack install for April (v1703) version

    Getting the media pack