MAC with Unity Hub - How do I prevent Unity icon from persisting in dock?

Alright…this may seem trivial to some, but oh boy I am going insane.

I use Unity Hub to launch/manage my unity projects.
Whenever I launch a project, an instance of Unity is launched and a Unity icon appears next to my Unity Hub icon in my dock (as expected).

However, when I close Unity, the Unity icon STAYS IN THE DOCK instead of disappearing (like every other non-docked program). I am constantly switching between projects, so my dock can get clogged super quick, and I feel it is so maddeningly stupid annoying to have to remove EACH icon instance from my dock, when they should kindly just remove themselves like every other program :rage::wink:

I’ve only encountered this behavior launching through Unity Hub. When I open Unity through Unity (not UNITY HUB), and close the program, the icon is removed from the dock as expected.

SPECS:
Macbook Pro Retina
OS Mojave 10.14.4
Unity Hub (latest version)
Unity (various versions)

PLEASE NOTE:

  • “recent programs” in dock is DISABLED
  • When I right-click on the Unity icon in the dock “keep in dock” is UNCHECKED (ALL options are unchecked)

MY GOAL: Make Unity icons (when UNITY is launched from the UNITY HUB) to remove themselves from the dock

2 Likes

On Windows, Unity Hub doesn’t close when you launch a project. Instead, it minimizes to the tray but otherwise remains running. I have to right-click the icon and select Quit Unity Hub in order for it to go away.

It sounds to me like this is what you are experiencing, especially since it doesn’t happen when you don’t use the Hub. I think the icon in the dock that you are seeing is the minimized Unity Hub icon.

But I don’t have experience with Unity on MacOS, so please excuse the unhelpfulness of this post if I am wrong.

Hi there,

This feature and similar ones were asked many times, and sometimes what users are asking are contradictory.
That’s why we are going to introduce a set of preferences for the hub behavior after the editor launch.

Best,
Afshin

1 Like

Thank you for your response. I am on a Mac, and the Unity Hub Icon looks different from the Unity application icon. (hub being a white square with the unity icon, and the unity app being the unity icon freestanding). I do not expect my HUB icon to go away, in fact that is the ONLY one that should stay persistent, as I have it set to “stay in dock”. The issue is that each instance of the UNITY APP opened THROUGH the Hub creates a new unity app icon on the dock that PERSISTS after the application and hub are closed. If i open a project through unity, and then close that project, the icon goes away. it is only instances opened through the hub that behave this way.

NONE of these Unity App instances are set to stay in the dock. The standard behavior on my machine is for non-docked apps to remove themselves when the application is closed.

I work at a studio where I switch between 12 or so different projects on any given day. EACH unique instance creates an a unity app icon that persists after both the app and hub are closed. It is NOT useful to me to keep these instances in my dock as they create tons of clutter. I know I can remove it by right-clicking, but that gets real tedious real fast with my workload.

It feels like something in the Hub is overriding my dock settings, and it feels like a super annoying bug rather than a feature. I was really hoping there was a setting or a script I could toggle to just make it behave the way it is supposed to.

Thank you for your reply, that’s good news! Could you specify what/when you mean by “the editor launch”? And also where might I find info/release notes when available? I’m sure I’m missing something major, but I can never find info on the Hub outside search results that pull up blog posts. :face_with_spiral_eyes:

Thanks again!

Afshin means that part of the preferences you set are about how the hub behavior would be after opening a project and will apply once you open a project and an editor is launched.
@Charles_Beauchemin : Where can the users find the release notes about new versions/features ?

Normally, we post the release notes to this channel when a new version is released. It seems it was skipped for 2.0.1, which I just added:
https://discussions.unity.com/t/743151/2

Hi Charles, I’m sorry I still don’t understand. I looked at the release notes, I did not see anything I recognized as addressing my question. Could you be more specific on where I can find the information I’m looking for?

Unity hub 2.2.2 icon is huge in MacOS.

