Search Unity

Package UWP format. Encounter problem like "d3d11: failed to create 2D texture id = xxx ..."

Discussion in 'Windows' started by Wecica, Feb 28, 2018.

  1. Wecica

    Wecica

    Joined:
    Jul 20, 2016
    Posts:
    27
    I was trying to make my Unity game into UWP game. And I packaged a UWP game through VS 2017. It was running well on PC, but it displayed a black screen after I installed it into Xbox. So I debug it through the internet, it displayed issues like this:
    d3d11: failed to create 2D texture id=229 width=2048 heitht=1152 mips=12 dxgifmt=28 [D3D error was 8007000e].
    Is there anyone who has encountered this problem and solved it. Please give me a hand. Thanks for advance.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,675
  3. Wecica

    Wecica

    Joined:
    Jul 20, 2016
    Posts:
    27
    Thank you Tautvydas-Zilys,
    My OS version is 10.0.16299.5101 (rs3_release_xbox_dev_1802.180131-1450), it's up to date.
    I've also checked the "Treat UWP apps as games by default" checkbox already. So I will try to locate the problem as your guide.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,675
    What's your game memory usage like when you hit this error?
     
  5. Wecica

    Wecica

    Joined:
    Jul 20, 2016
    Posts:
    27
    It used nearly 3G memory when I debug on Xbox.
    Now it's 800MB approximately. No more black screen now.