Search Issue Tracker

Fixed in 2019.2.X

Votes

0

Found in

2018.2.0a1

2019.1.0a14

Issue ID

1117382

Regression

Yes

[Editor] Unity Crashes on deleting assets from explorer/finder while the project is being created

Themes

-

Unity crashes on deleting files after creating meta files but before the scripts compile

Steps to reproduce:
1. Open Hub/Unity Launcher
2. Click on "Create Project"
3. Navigate to the folder where the new project was created
4. (Mac only) If meta files are not shown, press Cmnd + Shift + . to show hidden files
5. Delete files inside Assets folder after their meta files are created

Note:
1. When using older versions of unity, if SampleScene is not available, copy a file so that a meta file can be created, and then delete it.
2. Unity does not crash if files are deleted before meta files are created
3. Refer attached video

Actual result:
Unity crashes when the files are deleted

Expected result:
Unity opens gracefully and shows the warning "A meta data file (.meta) exists but its asset '<assetname>' can't be found."

Reproduced in:
2019.2.0a2, 2019.2.0a1, 2019.1.0a14, 2018.3.0f2, 2018.2.0a1

Working fine in:
2018.1.9f2, 2017.4.15f1

Environment:
Windows & Mac

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.