I have the same issue

Bump. This is annoying.

Bump. Still occurring in 2021.

1 Like

Bump… this is still happening in 2022, and it’s annoying.
Just to quote the OP:

Make Unity icons (when UNITY is launched from the UNITY HUB) to remove themselves from the dock

1 Like

Remove Apps from Dock After QuittingHow to Remove Mac Apps from Dock After Quitting - MashTips

This worked for me.

1 Like

Bump. STILL occurring in 2023 and I am so tired of removing the Unity icon every single time from my dock after closing my project. Please, do something about this °_°

Note: I do have “keep recent programs in dock” disabled, just as msantamaria, so scciobotaru’s answer does not work for me

EDIT: This seems to be a macOS issue, as some other programs also stay in the dock after closing. Even people on the latest hardware and software report this problem

hub not loading and persisting in dock!?

I’ll jump in and revive this ancient post… Unity still acting anti-macOS like. It is extremely frustrating.

Each start of Unity app:

  • opens Unity Hub (please no, but ok :confused: )
  • Hub now opens my project in a new instance of Unity app.
  • god forbid I moved the icon of Unity app into place where i prefer in the dock (it is now permanent in my dock, as is default macOS behavior. Normally this would be OK except that Hub insists opening a new instance of Unity app even though the dock already has the icon for Unity app. So now I have to delete the previous app in the dock and reposition the new one).

This probably means nothing to a Windows user, but a Mac user will understand what the issue is.

Each project open .. the cycle repeats.
This is a minor issue but it is happening so often with complete reproducibility - it is VERY annoying.

I am so much against hub, but that is beside the point.
Loading a new Unity app in the dock each time you launch a project is … at least weird. And behavior is like nothing else on Mac. No consistency with ALL the other apps. That’s a lot of apps. And Unity just - works different.

Hi @kreso

Could you elaborate? I just opened the Hub, opened 6.3, closed it, and quit the Hub. I don’t see persisting Editor or Hub icons.

Screenshot for proof:

We’d be happy to look into improving this if we can replicate!

Note: I’m using Unity Editor 6.3 and Unity Hub 3.15

2 Likes

Thanks so much for responding @christophera_unity

I just tried reproducing the issue so I can grab a screenshot but had no success.
I guess the issue has resolve itself after years of being there (it happened even earlier today).

I guess all that was needed was for you to respond, and that fixed it :slight_smile:

I installed 6.3 recently today, maybe the Hub got updated as well. (I looked at release notes for hub but couldn’t say if this issue was addressed in the latest update).

Old behavior:
Move the Unity icon around in the dock (while Unity project is open).
This will tell MacOS to leave the icon in the Dock after you quit the app (Keep in Dock checkmark).
So now, when you exit Unity and the (now closed) app is in the Dock (expected), open the same project again.
Now you have 2 Unity app icons in your Dock. This was the unexpected behavior.

But all is well now.
Thanks again for checking in, it means a lot to know you guys are listening.
I will keep you updated in case I notice this problem happening again.
I’m pretty happy that things are working, and I hope it doesn’t come back!

Hi @christophera_unity
Here is one case that I can reproduce.

I usually have my dock looking like this. Unity hub and Unity icons are where i want them to be.

When starting my day, I want to turn on Unity… (first Hub, and then open my project).
If I accidentally press the Unity (not the Unity Hub icon) it will ‘open’ unity (the Unity icon will show as opened) and it will start the Hub. Now that the Hub is open I will open my project but it will start in yet a new Unity instance hence creating a new Unity icon in the dock).
End result - I have to remove the existing Unity icon from the dock, and bring the new one back where i want it… until next time I accidentally press the Unity button first.

Here actually, I made a video.

Ideal solution would be to simply remove the Unity Hub from this equation. For people like me who rarely switch projects, Hub is a serious detriment.
I know this is unlikely, but I do miss the days when Unity worked without a Hub.