Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.45f1
2022.3.52f1
6000.0.26f1
6000.1.0a4
7000.0.0a9
Issue ID
UUM-86954
Regression
No
UI Builder fails to create StyleSheet with large file name because 'path is outside of the project'
Steps to reproduce:
- Open a Unity Project
- Open UI Builder via Window > UI Toolkit > UI Builder
- In the StyleSheets section, click + > Create New USS
- Give the uss file a long file name (if its too long Windows won't let you create the file) such as sdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaeswfassdfasfaesw
- Click 'Save'
Actual results: A 'Saving new document failed' warning will be given. The warning says that 'the path is outside of the project' which is incorrect.
!image-2024-11-08-12-27-42-494.png|width=1215,height=116!
You can create a USS file with a file name this long from your Project Window (and then add it to UI Builder via Add Existing USS), it's creating via UI Builder that has this issue.
Expected results: Either a warning is not given, or the warning does not give an incorrect reason.
Reproducible with versions: 6000.1.0a4, 6000.0.26f1. 2022.3.52f1, 2021.3.45f1
Not reproducible with versions: -
Can’t test with versions: -
Tested on (OS): Windows 10/11
Notes: -
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.