Search Issue Tracker
Fixed
Votes
0
Found in
2022.1.8f1
2022.2.0a18
2023.1.0a2
Issue ID
UUM-7682
Regression
Yes
Folders with numbers and dots cannot be created when using AssetDatabase.CreateFolder
How to reproduce:
1. Open the attached project ("DotInFolderBug.zip")
2. Choose "Bug/Create Folder With Dot In Name" in the menu bar
Expected result: A folder named "9.1.0" is created
Actual result: "9. is not a valid directory name. Please make sure there are no unallowed characters in the name." and "Failed to create folder" errors are thrown
Reproducible with: 2022.1.0a12, 2022.1.8f1, 2022.2.0a18, 2023.1.0a2
Not reproducible with: 2020.3.36f1, 2021.3.5f1, 2022.1.0a11
Reproducible on:
macOS 12.1 (Intel)
Note:
- It is also an issue when creating Folders manually (Create -> Folder). E.g. if you create a Folder named "1.9.2", it is formatted to "1_".
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:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-7046