Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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,455
    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

    Unity Technologies

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

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,455
    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