Unity Hub doesn't work with "Run this program in administrator mode"

Hi there!

On Windows 10, Unity Hub starts up as an empty window if I have “Run this program as an administrator” checked in the .exe properties. Strangely, it works when I right-click->Run As Administrator.

My other problem right now is that I can’t open up any Unity versions from Unity Hub that have “Run this program as an administrator” checked, even when I right-click->run as administrator for Unity Hub. I need to run Unity in administrator mode in order to make certain console builds.

Not a huge deal since I can open the needed version myself, but I would love to see this fixed!

2 Likes

This problem still persists. Unity needs to run as Admin else it cannot load Visual Studio, the Hub needs Admin else it cannot open Unity, but the Hub renders an empty window when run as Admin via the compatibility checkbox.
Going back to opening Unity directly circumvents this.

Still an issue. Surprised this hasn’t been fixed given how often people need to run VS as administrator.

This is a pretty bad bug. I’m trying to update sdks but unity needs admin access to do so.

2 Likes

Still happening as of Unity Editor 2019.1.0f1 and UnityHub 1.6.1

1 Like

It runs now but it never launched the editor in admin mode

yeah cant install an extension(next gen soft shadows) because of this, instant fix needed, if you launch the exe it just launches the hub exe in admin mode which in turn launches the client in normal mode, never receiving admin rights.

1 Like

Many issues happen because Unity is not running on admin mode. Unity Hub must be on admin mode to run Unity in admin mode.

Issue starts that Unity Hub does not start on Admin mode.

Still not fixed with lastest version to this day.

2 Likes

2019.1.3 and UnityHub 2.0 but still happens… cant run as administrator.

I’ve seen no reply here nor in other similar threads. This is a major problem…and the lack of fixes–or even a status update–is infuriating.

I believe that not being able to run the editor (2019.1.9f1) as administrator is what’s causing a file copy failure for an exe file when I try to import the Firebase.Auth (6.2.0) asset package. If I check “Run this program as administrator” in the compatibility settings for my editor executable, the hub fails to launch the editor.

Also, I’m trying to import a Cinema 4d file into Unity, however, Unity needs to automatically import a Cinema 4D plug-in the first time it’s run. I consistently get ‘Cinema 4D Converter plugin installation failed. Please run Unity as an Administrator to have the plugin installed’. And yet, there is no way for me to run Unity as admin :frowning:

Hello ! I will ask the team to look into this… It may be a bug, thank you for your feedback :slight_smile:

1 Like

It sounds like a bug. Please report this in the Unity Hub and give as many details as possible!

a lot of things went REALLY WRONG!!!
1st Hub will not open any editor launcher with administrator access;
2cnd All the Unity Editors .exe files immediately hook and Launch Unity HUB;
3rd Even removing completely the HUB from my computer, they BOUND your accesss to asetstore and editor license to UNITYHUB!!!
4th most of the assets that try to replace many of the files on the editor intall folder fail due to the lack of administrator power like NGSS and Stylized soft shadows and many other i purchased on the Assetstore!

2 Likes

Yeah !
I have a pro version and I’m not able anymore to launch my project because of this stupid Hub.
The hub is not able to upgrade my project to the new unity version.
When I run the hub as administrator, I have a blank window.

What are you doing unity ?

Chiming in on this thread as a definite problem. There are a lot of situations in which Visual Studio needs to always be run as administrator which means the Unity Editor needs to be able to run as admin to launch it. This in turn means Unity Hub needs to be able to also run as admin AND launch programs with admin privilege. Without this functionality it’s completely useless to a good number of developers.

1 Like

Yes, this is a real problem. I was forced into a situation which meant I had to upgrade Unity which forced me into using Hub and now I cannot run as Administrator. Now just waiting for everything to fall apart.

I found a workaround for the problem: Go to the folder of the unity.exe (i.e. C:\Program Files\Unity\Hub\Editor\2019.1.12f1\Editor) right click-> properties of the exe → compatibility → run as administrator. Now the exe will always be run as administrator. You need to close all unity hub instances, and now run unity hub as administrator / or just run unity.exe. Unity Hub will then run as administrator + start unity in administrator mode :slight_smile:

4 Likes

I had tried that but it didn’t work. I will try again in case something has changed. Thanks.

This was what I tried first a few days ago and it didn’t work, have they just recently updated the Unity Hub? For me even launching the Hub as an admin didn’t let me launch the editor also with admin rights.