Tools / Asset Store
GhostScriptRemover
Unity tool that cleans up missing script references ('ghost scripts') in a project, in one click.

An editor utility that fixes a common Unity problem: leftover missing or broken script references cluttering a project.
It detects and removes these 'ghost scripts' to keep a project clean and error-free. Compatible with Built-in, URP and HDRP, published on the Unity Asset Store.