Unity Crashing with Orbbec Astra

Last week I updated Windows 10 to version 1803 and now the Unity Editor crashes on play. It is logging
2018-06-11 10:15:38,451 ERROR [orbbec.ni.WmfDevice] Unable to activate device (HRESULT 0x80070005: “Access is denied.”)

I tried this with both my game and the built example from the website and both have Access is denied. I tried reinstalling the driver and restarting my computer. I just don’t know what is going on.

Ok I found out why.

Windows 10 now has an updated Privacy System Preferences where you can disable different services including Camera.

I had mine set off since I tend to turn off all permissions. I haven’t implemented any of the notification center api to ask permission so it would just fail out and crash the system.

SO! If you are having Access Violations and your program is crashing check your privacy settings.