Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.52f1
6000.0.28f1
6000.1.0a4
6000.2.0a1
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-87658
Regression
No
New selector in Matching Selectors displays as on line -1 in debugger
Steps to reproduce:
- Create a new URP project.
- Import the extracted contents of the attached Editor.zip.
- Open Assets > Editor > SimpleCustomEditor.uxml in UI Builder.
- In the UI Builder, add a new selector to mysheet.uss and add that selector to #button1. Save your changes.
- Window > UI Toolkit > SimpleCustomEditor.
- Click the vertical ... menu icon > UI Toolkit Debugger.
- Click Pick Element in the Debugger, then click on the red button in SimpleCustomEditor.
- Expand Matching Selectors section.
Actual results: Your new selector's button says mysheet.uss:-1
Expected results: It should be mysheet.uss:12 , or whatever line that new selector is on when you open mysheet.uss in a code editor.
Reproducible with versions: 6000.1.0a4, 6000.0.28f1, 2022.3.52f1, 2022.2.0a17
Can't test with versions: 2021.3, not supported on OS
Tested on (OS): Ubuntu 24.04
Notes:
- Issue is resolved after an editor restart.
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Thank you for bringing this issue to our attention. After careful consideration, we have determined that other higher-priority issues should take precedence, and we have decided not to address your issue at this time. The priority level is determined by factors such as the severity and frequency of an issue and the number of users affected by it. We appreciate your input and understanding, and please let us know if you have any other concerns or issues you would like to report in the future.
A less invasive workaround is to reimport the USS asset, instead of restarting the editor.