Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

How to confirm I'm using the incremental compiler?

Discussion in 'Data Oriented Technology Stack' 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)