Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X, 2022.1.X
Votes
1
Found in
2019.4
2020.3
2020.3.23f1
2021.2
2022.1
Issue ID
1382446
Regression
No
FileUtil.DeleteFileOrDirectory deletes the entire project folder when it is passed a null value
Reproduction steps:
1. Open the attached project "Case_1382446"
2. In the Menu Bar select "FileUtil-> Execute"
Expected result: An error is thrown or a warning that you are attempting to delete the project
Actual result: The entire project folder is deleted
Reproducible with: 2019.4.33f1, 2020.3.23f1, 2021.2.4f1, 2022.1.0a16
Notes:
- Issue reproduces with both a "null" value and an empty string ("") passed to the method
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b5
Resolution Note (fix version 2021.2):
Fixed in 2021.2.11f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.29f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.38f1