Unity provides a great deal of support for UWP, including configuration of device capabilities. We need to enable a bunch of them for HoloLens as shown ahead:
- If you have the Build Settings window open, press the Player Settings... button. Or, you can get there from Edit | Project Settings | Player.
- Look across at the Inspector panel, which now contains the player settings.
- Find the Publishing Settings group of parameters and click on the header bar (if it's not already opened) to find the Capabilities pane. Ensure all the following items are enabled (checked):
- InternetClient - for Vuforia's cloud target database
- PicturesLibrary - for PhotoCapture camera frame functionality
- MusicLibrary - for VideoCapture ...