This issue happens when you delete an instance while it’s in the state of being renamed which is why the engine can’t find the instance. This seems to only work on LocalScript, ServerScript and ModuleScript and where they are placed doesn’t matter for this error to occur.
I tested this on Fedora with Vinegar to run Studio.
Steps to reproduce:
-
Select the instance so that it’s highlighted in blue

-
Click on the instance’s name and then right click before the textbox to change the instance’s name appears

It should look like this having the context menu open and the textfield being there to rename the instance
- Press on ‘Delete’
By following these steps you will get this error


