Search Issue Tracker
Fixed in 1.0.0-preview.18
Votes
0
Found in [Package]
1.0.0-preview.15
Issue ID
1362979
Regression
No
ScrollBar in Slider is not in the same position as mouse cursor when using UI Toolkit
How to reproduce:
1. Open the attached project "UIT Bug report.zip"
2. Open the "SampleScene" Scene (Assets>Scenes>SampleScene)
3. Enter the Play Mode
4. Move the Music Loudness Slider
5. Move the Effects Loudness Slider
Expected result: Effects Loudness Slider is at the same position as the mouse cursor
Actual result: Effects Loudness Slider is not at the same position as the mouse cursor, it's more to the left side
Reproducible with: UI Toolkit 1.0.0-preview.15, 1.0.0-preview.16, 1.0.0-preview.17 (2020.3.18f1, 2021.1.20f1), UI Toolkit 1.0.0 (2021.2.0b10, 2022.1.0a7)
Could not test with: 2019.4.30f1, 1.0.0-preview.3 - 1.0.0-preview.14 (2020.3.18f1, 2021.1.20f1) (Errors: "Library/PackageCache/com.unity.ui@1.0.0-preview.14/Editor/Inspector/InspectorElement.cs(587,84): error CS1503: Argument 1: cannot convert from 'UnityEngine.GUILayoutUtility.LayoutCache' to 'int'")
Notes:
-Same results in the Editor and in the Build
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Resolution Note (fix version 1.0.0-preview.18):
Fixed in 1.0.0-preview.18
Slider dragger-container height/width are now properly set when not showing the input field and setting align-items to something else than stretch