Author Topic: Scale bug  (Read 5079 times)

stevej

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 117
    • View Profile
Scale bug
« on: January 27, 2015, 07:59:09 PM »
I did try searching for this and was surprised I couldn't find anything.

I'm trying to figure out if there's a fix for the scale issue/bug where the values fall below 1 (e.g. 0.998811). I've even noticed ArenMook himself fix it once in a tutorial video by hitting the little "S" reset button to put the values back to 1.

I find myself doing it a lot while moving around in my GUI hierarchy. It seems random elements just randomly change.

Any thoughts? Or even pointers to places where this is already being discussed.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scale bug
« Reply #1 on: January 28, 2015, 02:22:29 AM »
The bug is on Unity's side. When you duplicate an object or drag & drop it somewhere else in the hierarchy, Unity does some math that causes floating point values to lose a few points, likely due to precision issues related to UIRoot's small scale.