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

Do not stretch in fullscreen?

Discussion in 'Editor & General Support' started by RyuMaster, Nov 22, 2010.

  1. RyuMaster

    RyuMaster

    Joined:
    Sep 13, 2010
    Posts:
    468
    Hi! I'm targeting 1280x720 resolution. But, my monitor is 1280X1024, so all stuff gets stretched. I've found letterbox script, but it works only if not in full-screen mode. Is there some native support in Unity for not-auto-stretching? Adding some letterboxes? If not, then what could be possible reason for letterbox script working only not in fullscreen?

     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    there is no support for that unless you write it yourself.

    But the common consense is that if you don't fill the screen, don't force fullscreen, let them play in window ...
    games that enforce fullscreen are rare to inexistant nowadays
     
  3. striche

    striche

    Joined:
    Jan 4, 2011
    Posts:
    61
    That's simply not true. Lots of portals actually require games to start in Fullscreen by default.
     
    Marzoa likes this.
  4. Marzoa

    Marzoa

    Joined:
    Dec 2, 2012
    Posts:
    50
    Did you managed to solve this?

    I am using the same script, I think, and it seems to work fine windowed too, not in full screen though.

    Thanks in advance,
     
  5. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
  6. Zorranco

    Zorranco

    Joined:
    Jul 15, 2014
    Posts:
    23
    Demn! I have been running a scene test for months, and now all the sudden the build starts to stretch from 1920 x 1080 to my screen size (21:9 monitor) in full screen window....I think it started to happen since 5.0.2.f2

    If you select DX9, full screen window behaves as before, but not in DX11
     
    Last edited: May 31, 2015