Search Issue Tracker

Fixed

Fixed in 6000.4.9f1, 6000.5.0b11, 6000.6.0a6

Votes

0

Found in

6000.0.75f1

6000.3.15f1

6000.4.6f1

6000.5.0b7

6000.6.0a6

Issue ID

UUM-142114

Regression

No

Gradient marker colors are removed when undoing marker movement in the Inspector Gradient field

IMGUI Controls

-

Steps to reproduce:

  1. Create a new 3D URP project
  2. Drag the attached "Gradient.cs" script into the Project window
  3. In the Hierarchy, create a new GameObject and drag the script onto it
  4. Select the created GameObject
  5. In the Inspector, click on the Gradient field
  6. Click on any of the bottom markers
  7. Change its color
  8. Move the marker
  9. Click Ctrl+Z to undo
  10. Observe the behavior

Actual results: The selected color is removed from the marker and marker returns to initial position. Undo removes all marker changes, not just the selected one

Expected results: Only the last action should be undone. The marker returns to its initial position,  while keeping the previously assigned color

Reproducible with versions: 6000.0.75f1, 6000.3.15f1, 6000.4.7f1, 6000.5.0b8, 6000.6.0a4

Tested on (OS): Ubuntu 24.04, macOS 26.4

Notes:

  • Undo removes all marker changes, not just the one selected
  • On macOS if a gradient preset is selected and the marker is moved, undo removes the entire gradient and it becomes white
  • Before UUM-99032, undo may keep the marker color but fail to restore the marker position correctly
  1. Resolution Note:

    Fixed in 6000.6.0a6

  2. Resolution Note (fix version 6000.6.0a6):

    Fixed in 6000.6.0a6

  3. Resolution Note (fix version 6000.4.9f1):

    Fixed in 6000.4.9f1

Add comment

Log in to post comment

All about bugs

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