Search Unity

  1. Unity 2018.3 is now released.
    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've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

MasterWithLTCG

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

  1. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    447
    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_I

    GameDevCouple_I

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

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    5,852
    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).
     
  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.