Search Unity

Are Unity Games Developed For Pc Automatically Compatible With Mac And Linux?

Discussion in 'General Discussion' started by Sigma266, Apr 12, 2019.

  1. Sigma266

    Sigma266

    Joined:
    Mar 25, 2017
    Posts:
    99
    Topic. And thanks.
     
  2. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    10,160
    No, you have to build for, and test on, those operating systems..
     
    xVergilx and Sigma266 like this.
  3. Sigma266

    Sigma266

    Joined:
    Mar 25, 2017
    Posts:
    99
    Thank you. Quick question though. When making a build, Unity won't let me specifically pick the Mac or Linux build. It shows an icon with Windows, Mac and Linux in it which kinda makes it look like it builds all of them at once. How do I make a Mac or Linux build then?
     
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,203
    Building for additional platforms requires downloading the appropriate components from Unity Hub.

    UnityHub.png
     
    CuriousHamst3r, Ony and Sigma266 like this.
  5. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    You could say 'almost'. There might be a few slight tweaks you need to do. The 'ideal' is that you can just change the build target and go. But there may be some platform specific stuff to set up. Mac vs windows vs linux there isn't much. For example I regularly develop the same game on a mac and on a windows pc and pretty much never have to do anything whatsoever platform specific other than just switch the build target and build it. I don't even think about it.

    But if you start to go towards mobile devices and so on, tablets, smaller screens etc, now you're going to have to start thinking differently.
     
    CuriousHamst3r likes this.