Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

MasterWithLTCG

Discussion in '2019.1 Beta' started by Foriero, Dec 19, 2018.

  1. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    488
    Can anyone explain why we have in VS targeting WSA new build configuration? What configuration should go into Microsoft Store? Thank you, M.
     
  2. GameDevCouple

    GameDevCouple

    Joined:
    Oct 5, 2013
    Posts:
    2,514
    I also would like to know what MasterWithLTCG is?
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    7,501
    It enables link time code generation for generated IL2CPP code.

    https://docs.microsoft.com/en-us/cpp/build/reference/ltcg-link-time-code-generation?view=vs-2017

    From 2018.3 release notes:

    Since Visual Studio projects already contained "Master" configuration, I decided to not enable LTCG for those and instead make a new build configuration for it, as we wanted this to be an opt-in settings because it literally destroys your build time (makes it ~5-6 times slower).
     
    Salvador-Romero likes this.
  4. David062

    David062

    Joined:
    Oct 24, 2018
    Posts:
    1
    Generated Visual Studio projects for IL2CPP scripting backend on Windows Standalone and Universal Windows Platform now also contain an optional "MasterWithLTCG" configuration, which you can use to enable these settings.
     
unityunity