Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Building burst compiler and job system on OSX

Discussion in 'Burst' started by catfink, Jan 26, 2019.

  1. catfink

    catfink

    Joined:
    May 23, 2015
    Posts:
    175
    I'm using vegetation studio pro on OSX and I am really struggling to find documentation on what it is you do to successfully create a standalone build on OSX that incorporates the job system and burst compiler.

    Could someone point me at the docs or give me a step by step on what it is I have to do. I've seen posts alluding to Xcode but I really don't know what I am supposed to do with xcode.

    With windows I found the info for building with visual studio easily (SDK and visual C++ stuff) but on OSX it doesn't appear to be as easy to find?

    I develop primarily on Windows and only use OSX to build our OSX version so please assume I am a beginner when it comes to OSX knowledge of things like XCode and so on.
     
  2. Jay-Pavlina

    Jay-Pavlina

    Joined:
    Feb 19, 2012
    Posts:
    195
    Why do you need to use XCode? Just do a Mac IL2CPP build and it should work. I do it all the time.
     
  3. catfink

    catfink

    Joined:
    May 23, 2015
    Posts:
    175
    I've never done a Mac IL2CPP build ... what does doing an IL2CPP build change? Apologies but I have never used IL2CPP so I don't know what the implications of this are for my project.

    I'll try it and see what happens - no harm in doing a build I guess
     
    Last edited: Jan 27, 2019
  4. NoDumbQuestion

    NoDumbQuestion

    Joined:
    Nov 10, 2017
    Posts:
    186
    All IL2CPP do is turn your code to C++. It build much slower. Some C# api might broke (mostly mobile function) but i think Unity fix all of them.
    You only need xcode if you want to build of Iphone.
    And vegetation studio pro might not work on some Macbook, due to hardware not support GPU instancing, so if instancing indirect not work then use Instancing mode work fine but worse performance.