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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    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,246
    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,246
    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,064
    CDF likes this.
  4. Ludiq

    Ludiq

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