I have received a warning popup stating that Unity Hub would like to access my Photos. Why does it need this access? Please see attachment for more details. Thanks
Did you check your computer for viruses?
Do you use packages that need to access your photos?
No.
No
Has anyone else experienced this? Also, apparently Unity Hub has requested access to my Contacts and Camera.
Yes, I have â itâs requested access to Photos and Microphone for me â both of which we use in our app being developed in Unity.
I believe itâs because Unity Hub is the Parent Process for the Unity Editor instances running, and so permissions for Photos or Microphone in your project would be tied to Unity Hub:
The reason youâve never seen this BEFORE, with say, pre-Unity Hub, is because macOS Mojave just recently added these permissions.
I didnât know there was such a thing as Parent Process. Thanks for the info @MechEthan .
You bet. It should be added to an FAQ, because its really not obvious.
@joeksy @Charles_Beauchemin May I suggest a pinned FAQ post?
Starting content:
- (Please?)
-
Bug report guidelines (e.g. what version, what OS, attach logs snippet)
-
Log file locations:
-
Windows:
%UserProfile%\AppData\Roaming\UnityHub\logs
-
Mac:
~/Library/Application support/UnityHub/logs
-
macOS Mojave will prompt you to give Unity Hub various access permissions because it is the parent process of your Unity editor projects that use those permissions.
-
Unity Hub is optional, you can always launch Unity with command-line arguments: https://docs.unity3d.com/Manual/CommandLineArguments.html
-
Yes, we plan to add a âRelease Notesâ button next to each Unity version. (This could be its own pinned topic! lol)
-
etc.
(Also, the âHub Preview Documentationâ is way out of date.)
very good idea! weâll do this.
OMG! Thank you Ethan_VisualVocal for clearing this up.
Couldnât understand why my Unity project was hanging on Play after updating OS to Mojave! I wasnât getting the request from Unity Hub so Unity was just hanging. Only after I ran a demo scene did Unity Hub ask for permissions. Now my scene runs as expected.
This really needs to be made common knowledge.
Thanks again Ethan_VisualVocal. Legend!
Hey @MechEthan is there any way to force/manually set Unity Hub permissions?
Iâm still not getting asked permissions when running my Unity projects, so Unity just hangs and a have to force quit.
Also where is the window showing Unity Hub is the Parent Process you have a screenshot of?
Not that I know of, but: You may have accidentally caused a permission to get declined, in which case it wonât ask again and will result in Unity just hanging like you describe.
Review your permissions under macOS âSystem Preferences > Security & Privacy > Privacyâ and enable any for Unity Hub that are disabled:
Itâs called âActivity Monitorâ â press the ( i ) button to get that dialog for your selected process.
I am having the same problem. Unity Hub is not asking for microphone permissions, nor is the Unity editor, despite the fact that I am using the microphone in an app. Unity and Unity Hub do not appear in the âSystem Preferences > Security & Privacy > Privacyâ dialog, so there is no way to fix this. Do I have to re-install Unity from scratch? Any workaround?
@TimeWalk-org Yuck, Iâm out of ideas. What macOS version are you running? Also: definitely, definitely file a bug report through the Unity Hub âReport a bugâ tool, found under your account dropdown menu in the upper right.
@Charles_Beauchemin Any chance the ânot asking for mic permissions on macOSâ is a known bug?
Unity Hub just tried to access my Downloads & Desktop, that was concerning.
but turns out it was because I dropped in a blender file, it opens blender, which then tries to access my desktop+downloads (I never opened it before).
⌠just in case this freaks someone else out in the future
My setup and chronology of events:
- New Mac (no projects on machine).
- Fresh download of Unity Hub.
- Installed Unity Hub.
- Logged into Unity Hub (no projects added yet, âProjectsâ screen shows âNo projects yetâ).
- Installed âUnity Editor 2022.3.10f1â and âiOS support packageâ through Unity Hub.
- After the above install completed, Unity Hub automatically asks for permissions to access:
Desktop, Downloads, Photos.
The above leads me to believe that the permission requests are not project-specific, in fact that they are not tied to a project at all.
UPDATE:
I blocked all 3 requests and was still able to publish a game for iOS, so those permissions were certainly not necessary, at least in my case. Unity didnât freeze at all, for me. The game doesnât use any special features, except: In-App Purchasing, Unity Ads.