Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Native Resolution not working anymore (Unity 2021 - 2022)

Discussion in 'Windows' started by danielesuppo, Aug 29, 2022.

  1. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    Hello, some time ago I've developed a project for a vertical monitor (1080x1920) with Unity 2020.3
    I've been working in Game mode with 1080x1920 resolution, and to release the application (.exe) for the vertical monitor in fullscreen, all I had to do was to set "Fullscreen Mode" --> "Fullscreen Window" in the Project Settings.


    Everything was fine, but now I had to implement a new plugin and switch to Unity 2022.1
    Now, with the very same settings (I've just opened the project in the new Unity version), the application does show in "fullscreen" but it's almost a square, with a lot of black space over and under.


    I did several test:
    - With Unity 2021.2
    - with "Exclusive Fullscreen" mode
    - forcing the Default screen width/height to 1080x1920
    Nothing! The result is more or less the same. Does not work.
    The only Unity release that work as expected is 2020.x
    Is it a (huge) new Unity bug?

    Any help would be much appreciated, because I'm really in a hurry and I don't know what to do...
    Many thanks!
     
  2. danielesuppo

    danielesuppo

    Joined:
    Oct 20, 2015
    Posts:
    331
    *** SOLVED ***
    It's a unity Bug

    After many hours I've found a solution.
    You have to go to Windows Registry, and delete "HKCU\Software\ExampleCompanyName\ExampleProductName"

    In this way prefs will be recreated.
    WTF...

    I really hope that Unity people will try to do a better job when they create new version of the software (Unreal Engine is teaching on this)
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,646
    danielesuppo likes this.