This Unity Editor tool helps you find and remove missing scripts from your scene. It provides a user-friendly interface to identify GameObjects with missing scripts and offers the option to delete them.
- Find Missing Scripts in Scene: Scans the current scene for GameObjects with missing scripts and logs their locations.
- Delete Missing Scripts in Scene: Removes all missing scripts from GameObjects in the scene.
- Find Missing Scripts in Prefabs: Scans all prefabs in the project for missing scripts and logs their locations. You can click on the log entries to quickly locate the problematic prefab in the project.
- Open Unity and go to
Window
>Package Manager
. - Click the
+
button in the top-left corner. - Select
Add package from git URL...
. - Enter the following URL:
https://github.com/RimuruDev/Unity-MissingScriptsFinder.git
- Click
Add
to install the package.
- Download the latest
.unitypackage
file from the Releases page. - In Unity, go to
Assets
>Import Package
>Custom Package...
. - Select the downloaded
.unitypackage
file and import it into your project.
- Open Unity and go to the menu bar.
- Navigate to
RimuruDev Tools
>Find Missing Scripts
. - In the window that appears, you have three options:
- Find Missing Scripts in Scene: Click this button to scan the scene and log all GameObjects with missing scripts.
- Delete All Missing Scripts in Scene: Click this button to remove all missing scripts from the scene.
- Find Missing Scripts in Prefabs: Click this button to scan all prefabs in the project for missing scripts. Each logged message allows you to click on it to ping and locate the prefab in the project window.
- Email: [email protected]
- GitHub: RimuruDev
- LinkedIn: rimuru
This project is licensed under the MIT License - see the LICENSE file for details.