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.)
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
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.