Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0b3
2018.3.0a2
Issue ID
1049140
Regression
Yes
Deleting scripts in quick succession causes CS2001 compiler errors
To reproduce:
1. Open attached project "test1.zip"
2. Open NewBehaviourScript1.cs with Visual Studio
3. Delete the file from Visual Studio
4. Quickly open Unity and delete NewBehaviourScript in Project Window
Expected result: the files are deleted without any errors
Actual result: the files are deleted but getting "error CS2001: Source file `Assets/NewBehaviourScript.cs' could not be found" in Console
Reproduced on:
2018.1.0b3 2018.1.0b7 2018.1.0f1 2018.1.5f1 2018.2.0b9 2018.3.0a2
Not reproduced on:
2017.4.5f1 2018.1.0b2
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
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
Resolution Note:
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.