Search Unity

Can't build Mac OS X target on Linux (Ubuntu 18.04)

Discussion in 'Linux' started by artics, Nov 20, 2018.

  1. artics

    artics

    Joined:
    Sep 17, 2013
    Posts:
    8
    I downloaded new Hub for Linux. I downloaded 2018.3.10b and added Mac OS X support. But I can't build with this target. Building with script also throws the error. Same thing with 2019.1.0a9.

    upload_2018-11-21_0-12-37.png

    upload_2018-11-21_0-14-20.png

    Script building output

    Preloading 1 native plugins for Editor in 0.07 ms.
    Error building player because build target was unsupported

    (Filename: Line: -1)

    upload_2018-11-21_0-17-3.png

    Editor log attached.
     

    Attached Files:

  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
  3. dngulin_theportalsoftware

    dngulin_theportalsoftware

    Joined:
    Feb 8, 2018
    Posts:
    1
    Look at contents of modules.json in Unity installation directory. A module with id "mac-mono" has wrong "destination" value: "{UNITY_PATH}". Proper value is "{UNITY_PATH}/Editor/Data/PlaybackEngines/MacStandaloneSupport".

    You should to fix "destination", and set "selected" to false to have ability to reinstall MacBuildSupport in proper way.
     
    Scramblejams and artics like this.
  4. artics

    artics

    Joined:
    Sep 17, 2013
    Posts:
    8
    Thank you that helps me to install. I also needs to reboot my machine after modules.json changes.
     
  5. brijeshmysenseinc

    brijeshmysenseinc

    Joined:
    Dec 7, 2017
    Posts:
    1


    i am using Ubuntu 18.04 LTS and unity 2018.3.0f2. unable to find any file named module.josn. Can you show exact pathe of module.josn file
     
  6. Deleted User

    Deleted User

    Guest

    It's in the folder where you installed Unity, or if you used Unity Hub, ~/Unity/Hub/Editor/{version}, where ~ is your home directory and {version} is the version of Unity you installed.
     
  7. AlexP11223

    AlexP11223

    Joined:
    Mar 21, 2018
    Posts:
    2
    You can just kill the Unity Hub process.

    btw why this issue is still not fixed?
     
  8. Bitfabrikken

    Bitfabrikken

    Joined:
    Mar 24, 2013
    Posts:
    34
    This just worked for me today, so it seems it's still an issue.
    Had to restart hub after making the change in modules.json then install mac support within hub.