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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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.