Search Unity

UWP Build Bug? (Architecture\Configuration)

Discussion in 'Windows' started by PeachyPixels, Mar 6, 2020.

  1. PeachyPixels

    PeachyPixels

    Joined:
    Feb 17, 2018
    Posts:
    713
    Hello!

    I'm not sure if this is a bug or by design, but when setting the UWP Architecture & Build Configuration (in the UWP Build Settings Window) they don't seem to carry across to the generated IL2CPP solution.

    For example, if I set them to x64\Master in Unity, upon opening the solution they are actually set as Debug\ARM

    Reproduced on Unity 2019.2.21f1
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Hey, so that setting only has effect if either you're doing build & run, or using "Executable Only" build type. Otherwise, it generates a Visual studio project that allows you to build and deploy to any configuration/CPU architecture combo.
     
  3. PeachyPixels

    PeachyPixels

    Joined:
    Feb 17, 2018
    Posts:
    713
    Hi there!

    Thanks for the reply.

    I understand you can build for any config regardless of this setting. I just assumed it would carry over to the (IL2CPP) solution\project as the default. It would be nice if it could?