Search Issue Tracker
Fixed in 1.0.0-preview.6
Votes
1
Found in [Package]
1.0.0-preview.5
Issue ID
1274584
Regression
No
Editor freezes and memory usage increases when moving a selector between USS files
How to reproduce:
1. Open the attached project (case-1274584.zip)
2. Open the UI Builder window (Window -> UI -> UI Builder)
3. Drag the '.unity-button:hover' selector from 'test.uss' to 'test2.uss'
4. Drag the '.unity-button' selector from 'test.uss' to 'test2.uss' and make sure that it lands above '.unity-button:hover'
Expected result: the selector is successfully transferred to the other USS file
Actual result: the Editor freezes and starts using a lot of memory
Reproducible with: 1.0.0-preview.1, 1.0.0-preview.5 (2019.4.9f1, 2020.1.4f1, 2020.2.0b1)
Could not test with: 2018.4.27f1 (package not compatible)
Could not test with package versions: 0.11.2-preview (can not drag the selector from one USS file to another)
Notes:
1. The issue does not occur if the UXML file doesn't contain the element that the selector targets (in this example a button)
2. The issue seems to occur only when dragging a selector above another selector that is of the same class and additionally contains pseudo-states
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
- [Lost Crypt] Readme text is white on light grey in light mode
- Margins of TMP GameObjects become the same when both are selected
- Tile Palette 'Z Position' value changes/reverts to the previous value when hovering in the Scene
- Creating a Grid in the scene and then deleting it removes the default Grid
- Default Tile Palette layout cuts of the part of Tile Palette preview
Resolution Note (fix version 1.0.0-preview.6):
Fixed in UI Builder 1.0.0-preview.6.