Search Unity

BuildPipeline.BuildPlayer automatization and "Use Highest SDK" button...

Discussion in 'Editor & General Support' started by Gold_Rush, Dec 25, 2020.

  1. Gold_Rush

    Gold_Rush

    Joined:
    Jan 10, 2018
    Posts:
    64
    When I use BuildPipeline.BuildPlayer to automatically build multiple versions of my application. Unity asks me "Use Highest SDK or Cancel?" every time I compile.
    Which spoils the whole point of automating the compilation because you have to press the "Use Highest SDK" button every time.
    How can i ignore this request? I looked at BuildOptions but there seems to be no such flags.