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:

  1. Create a new URP project.
  2. Import the extracted contents of the attached Editor.zip.
  3. Open Assets > Editor > SimpleCustomEditor.uxml in UI Builder.
  4. In the UI Builder, add a new selector to mysheet.uss and add that selector to #button1. Save your changes.
  5. Window > UI Toolkit > SimpleCustomEditor.
  6. Click the vertical ... menu icon > UI Toolkit Debugger.
  7. Click Pick Element in the Debugger, then click on the red button in SimpleCustomEditor.
  8. 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.
  1. 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.

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.