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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Add comment