Search Unity

Can't build UWP game in Master/x86 configuration, all others work

Discussion in 'Windows' started by v01pe_, Aug 22, 2018.

  1. v01pe_

    v01pe_

    Joined:
    Mar 25, 2015
    Posts:
    71
    Can't build my UWP game x86 in `master` configuration. I can compile `release` and `debug` though, also ARM and x64 work as expected!

    Im on
    - Unity 2017.4.6f1
    - building for UWP
    - IL2CPP scripting backend
    - .NET 4.6
    - build type D3D
    - SDK 10.0.17134.0
    - Visual Studio 2017

    I get the following errors in Visual Studio:

    What could be the problem here?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Did you by any chance kill the build process at any point? I've seen this happen when the compiler is killed. You should be able to delete "D:\UnityGame\Build\UWP\build\obj\il2cppOutputProject\Win32\Master" directory and then build again to work around it.
     
    lukos and v01pe_ like this.
  3. v01pe_

    v01pe_

    Joined:
    Mar 25, 2015
    Posts:
    71
    Yeah that seems to work! I also realized that the configuration combination that fails to build changes, so I pretty sure it has to do with what you said.

    By killing the build process, do you mean cancel the build? I can't recall killing the build process manually, but might have happened, b/c VS sometimes gets stuck and I have to kill it.

    Thanks for the help, I successfully built and uploaded a package for ALL 3 architectures today for the first time.