Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug (Case #1264038) Handles.ScaleHandle incorrect when center scaling

Discussion in '2020.1 Beta' started by CDF, Jul 18, 2020.

  1. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,311
    So just discovered this today. Not sure if it's present in other versions. But when using Handles.ScaleHandle, when center scaling and the input vector != 1, the returned result seems to either shrink or grow exponentially. Depending if > 1 or < 1. Issue doesn't occur with the individual axis scale handles.

    the report I submitted just contains the exact script on the docs:
    https://docs.unity3d.com/ScriptReference/Handles.ScaleHandle.html

    And here's a video showing what happens:



    I'm making very tiny adjustments, but the scale is seemingly increasing at exponential rate every time I release and scale again
     
    LeonhardP likes this.
  2. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,311
    Just tested 2019.4 and 2018.4

    Issue does not occur in 2018.4 and does in 2019.4
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    CDF likes this.
  4. LazloBonin

    LazloBonin

    Joined:
    Mar 6, 2015
    Posts:
    812
    Is there a workaround?