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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note (fix version 1.0.0-preview.6):
Fixed in UI Builder 1.0.0-preview.6.