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
- Project Auditor suggests to update package to a lower version than installed when the recommended package version is not the latest version
- Low performance when multiple meshes using BlendShape are rendered on screen
- TMP Dropdown visually corrupts or disappears when its own GameObject is assigned to "Caption Image" or "Placeholder" elements
- Usymtool tries to upload GameAssembly.pdb when it doesn't exist after building with Mono backend
- “NullReferenceException” error thrown in the Console when running HDRP Wizard “Fix All” in URP project after installing HDRP Package
Resolution Note (fix version 1.0.0-preview.6):
Fixed in UI Builder 1.0.0-preview.6.