Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Go to Project Settings > UI Toolkit > Text
- Enable "Advanced Text Generator"
- Create a new UXML document and open it in UI Builder
- Add a Label to the Hierarchy and select it
- In Inspector, expand the Text or Transform foldouts
- Change "Text Generator Type" to Advanced and enable "Auto Size"
- Hover next to Min or Max value and hold the left mouse button and drag to change the value
- Observe the value change
Actual results: The Min/Max value changes in a laggy/unsmooth way while dragging and continues to change even after the mouse button is released, sometimes updating just from moving the cursor in UI Builder
Expected results: The Min/Max value changes smoothly in small increments while dragging and immediately stops changing once the mouse button is released
Reproducible with versions: 6000.0.66f1, 6000.3.7f1, 6000.4.0b6, 6000.5.0a5
Tested on (OS): Windows 11
Notes:
- This could be very machine or environment-specific, and sometimes does not reproduce after the machine is restarted or etc. However, once the issue appears, I found it only affects fields in "Text", "Border", "Transition Animations" and "Transform" foldouts, other fields do not seem to lag
- Likely not caused by enabling "Advanced Text Generator" as the issue also reproduces on 6.0 where the option is not available; however I found that its the fastest way for me to reproduce the issue
- Once the issue reproduces, the value is modified even when not using the slider, but just moving the cursor through UI Builder