Skip to content

RimuruDev/Unity-MissingScriptsFinder

Repository files navigation

Unity Missing Scripts Finder

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.

Features

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

Installation

Option 1: Install via Unity Package Manager

  1. Open Unity and go to Window > Package Manager.
  2. Click the + button in the top-left corner.
  3. Select Add package from git URL....
  4. Enter the following URL:
    https://github.com/RimuruDev/Unity-MissingScriptsFinder.git
    
  5. Click Add to install the package.

Option 2: Install via Release Package

  1. Download the latest .unitypackage file from the Releases page.
  2. In Unity, go to Assets > Import Package > Custom Package....
  3. Select the downloaded .unitypackage file and import it into your project.

Usage

  1. Open Unity and go to the menu bar.
  2. Navigate to RimuruDev Tools > Find Missing Scripts.
  3. 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.
Снимок экрана 2024-08-30 в 12 57 37 Снимок экрана 2024-08-30 в 12 56 07

Scene

photo_2024-06-15_15-43-16

Prefabs

Снимок экрана 2024-08-30 в 12 27 33

Contact

License

This project is licensed under the MIT License - see the LICENSE file for details.