Can we make a game for both mac and windows using unity

broken image

So how do Unity builds from the command line work exactly? A little weird. Some of the features of IL2CPP and PlayerSettings.shortBundleVersion are not available prior to 4.6.3. NOTE: we are currently using Unity 4.6.3, so code in the BuildScript class will change slightly for different versions of Unity. If you are looking for an intro on FAKE, check out my earlier blog post on it. We also chose to use FAKE, as we get all the benefits of checking our build scripts into source control, etc. So setting up Unity builds ourselves, seemed like a great option. We already have TeamCity setup, with a build agents running on a PC and a Mac for other apps. Builds can a really long time… Like an hour and a half… Ugh.It could be tough to figure out what went wrong with a build - you can’t exactly RDP into the build agent and open Unity.Our SCM we use for Unity, PlasticSCM, is not supported.Not much control over Unity player settings.

broken image

Unity has released Unity Cloud Build, which is a nice solution, but it doesn’t fulfill our needs: Unity builds can be painfully slow at times, so not automating them is a huge productivity killer. So among the different types of games and apps we build at Hitcents, one particularly troublesome type to deal with is basically any game built with Unity.