Log in or register to post comments

Unity Vuforia AR Camera crashes on macOS Catalina

March 16, 2020 - 2:52pm #1

Hi, I'm super new to vuforia and unity. I recently updated my mac to Catalina. Whenever I add the vuforia AR camera to Unity and press Play, it causes Unity to crash and close. Is this just an issue with Catalina? I tried it on another computer that has High Sierra and it works fine. Anything I can do to fix it? Thank you.

Unity Vuforia AR Camera crashes on macOS Catalina

March 18, 2020 - 2:24am #6

Hi,

Please make sure that Unity/ Unity hub has permissions granted for the camera.

If this doesn't work, please go over following responses:

https://developer.vuforia.com/forum/unity/unity-crashing-play#comment-70793

or

https://developer.vuforia.com/forum/unity/unity-crashing-play#comment-70224

Thank you.

Vuforia Engine Support

 

Unity Vuforia AR Camera crashes on macOS Catalina

March 17, 2020 - 11:17pm #5

Im in the same situation.........

Unity Vuforia AR Camera crashes on macOS Catalina

March 17, 2020 - 4:52pm #4

Hi Juniette11,



I have recently dealt with your exact issue, Unity would crash the moment it would try to activate a WebCamTexture, so using Vuforia AR Cameras is impossible.



This is actually a Unity issue, and a workaround does exist here: https://issuetracker.unity3d.com/issues/osx-unity-fails-to-ask-camera-permission-and-crashes-on-privacy-violation

The problem here appears to be that if Unity is installed through Unity Hub, the Editor will not be able to ask for permission to use the camera and would crash due to a privacy violation (in some cases, it's very inconsistent). Following the steps in the workaround (deleting Unity Hub, moving your Unity Install to your Documents folder and opening the Editor from there) and using Vuforia should allow Unity to ask permission for the camera and not crash.



I hope this addresses your issue! This was very frustrating for me!

Unity Vuforia AR Camera crashes on macOS Catalina

March 17, 2020 - 2:59pm #3

Hi, thank you. There isn't an option to add permission for any application there. It only says "apps that have requested access to your camera will appear here."

 

Edit: AR Camera doesn't ask for permission when I add it either.

Unity Vuforia AR Camera crashes on macOS Catalina

March 17, 2020 - 12:34am #2

Hi,

The camera permission for Unity is missing, hence the crash. Go under System Preferences -> Security & Privacy -> Select Privacy from the tab-> Camera -> Select Unity/Unity Hub.

Thank you.

Vuforia Engine Support

 

Log in or register to post comments