Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.44f1

2022.3.47f1

6000.0.20f1

Issue ID

UUM-82586

Regression

No

Style Sheets cannot be referenced in a Theme Style Sheet file when the folder that contains the Style Sheet has a pound ("#") symbol in it's name

--

-

How to reproduce:
1. Create and open a new project
2. Create a folder in the Project tab that contains the “#“ symbol in it’s name
3. Create a “UI toolkit > Style Sheet“ and a “UI Toolkit > TSS Theme File“ in the new folder in the Project tab
4. Select the TSS Theme File and add a reference to the Style Sheet under the “Style Sheets” section in the Inspector
5. Apply the Changes in the Inspector
6. Observe the Console

Expected results: The Style Sheet is successfully referenced, and nothing is thrown in the Console
Actual results: The Style Sheet reference is not saved, and a warning is thrown in the Console

Reproducible in: 2021.3.44f1, 2022.3.47f1, 6000.0.20f1

Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested

Notes:
- The full warning reads:
“Assets/#UI_Styles/ThemeStyleSHeet.tss (line 13): warning: Invalid asset path: 'Assets/NewStyleSheet.uss' UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)“ (could be other paths, names, depending on the names of the folders and files)
- Not reproducible with any other special characters (“$“, “%“, etc.)

  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.

    The `#` character is used by Unity in our URI resolver to mark the name of the file. A workaround would be to avoid using # characters in the path.

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.