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. Dismiss Notice

Unable to test Windows 8.0 build

Discussion in 'Windows' started by irfanSamuel, Jul 7, 2014.

  1. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    I'm working on Unity 4.5.1 and I've successfully created build for Windows 8.1 in Microsoft Visual Express 2013 but I'm unable to test Window 8.0 Build. Here are the screenshots of the error that I get. I've already download Windows 8.0 sdk. Do I need to specify something in Visual Express when building for Windows 8.0?

    Thanks in advance.

    1.jpg
    2.jpg
    3.jpg
     
  2. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    Here is the output in Visual Express.

    Template.exe has triggered a breakpoint.

    The thread 0x15c4 has exited with code 0 (0x0).
    The thread 0xe28 has exited with code 0 (0x0).
    The thread 0x944 has exited with code 0 (0x0).
    DXGI ERROR: IDXGIOutput::GetDisplayModeList: This function cannot be called when working over Terminal Server. [ MISCELLANEOUS ERROR #61: ]
    Initialize engine version: 4.5.1f3 (73cd57f80e3e)
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Devices.Enumeration.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.System.Profile.HardwareId.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CryptoWinRT.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ncrypt.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntasn1.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Symbols loaded.
    The thread 0x152c has exited with code 0 (0x0).
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msxml6.dll'. Symbols loaded.
    'Template.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\Windows.ApplicationModel.dll'
    'Template.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\Windows.Networking.Connectivity.dll'
    'Template.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\Windows.Networking.HostName.dll'
    'Template.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\Windows.Devices.Enumeration.dll'
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\secur32.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\OnDemandConnRouteHelper.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winhttp.dll'. Symbols loaded.
    The thread 0x1ae8 has exited with code 0 (0x0).
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profext.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntmarta.dll'. Symbols loaded.
    'Template.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.Media.Devices.dll'. Symbols loaded.
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Are you trying to run it through a remote desktop connection?
     
  4. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    Nope, running it on Local and Simulator but getting the same error :\
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Could you go to "C:\Users\<UserName>\AppData\Local\Packages\<YourPackageName>\TempState" and paste the contents of UnityPlayer.log?
     
  6. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    Module information:
    Built with Compiler Ver '170060610'
    Built from 'release/4.5/release' branch
    Version is '4.5.1f3 (73cd57f80e3e)'
    Debug build
    Application type 'XAML'
    Used 'SDK 8.0'
    PlayerConnection initialized from E:/Unity/Retro Ball/Unity Builds/Windows 8.0/RetroBall/bin/x86/Debug/AppX/Data (debug = 0)
    PlayerConnection initialized network socket : 0.0.0.0 55200
    Capability 'internetClientServer' is required, please enable it in Package.appxmanifest, to enable Editor Profiler functionality.
    (Filename: C:/BuildAgent/work/d63dfc6385190b60/PlatformDependent/MetroPlayer/MetroCapabilities.cpp Line: 96)

    Capability 'privateNetworkClientServer' is required, please enable it in Package.appxmanifest, to enable Editor Profiler functionality.
    (Filename: C:/BuildAgent/work/d63dfc6385190b60/PlatformDependent/MetroPlayer/MetroCapabilities.cpp Line: 96)

    Unable to setup multicast socket for player connection.
    (Filename: C:/BuildAgent/work/d63dfc6385190b60/Runtime/Network/PlayerCommunicator/PlayerConnection.cpp Line: 177)

    Multi-casting "[IP] 192.168.1.4 [Port] 55200 [Flags] 2 [Guid] 3031268772 [EditorId] 627425890 [Version] 1048832 [Id] MetroPlayerX86(Desktop) [Debug] 0" to [225.0.0.222:54997]...
    GfxDevice: creating device client; threaded=1
    Direct3D:
    Version: Direct3D 11.0 [level 11.0]
    Renderer: AMD Radeon HD 5500 Series (ID=0x675f)
    Vendor: ATI
    VRAM: 1015 MB
    SetSwapChain failed with error 0x8001010e
    (Filename: C:/BuildAgent/work/d63dfc6385190b60/Runtime/GfxDevice/d3d11/D3D11Context_Metro.cpp Line: 371)

    Initialize engine version: 4.5.1f3 (73cd57f80e3e)
     
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    That's strange. Error 0x8001010e means that Unity is calling SetSwapChain method from a wrong thread. Are you by any chance building over an existing project? Did you try building to an empty project?
     
  8. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    Yes, I've tried by deleting the project folder and export it again but no luck :\
     
  9. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Does the same thing happen with a new (empty) Unity project?
     
  10. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    Haven't tried that. I'll try exporting one new project for windows 8.0 now
     
  11. irfanSamuel

    irfanSamuel

    Joined:
    May 14, 2013
    Posts:
    11
    Hi Tautyydas,

    Tried exporting from a new unity project for Windows 8.0 and when I opened it in Visual Express, it gave me the same error.