Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Unity Hub on Mac OS Big Sur breaks Visual Studio's link to apple events/Unity editor

Discussion in 'Unity Hub' started by ROBYER1, Apr 15, 2021.

  1. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,450
    This has been a major workflow issue for me since I got a mac to work on for work.

    This issue is exclusive to Big Sur I believe, Unity hubs opened instances of Unity Editor break the Apple events that Visual studio 2019 for mac uses to connect to Unity Editor instances.
    In particular, this means if you open a Unity project from unity hub and open visual studio, then close visual studio and try to open scripts from the project window, visual studio opens but will not open the script because the apple events link is broken by Unity Hub.

    This issue got even worse for me when I had multiple Unity projects open on the same Unity engine version, opened by hubs. As opening a script in one project takes over the Visual studio instance that is open, rather than opening a separate visual studio instance.

    All of this stuff works fine on windows 10, this is just on Mac OS big sur apparently.

    As Microsoft have confirmed to me they repro'd this and contacted the Unity hubs team already this week, I trust a fix is in the works.

    I have some videos of this issue in this wider issue thread here: https://forum.unity.com/threads/multiple-instance-of-visual-studio.974205/#post-7044007

    See my Microsoft logged bugs here:

    https://developercommunity.visualstudio.com/t/Visual-Studio-on-Mac-for-Unity-refuses-t/1395151

    https://developercommunity.visualstudio.com/t/No-way-to-have-a-new-instance-of-Visual-/1395152
     
  2. BenjiM_Unity

    BenjiM_Unity

    Administrator

    Joined:
    Aug 8, 2017
    Posts:
    163
  3. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,450
    I have already contacted @John_MSFT about this directly and apparently Microsoft have already reached out to the Unity Hub team regarding this. I hope that in some way this issue is being looked at internally already since that report, there is probably no need for me to submit a bug repro at this stage