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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
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.