Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

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

Discussion in 'Linux Editor' 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

    Unity Technologies

    Joined:
    Mar 8, 2010
    Posts:
    939
  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.
     
    artics likes 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. Aaronjamt

    Aaronjamt

    Joined:
    May 9, 2018
    Posts:
    2
    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.