How can we help?

< All Topics

Add proper permissions to your Unity3D application

Unity doesn’t automatically provide permissions for apps to access Hololens restricted features, so you need to add these manually. Please follow these steps:

  1. Once you have built the application in Unity3D, open it in Visual Studio normally
  2. Right click on Package.appxmanifest and open it with XML editor/view code
  3. Add the restricted capabilities in the <Package /> section:
  4. Make sure to add it also to the ignore list part: IgnorableNamespaces=”….. rescap”
  5. Add the correct entry to the <Capabilities /> section for the SensorsExperimental:
    <rescap:Capability Name=”perceptionSensorsExperimental” />

To read the official documentation, check it out from: restricted-capabilities