Search Unity

Unity Hub, Mono Framework and Visual Studio for macOS

Discussion in '2019.2 Beta' started by spokrock, Jun 24, 2019.

  1. spokrock

    spokrock

    Joined:
    Oct 16, 2017
    Posts:
    5
    Visual Studio 8+ for macOS requires Mono framework version 5.18.1.24+
    Unity Hub Keeps installing a dated version of Mono Framework 5.16 which prevents VS from launching.

    This causes Visual Studio to reference the incorrect Mono framework version until a relink from 5.16 to 5.18 is done which resolves the issue. This change doesn't affect the running of Unity but it is a nuisance every time a new version of Unity is installed via the Hub which kills VS.
     
    M_R likes this.
  2. andersTheNinja

    andersTheNinja

    Joined:
    May 17, 2018
    Posts:
    6
    Second this. Super irritating, sticking with vs2017 for now.
     
  3. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    463
    Finally I understand who kills VS for Mac. :)
     
  4. EBPlayin

    EBPlayin

    Joined:
    Apr 17, 2014
    Posts:
    2
    Having this issue constantly. Is there a fix?
     
  5. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,487
    Thanks for pointing this out, the team has been notified. Could you please submit a bug report for this issue through the Hub bug reporter as well?
     
  6. odysoftware

    odysoftware

    Joined:
    Jul 21, 2015
    Posts:
    45
    Oh great - I already got used to always reinstalling the mono framework after a new unity version and hoped that someone has already reported this annoying issue :)

    So hopefully this is being looked at now, thanks!
     
  7. Scatabrain

    Scatabrain

    Joined:
    Aug 28, 2015
    Posts:
    17
    Yeah, this is really annoying. Hope it gets fixed.
    Cheers, Michael B
     
  8. odysoftware

    odysoftware

    Joined:
    Jul 21, 2015
    Posts:
    45
    2019.1.10f sadly not yet fixed
     
  9. M_R

    M_R

    Joined:
    Apr 15, 2015
    Posts:
    454
    I already submitted it (Case 1158032) almost 2 months ago (27/05)
     
  10. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,487
  11. greg-harding

    greg-harding

    Joined:
    Apr 11, 2013
    Posts:
    377
    @LeonhardP I assume this also affects Visual Studio Code on Mac complaining about not being able to load the cs project successfully when using the standard Omnisharp extension for c# development? VSCode complains about the framework sdk not being right. We are currently downloading and installing Mono (5.18.1 Visual Studio Channel version from the Mono site).
     
  12. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,487
    Did this resolve the issue?
     
  13. greg-harding

    greg-harding

    Joined:
    Apr 11, 2013
    Posts:
    377
    For macOS VSCode + Omnisharp loading Unity .csproj files without complaining, yes, manually installing Mono seems to make it happy :)
     
    LeonhardP likes this.
  14. andersTheNinja

    andersTheNinja

    Joined:
    May 17, 2018
    Posts:
    6
    In the issue tracker it's marked as resolved with Hub 2.0.4, but I still get the error after installing 2019.1.14 in Hub 2.1.0. Added a comment to issue tracker.
     
  15. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,487
    Thanks, I reopened the ticket.