Search Issue Tracker

Fixed in Unity 2018.1

Votes

0

Found in

2017.1.1f1

Issue ID

952170

Regression

Yes

EditorGUILayout.CurveField does not return edited curve when dynamically creating curve

Animation

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Workaround is possible

Reproduction steps(GIF attached):
1. Open the attached project.
2. Go to Window > Curve editor in the menu bar.
3. Click on the curve field (gray rectangle).
4. Double click on the graph to add a couple of points.
- Curve field doesn't update.
5. Close the Curve window.
6. Click on the curve field.
- Points are lost.
- Console reports no keyframes.

Regression introduced in:
2017.1.0a6

Reproduced with:
2017.1.0a6, 2017.3.0b1

Not reproducible with:
2017.1.0a5

Comments (4)

  1. B5ec2202b50aa2109655a72f72455f8e?d=mm

    Rukas90

    Sep 21, 2018 16:30

    Have this issue with 2018.2.7f1

  2. 9dd7ed82d6ab0f3745ccfea9864628dc?d=mm

    mortenblaa

    Mar 27, 2018 09:43

    Workaround: Use EditorGUILayout.PropertyField() instead of EditorGUILayout.CurveField()

    This also draws the curve field as expected, tested in 2017.1.1f1

  3. 10a7c7c232f8a328a6085485e13be1b8?d=mm

    Papiertig0r

    Jan 06, 2018 10:46

    I concur, this issue is NOT fixed

  4. A22c0c5aa4ca8b27947c3741bb8e18b8?d=mm

    Ludiq

    Dec 05, 2017 19:14

    This issue can be reproduced in 2017.2.0f3. It is NOT fixed.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.