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

Scripting

-

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

  1. 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.

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.