Could not find an instance by ID (renaming instance)

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:

  1. Select the instance so that it’s highlighted in blue
    Screenshot_20260110_162547

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

It should look like this having the context menu open and the textfield being there to rename the instance

  1. Press on ‘Delete’

By following these steps you will get this error

Thanks for the quality report, we’ve been looking for ways to repro this issue.