Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2020.3.1f1
2021.1.0a5
Issue ID
1334082
Regression
Yes
Reimporting a sample deletes all non-empty parent folders recursively until the project folder.
Repro steps:
1. Install "Input System" package.
2. Import 2 of the available samples.
3. Create a new C# script file inside each folder from the samples folder up to the Assets folder.
4. Click "Import again" in the Package Manager UI.
Expected Result:
The sample is reimported correctly and no other files are affected.
Actual Result:
The Assets folder is deleted with any other files inside the project folder. There is a message in the console saying "Cannot delete directory <path to your project directory>". Unity is frozen while trying to fix all the missing files. Eventually, the editor starts to work again, but all deleted files were lost.
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
Add comment