Search Issue Tracker

Fixed in 1.0.0-preview.9

Votes

0

Found in [Package]

1.0.0-preview.9

Issue ID

1281094

Regression

No

ShaderGraph group border appears in a different position when using UIToolkit

Package: UI Toolkit

-

How to reproduce:
1. Open attached project
2. Open "New Shader Graph" Graphview
3. Select Color and Invert Colors nodes
4. Right-click and select "Group selection"

Expected result: The border appears around the selected nodes
Actual result: The borders appear somewhere to the right side to the nodes

Reproducible with: 2020.1.6f1(1.0.0-preview.8, 1.0.0-preview.9)
Can't test: 2020.2 (UIToolkit compilation errors), 2019.4, 2018.4 (UIToolkit unavailable)

Note:
- After clicking the "Group selection" button I get this error:

MissingFieldException: Field 'UnityEngine.UIElements.VisualElement.isBoundingBoxDirty' not found.
UnityEditor.Experimental.GraphView.Scope.UpdateGeometryFromContent () (at <67055f1be3654e2a987254d5437ee5b8>:0)
UnityEditor.Experimental.GraphView.Scope.<ScheduleUpdateGeometryFromContent>b__38_0 (UnityEngine.UIElements.TimerState t) (at <67055f1be3654e2a987254d5437ee5b8>:0)
UnityEngine.UIElements.VisualElement+TimerStateScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at Library/PackageCache/com.unity.ui@1.0.0-preview.9/Core/VisualElementScheduler.cs:324)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at Library/PackageCache/com.unity.ui@1.0.0-preview.9/Core/Scheduler.cs:360)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at Library/PackageCache/com.unity.ui@1.0.0-preview.9/Core/UIElementsUtility.cs:257)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at Library/PackageCache/com.unity.ui@1.0.0-preview.9/Core/UIElementsUtility.cs:105)
UnityEditor.RetainedMode.UpdateSchedulers () (at <67055f1be3654e2a987254d5437ee5b8>:0)

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.