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
- NavMesh Surface is baked too high above the ground, making the NavMesh Agents hover above the ground when the HeightMesh is not built
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
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.