Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent the bloated official UnityHub from launching automatically? #28

Open
joethephish opened this issue Jan 26, 2023 · 4 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@joethephish
Copy link

I suspect this may be something that can't be controlled, but I find that what happens is:

  • I launch UnityHubNative on Mac and it's deliciously fast. I tell it to open my project.
  • My project launches correctly in Unity, hooray!
  • But then the official UnityHub opens automatically too 😫

I guess this is something on the Unity side, I don't suppose there is anything we can do to prevent it? (I guess I could just delete it! But I'd like to keep it around just in case...)

@Ravbug
Copy link
Owner

Ravbug commented Jan 26, 2023

I am not aware of any way to prevent the official hub from launching other than by deleting it. If you (or anyone else) learns of a way, please let me know.

@Ravbug Ravbug added enhancement New feature or request help wanted Extra attention is needed labels Jan 26, 2023
@runevision
Copy link

runevision commented Jan 28, 2023

I deleted the official hub which works nicely for launching projects without it opening, but unfortunately this seems to make it impossible to use the Asset Store. When I open the Asset Store and click on the My Assets button I get the dialog:

Install Unity Hub
You must install the Unity Hub to sign in and use Unity services. [Later] [Install]

It might be worth noting in the feature list on the readme page that "Manage Unity licenses" does not imply that one can sign in and use services such as the Asset Store.

@pioj
Copy link

pioj commented Jan 29, 2023

Well, Unity probably makes use of the Hub to fetch the user account's session, in order for the Editor to subscribe the packageManager/AssetStore tab later.

but, having the Unity Staff habits in mind, I suspect that data to be located in a file or a Registry key. It's only a matter of locating it and use it.

I don't think it would be a good idea to get ride of UnityHub completely, thus encouraging the Staff to eventually come with new ways to obfuscate this data into your computer. Just run HubNative as a complement is good enough.

@unitycoder
Copy link

i'm interested on this also, found out that if you create special IPC port (same name as hub uses),
then Editor wont launch hub (but you are then logged out too)..
unitycoder/UnityLauncherPro#95 (comment)

still chasing it, on how to reply for unity editor, from your dummy IPC port, with the correct authorization-code..

One workaround is also temporarily rename hub.exe, so its easier to enable it back when needed (no need to install/uninstall)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants