Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

UI scale to integer sizes to match 2018.2's pixel perfect camera?

Discussion in 'Unity UI & TextMesh Pro' started by Zebbi, Jul 12, 2018.

  1. Zebbi

    Zebbi

    Joined:
    Jan 17, 2017
    Posts:
    25
    I've gotten the pixel perfect camera script in 2018.2 to work, but on certain aspect-ratios or resolutions, my camera game area appears a lot smaller than the size of the screen with black bars around the edge to keep the pixels perfect. Is there a way of enforcing pixel perfection on the UI as well? Otherwise the UI resizes to match the screen size with a tiny game area in the middle of the screen on non-integer divisible screen sizes.