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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

SEVERE screen-space canvas positioning/rendering issues in Direct3D 9c + Windows 7

Discussion in 'UGUI & TextMesh Pro' started by TheChuckster, Oct 23, 2015.

  1. TheChuckster

    TheChuckster

    Joined:
    Dec 16, 2014
    Posts:
    28
    UPDATE: Repro attached at bottom!

    Hi, the login screen for my game uses a fullscreen canvas UI, like so:

    upload_2015-10-23_14-59-13.png
    As you can see, the UI is working great in the editor -- and you'll have to take on Good Faith that it also works standalone on my Windows 10 PC and my coworker's Apple Mac.

    Instead, my Windows 7 users with DirectX 9 are seeing this:



    I am using:
    Unity
    Version 5.2.0f3 (e7947df39b5c)
    Fri, 28 Aug 2015 15:47:22 GMT
    Branch: 5.2/release

    My users' specs are:
    graphicsDeviceID: 10674
    graphicsDeviceName: Intel(R) Q35 Express Chipset Family
    graphicsDeviceType: 1
    graphicsDeviceVendor: Intel
    graphicsDeviceVendorID: 32902
    graphicsDeviceVersion: Direct3D 9.0c [igdumdx32.dll 8.14.10.1930]
    graphicsMemorySize: 64
    graphicsMultiThreaded: true
    graphicsShaderLevel: 20
    os: Windows 7 Service Pack 1 (6.1.7601)
    platform: WindowsPlayer
    processorCount: 2
    processorType: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
    systemMemorySize: 2003

    I was able to reproduce the issue locally in a Windows 7 VirtualBox VM. As you can see, the UI is no longer centered on the screen, and is surrounded by black -- resizing the resizeable window then causes it to disappear completely:

    upload_2015-10-23_15-1-52.png

    Seems to be working fine for all of my Windows 8 and Windows 10 users that are running Direct3D 11.

    Is there anything immediately obvious that could be causing this rendering problem/failure? It is correct that I do not need a camera to display a screen space UI canvas? Also, should I file a bug report?
     

    Attached Files:

    Last edited: Oct 27, 2015
  2. TheChuckster

    TheChuckster

    Joined:
    Dec 16, 2014
    Posts:
    28
    Here is a screenshot of it working perfectly on Windows 10:

    upload_2015-10-23_15-6-5.png
     
  3. TheChuckster

    TheChuckster

    Joined:
    Dec 16, 2014
    Posts:
    28
    Any ideas?
     
  4. Zuntatos

    Zuntatos

    Joined:
    Nov 18, 2012
    Posts:
    612
    @TheChuckster

    Check the 5.2 patch releases, there were some involving camera rendering position being incorrect and dx9 UI breaking when resizing screen.
     
  5. TheChuckster

    TheChuckster

    Joined:
    Dec 16, 2014
    Posts:
    28
    @Zuntatos

    I've upgraded to the latest 5.2 patch release (5.2.2p1) and rebuilt, but it seems to still have the camera positioning problem.

    Which change log mentions the camera positioning issue? I couldn't find one when I searched manually.



    Resizing seems to work properly now (before it made the entire screen go black), but the camera position is still off.

    I don't feel comfortable trying 5.3 _beta_ for a stable production game, even though I have a license.
     
    Last edited: Oct 27, 2015
  6. TheChuckster

    TheChuckster

    Joined:
    Dec 16, 2014
    Posts:
    28