Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.45f1
2022.3.52f1
6000.0.26f1
6000.1.0a4
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.