Audit Unity GUID references
re_refsAudits Unity project GUID references to find dangling scripts, duplicate .meta GUIDs, missing or orphan assets, and unreferenced files; reports issues with fix suggestions without writing changes.
Instructions
Audits a Unity project's GUID references: references to GUIDs no .meta file declares (dangling: missing scripts, pink materials), the same GUID in two .meta files (copies made outside Unity), assets without a .meta, .meta files whose asset is gone, and declared assets nothing references. For dangling script references it suggests scripts that nothing references. Reports only; nothing is written. Fix by re-linking in Unity or by setting the suggested guid in the right .meta.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "re_refs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Unity project root, or any folder/file inside it. | |
| limit | No | Max items per list (default 200). |