Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    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,284
    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,284
    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,111
    CDF likes this.
  4. LazloBonin

    LazloBonin

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