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
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
Add comment