Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

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:
    70
    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,501
    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:
    70
    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.