Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

How to confirm I'm using the incremental compiler?

Discussion in 'Entity Component System and C# Job system' started by aaversa, Sep 19, 2018.

  1. aaversa


    Sep 5, 2016
    According to this page, the "Compiler" tab of Edit -> Preferences -> Compiler should show the Compiler version as "Unity Incremental Compiler..."

    However, after installing the package and switching my Scripting Runtime Version to .NET 4.x equivalent, my Compiler is listed as "Microsoft Roslyn".

    Is this the same thing as the Incremental Compiler and the documentation is outdated? Or did I miss a step?
  2. RaventurnPatrick


    Aug 9, 2011
    Hey I know a little late, but maybe someone else also wants to know this:
    Look in your Library\ScriptAssemblies Folder - there should be all *.pdb files around (produced by the incremental compiler) instead of *.mdb files (only produced by mcs - unitys default compiler)

    Alternatively you can also look into the editor log (right click console tab -> editor log) and see if mcs.exe is called (which would be the old compiler)

    I didn't have Visual Studio installed and for some reason it kept using the mcs compiler (without warnings), after installing Visual Studio however it seems to work (not sure whether thats a hidden requirement)