Unity Missing Reference Killer
Professional Asset Integrity & Clean-up Tool for Unity
The Missing Reference Killer is an editor extension designed to maintain project stability by detecting, analyzing, and resolving broken references across complex Unity projects. It ensures zero “Missing Script” errors or null references make it into your builds.
Core Capabilities
🔍 Deep Recursive Scanning
Iterates through the entire project database, including:
- Loaded Scenes: Validates active hierarchy objects.
- Unloaded Scenes: Opens scenes additively in the background to verify content without context switching.
- Prefabs: Drills down into nested prefabs to find broken overrides.
- ScriptableObjects: specific support for configuration assets and game events.
🛡️ Build Safety Processor
Integrated IPreprocessBuildWithReport callback ensures no broken build leaves your editor.
- Auto-Scan on Build: Automatically triggers a scan when you press “Build”.
- Critical Abort: Prevents the build process if critical “Missing Script” errors are detected, saving compile time and runtime crashes.
🧩 Prefab Integrity Check
Advanced logic (MRK_PrefabIntegrity) to detect subtle prefab corruption:
- Disconnected Prefabs: Identifies instances that have lost the link to their source asset.
- Missing Assets: Flags “Red Prefabs” where the source
.prefabfile was deleted.
🧠 Smart Assist & Resolution
- Fuzzy Matching: Analyzes variable names (e.g.,
_enemyTarget) to suggest relevant assets from the database. - Batch Fixing: Fix hundreds of null references in one click.
- Preview System: Review every change in a dedicated window before applying.
- Undo Integration: All actions are registered with Unity’s global Undo system (Ctrl+Z supported).
Technical Specifications
| Requirement | Details |
|---|---|
| Unity Version | 2021.3 LTS or newer |
| Pipeline | Render Pipeline Independent (Built-in, URP, HDRP) |
| Platform | Editor Tool (Windows/Mac/Linux) |
| Assembly | Editor-only (Stripped from builds) |