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

UWP - XBOX Series S 4K - Unity UI - very grainy

Discussion in 'Windows' started by Axel-F, Feb 6, 2021.

  1. Axel-F

    Axel-F

    Joined:
    Mar 20, 2009
    Posts:
    223
    Hi,

    I'm encountering a very strange UI behavior with my XBOX Series S build: the result is, even the console runs in 4K with a 4K screen attached, very very grainy (it does not matter if I switch to 1080p instead).
    Even more strange is that the SAME build on the SAME screen - just running as a Windows 10 UWP build - looks absolutely fine. The texture atlas used is uncompressed and all images have a high resolution (512x512). I'm using Unity 2020.2.3f1.

    I really have no idea. At first I thought I did something wrong with the texture atlas compression, but as written the same project, just running under Windows, look fine.

    It looks like this:



    I really have no idea.

    Thanks!

    -Axel
     

    Attached Files:

  2. Axel-F

    Axel-F

    Joined:
    Mar 20, 2009
    Posts:
    223
    To answer my own question - after triggering
    Code (CSharp):
    1. Screen.SetResolution(Screen.resolutions[Screen.resolutions.Length - 1].width, Screen.resolutions[Screen.resolutions.Length - 1].height, true, 30);
    everything looks fine. I thought Unity switches to the highest resolution available by default automatically. It does not seem so.
     
  3. soleron

    soleron

    Joined:
    Apr 21, 2013
    Posts:
    512

    Nope. :(
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,464
    Unity should default to whatever resolution the window gets spawned at. Do you happen to know what resolution it was rendering at?