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

SetResolution and uGUI..

Discussion in 'UGUI & TextMesh Pro' started by JasonBooth, Nov 14, 2014.

  1. JasonBooth

    JasonBooth

    Joined:
    Jan 27, 2014
    Posts:
    646
    So, I'm using SetResolution to run at a sub-native resolution on some devices. However, my UI doesn't seem to adapt to this correctly, and ends up proportionally larger than it should be. Anyone know how I can fix this?
     
  2. JasonBooth

    JasonBooth

    Joined:
    Jan 27, 2014
    Posts:
    646
    So, is it simply not possible to run your game at non-standard resolutions with uGUI then? No one has any information on this?
     
  3. rakkarage

    rakkarage

    Joined:
    Feb 3, 2014
    Posts:
    683
    Add a CanvasScaler component to canvas?
     
  4. JasonBooth

    JasonBooth

    Joined:
    Jan 27, 2014
    Posts:
    646
    It has one.
     
  5. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,773
    File it as a bug report. SetResolution is one of those things that's not used very often and, as a result, doesn't often get tested. This sounds like a bug that can easily crop up in that sort of situation, and you should take advantage of that.
     
  6. JasonBooth

    JasonBooth

    Joined:
    Jan 27, 2014
    Posts:
    646
    I did, but so far no response.