Author Topic: UITexture behavior change with 3.6.7?  (Read 3409 times)

gekido

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
UITexture behavior change with 3.6.7?
« on: July 09, 2014, 11:57:47 PM »
Just updated to 3.6.7 (from the asset store) and I'm running into all kinds of strangeness with the UI.

My game's UI is fixedsize, set to 1080 manual height.

I have a UI Texture in a UI Panel set with a size of 1920x1080, aspect ratio set 'based on height' and an anchor of unified, left,right,bottom,top all set to 0

With 3.6.7, suddenly this UITexture (the menu background) is appearing like 1/2 size in the view.  If I adjust the camera's orthographic size to 0.5, it fits fine, but obviously the rest of the UI doesn't fit.

Note that the rest of the UI appears to be the correct size, just my UI Texture is appearing differently with 3.6.7.

Any ideas?


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITexture behavior change with 3.6.7?
« Reply #1 on: July 10, 2014, 08:20:23 PM »
You can't use a unified anchor if you have a fixed aspect ratio. How can you anchor all 4 sides, and yet also resize the rectangle based on height? You should only anchor top and bottom using advanced anchoring, and leave left and right not anchored. You can then use a fixed aspect ratio setting properly.