Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/edcasillas/unity-missing-references-finder

A tool to find missing references in Unity
https://github.com/edcasillas/unity-missing-references-finder

assets unity unity-editor unity-plugin unity-scripts unity3d

Last synced: about 1 hour ago
JSON representation

A tool to find missing references in Unity

Awesome Lists containing this project

README

        

Buy Me a Coffee at ko-fi.com

# Missing References Finder for Unity
A tool to find missing references in Unity.

Original credit to: http://www.li0rtal.com/find-missing-references-unity/

## Install ##

**Installation must be performed by project.**

1. Open the `Package Manager` in Unity (menu `Window` / `Package Manager`).
2. Press the `+` button in the top left corner of the Package Manager panel and select `Add package from git URL...`
3. When prompted, enter the URL https://github.com/edcasillas/unity-missing-references-finder.git

Alternatively, you can manually add the following line to your Packages/manifest.json file under dependencies:

"com.ecasillas.missingrefsfinder": "https://github.com/edcasillas/unity-missing-references-finder.git"

Open Unity again; the Package Manager will run and the package will be installed.

## Update ##

1. Open the `Package Manager` in Unity (menu `Window` / `Package Manager`).
2. Look for the `Missing References Finder` package in the list of installed packages and select it.
3. Press the `Update` button.

Alternatively, you can manually remove the version lock the Package Manager creates in `Packages/manifest.json` so when it runs again it gets the newest version. The lock looks like this:

```
"com.ecasillas.missingrefsfinder": {
"hash": "someValue",
"revision": "HEAD"
}
```

## Use ##

Open the Tools menu and select `Find Missing References`, then select the context in which you want to search:
- The current scene.
- All scenes added to the build settings.
- All assets.
- Everywhere (all scenes added to the build settings + all assets).

Click on one of these options and wait for the process to finish. Missing references will be shown as errors in the console and you can click on them to jump to the corresponding game object.

## Known Issues ##
- The count of missing references shown in the dialog at the end of the process is sometimes incorrect. This doesn't affect the results shown in the console.