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

Mobile Universal Windows App Support

Discussion in '5.2 Beta' started by MrEsquire, Jul 2, 2015.

  1. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Does this mean Windows 10 support?
    Can you elaborate abit on this as not sure what it means?
    Thanks
     
  2. ortin

    ortin

    Joined:
    Jan 13, 2013
    Posts:
    221
  3. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Thanks intresting link, "Run your app on a Windows 10 phone, a Windows 10 desktop, or Xbox"
    Do you know how one would test game on Xbox, is this a seperate package?
    Also I really hope we dont have all the issues with Splash Screens as with 8.1 versions..
     
  4. LennartJohansen

    LennartJohansen

    Joined:
    Dec 1, 2014
    Posts:
    2,394
    It looks like there will be a windows 10 upgrade to Xbox One. Then you can test your sofware on the XBox
     
    MrEsquire likes this.
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,443
    As others noted, yes, this is Windows 10 universal apps.

    For XBOX: these apps will be able to run on XBOX once Microsoft actually releases Windows 10 for XBOX. Unfortunately, you'll have to ask Microsoft when they'll do it as we cannot speak on behalf of them.
     
  6. CBaekdorf

    CBaekdorf

    Joined:
    Apr 21, 2013
    Posts:
    15
    Will Substances (Procedural Materials) be supported for (Universal Windows Platform) UWP apps?

    It was missing in (Windows Store Apps) WSA, but I am hoping it finally gets available for UWP.
     
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,443
    There's no news on that front, unfortunately.
     
  8. CBaekdorf

    CBaekdorf

    Joined:
    Apr 21, 2013
    Posts:
    15
    Can we expect to see any of the DX12 related performance improvements in 5.2 when targeting Windows 10 UWP app?

    I can see that DX12 is on the roadmap for 5.3, will that bring more DX12 optimization to Windows 10 UWP apps?
     
    MrEsquire likes this.
  9. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,443
    You can definitely expect that in 5.3. Since we actually aren't officially supporting DX12 on 5.2, I can't really promise anything: all the optimization work is going towards 5.3.
     
    jashan likes this.
  10. CBaekdorf

    CBaekdorf

    Joined:
    Apr 21, 2013
    Posts:
    15
    thanks for the info
     
  11. CBaekdorf

    CBaekdorf

    Joined:
    Apr 21, 2013
    Posts:
    15
    Linear Color Space problem

    When I change Color Space to Linear and build a Win10 Universal app, I get a black screen when running the app. It works fine in the editor and if I build a traditional Windows Standalone application.

    Is Linear Color Space expected to work in Win10 Universal apps, is it a bug or just my machine having a problem?

    PS: My test is done in a VM, so that could be the problem.
     
  12. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,443
    It is definitely expected to work, but on this platform it requires a GPU supporting at least Direct3D feature level 10.0 (virtually any desktop GPU manufactured after 2007). Could you try forcing it to run on the WARP driver? This would eliminate VM as a source of the problem (scroll to the bottom of this page for instructions):

    http://docs.unity3d.com/Manual/CommandLineArguments.html

    If it's still doesn't work, we'd love to get a repro project along with a bug report.
     
  13. CBaekdorf

    CBaekdorf

    Joined:
    Apr 21, 2013
    Posts:
    15
    Same problem after adding appCallbacks.AddCommandLineArg("-force-driver-type-warp"); [added before InitializeD3DXAML].

    I get this in the debug output when the debugger is attached, (guess it the WARP driver):

    Direct3D:
    Version: Direct3D 11.0 [level 11.0]
    Renderer: Microsoft Basic Render Driver (ID=0x8c)
    Vendor: Microsoft
    VRAM: 1023 MB

    Bug filed with sample project: (Case 710668) Black screen when using Linear Color Space in Windows 10 Universal app
     
  14. CBaekdorf

    CBaekdorf

    Joined:
    Apr 21, 2013
    Posts:
    15
    I cannot build Unity 5.2 beta 5 games with target Windows 10 UWP on the release version of Windows 10 + Visual Studio 2015. A completely new blank Unity project generates a broken Visual Studio UWP app project.

    I get this warning: The referenced component 'Microsoft Visual C++ 14 AppLocal Runtime Package for Windows UAP' could not be found.

    (and 372 errors about stuff that is missing)

    Looks like a wrong reference?

    Is beta 5 intended to work with UWP and the release version of Windows 10 + VS2015?
     
  15. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,443
    I suppose you have Visual Studio 2015 RTM installed?

    Current beta only supports Visual Studio 2015 RC - Microsoft changed generated solution format and some other stuff in RTM which broke us. We're working on fixing that in the next few betas, but since UWP support for VS RTM came out only 3 days ago, we didn't really have time to fix it yet.
     
  16. CBaekdorf

    CBaekdorf

    Joined:
    Apr 21, 2013
    Posts:
    15
    Thanks, I will wait for a newer beta. And yes, I am on the RTM version.
     
  17. BrotenStudios

    BrotenStudios

    Joined:
    Feb 13, 2014
    Posts:
    155
    UWP apps for Xbox One will not be available until the Xbox Dashboard preview releases move to Win10. As stated by Tautvydas Zilys.

    Anyone wishing to get a Xbox One preview build can PM me, I can invite to the preview program. Please include Xbox Live username so I can invite.

    Currently they have the Xbox 360 backwards compatibility support testing, sometime after this will be UWP/Win10. with Win10 on Xbox One intended for release in early 2016.
     
    Last edited: Aug 11, 2015
  18. BrotenStudios

    BrotenStudios

    Joined:
    Feb 13, 2014
    Posts:
    155
    has the generated solution format from RC to RTM been fixed yet?
     
  19. zledas

    zledas

    Joined:
    Nov 3, 2010
    Posts:
    23
    No, it is not fixed :( and Windows Store doesn't accept apps for release built with older Visual Studio...

    EDIT. But you can workaround it by replacing in *.csproj this:
    -----
    <ItemGroup>
    <!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
    <SDKReference Include="Microsoft.VCLibs.AppLocal, Version=14.0">
    <Name>Microsoft Visual C++ 14 AppLocal Runtime Package for Windows UAP</Name>
    </SDKReference>
    </ItemGroup>
    -----
    with this:
    -----
    <ItemGroup>
    <!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
    <Content Include="ApplicationInsights.config">
    <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <None Include="project.json" />
    </ItemGroup>
    -----
    and copying files
    ApplicationInsights.config
    project.json
    project.lock.json
    from empty VS 2015 windows universal project.
     
    Last edited: Aug 13, 2015
  20. BrotenStudios

    BrotenStudios

    Joined:
    Feb 13, 2014
    Posts:
    155
    Hopefully this will get patched soon, annoying to edit projects each time you want to test a build.
     
    truefx001 and MrEsquire like this.
  21. CBaekdorf

    CBaekdorf

    Joined:
    Apr 21, 2013
    Posts:
    15
    Any chance the Linear Color Space bug 710668 (previous mentioned is this thread) will be fixed before the release?

    I just did a quick test with a completely new project in the RC1 version and got the same black screen when switching the Linear Color Space. Last thing I heard regarding the bug was “Thank you for the details. We've been able to reproduce the issue. Now it is forwarded to developers for fixing. The fix will be available in future releases.”.

    So I was wondering if this future release is the 5.2 release or later?
     
  22. Alex-Lian

    Alex-Lian

    Guest

    Please stay to new threads instead of switching topics in thread. In any case, no, that bug isn't slated to make final. Though patch release is always possible.
     
  23. noethis

    noethis

    Joined:
    Nov 11, 2013
    Posts:
    129
    Hi, I'm having issues with 5.2f1 and building to Win10 UAP as well. Is Unity planning on patching in support for VS2015 RTM or will we need to wait until the 5.2 release on September 8th?
     
    luckybrograms likes this.
  24. Alex-Lian

    Alex-Lian

    Guest

    Trying our best to even land it before Sept 8, but there's a possibility it may even have to slip to patch release afterwards.