Search Unity

[Feature Request] Run As Administrator

Discussion in 'Unity Hub' started by GibTreaty, Jun 21, 2018.

Thread Status:
Not open for further replies.
  1. GibTreaty

    GibTreaty

    Joined:
    Aug 25, 2010
    Posts:
    792
    Could there be an option to have the Unity Hub open the editor in Administrator mode? The editor has to be opened in that mode in order to initialize the Steam API.
     
  2. afshinity

    afshinity

    Unity Technologies

    Joined:
    Jul 31, 2017
    Posts:
    334
    Hi there,

    Thank you for your feedback.
    Our product team constantly monitor the feedback requests and prioritize them.

    Best,
    Afshin
     
    GibTreaty likes this.
  3. lasercannon

    lasercannon

    Joined:
    Nov 29, 2012
    Posts:
    80
    Hello!

    I'll throw in that this also affects certain consoles that require us to run Unity in admin mode in order to automatically run their packaging batch files. Not fixing this more or less renders the Hub useless to us!

    Thanks,
    Bryant
     
    MLPedro and GibTreaty like this.
  4. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,501
    Just to let you know that in Windows10 if you are a User Standard type If I open the editor in Administrator mode, Unity looks different than not opening as an administrator. And the game compile or projects are different (looks different)
    As a workaround, you can give to the main project folder total control.
     
  5. derClef

    derClef

    Joined:
    Jun 20, 2017
    Posts:
    3
    It is possible (at least under Windows 10). A separate option in the Hub would be nice though.

    Here is how you do it:
    1. For this to work, Unity Hub also has to run as Administrator.
      • Go to the Installation folder of UnityHub and open properties (Alt + Enter) of
        UnityHub.exe
      • Open the "Compatibility" tab, there you will find a checkbox
        Run as administrator
    2. Now we can do the same for Unity.
      • Go to the "Editor" folder of the Unity installation you want to run as administrator.
      • Set Administrator settings for
        Unity.exe
        (see instructions above)
    3. Fully exit Unity and Unity Hub
    4. Restart Unity Hub, you should see the Windows dialogue for "Run as administrator"
    5. Open a project using the Unity version you customized. You won't get another "Run as administrator" prompt, but Unity will have Admin permissions.
     
    Last edited: Feb 26, 2019
    bing2, mgonzo421, wadidi and 7 others like this.
  6. HosseinArabbeigi

    HosseinArabbeigi

    Joined:
    May 7, 2014
    Posts:
    16
    Thanks for @derClef answer, but probably you have problem with dropping objects to unity, it happens when unity is running as admin, you can just cpy and past your files directly using explorer instead of direct dropping.
     
  7. Rugbug_Redfern

    Rugbug_Redfern

    Joined:
    Jun 2, 2017
    Posts:
    20
    Using this technique, Unity Hub opens as a blank window
    upload_2021-1-26_20-57-24.png
     
  8. a-chambriat

    a-chambriat

    Joined:
    Apr 27, 2014
    Posts:
    26
    same here, how to run unity editor as admin then ????
     
  9. cuxxie

    cuxxie

    Joined:
    Jan 5, 2020
    Posts:
    1
    same thing happened to me, after enabling to run as admin Unity Hub is showing blank window. But it is fixed after I close it and force kill all Unity's process from task manager
     
  10. UnityJuju

    UnityJuju

    Unity Technologies

    Joined:
    Jun 15, 2021
    Posts:
    221
    Hey folks!
    Thank you for raising this with us!
    As @afshinity said, we're constantly monitoring the feedbacks and bringing it to the Hub team.

    I'll close this thread as it's going for some time now, but feel free to create a new one for new issues, feature requests and whatnots.
     
Thread Status:
Not open for further replies.