Media preview
Media thumbnail
Media thumbnail
Description
Changelog
Reviews (0)

Broken Reference Finder

Finds res:// paths in your scenes, resources and scripts that point at files which no longer exist — and knows when a path only looks broken because Godot already repaired it through a uid://.

The false-positive problem this solves

A plain text search for path="res://old/sprite.png" will flag that as broken the moment the file moves, even though Godot scenes also carry a uid="uid://..." right next to the path, and Godot resolves the resource by that uid first — repairing the stale path silently on load. A scanner that only checks the path reports a false positive on every project that's had assets reorganized. This one checks the uid against Godot's own ResourceUID table before deciding anything is actually broken, so you only see the references that genuinely need fixing.

What it checks

  • Every .tscn and .tres file, for path="res://..." entries in ext_resource/sub_resource lines (plus the uid="uid://..." that often sits right beside them).
  • Every .gd and .cs file, for preload(...) and load(...) calls using either a res:// or a bare uid:// string.
  • Only string-literal paths and uids — a path assembled at runtime from a variable is outside what any static scan can see, so treat the results as a strong lead, not a guarantee.

Confidence tiers

Every result is marked High or Low confidence. Scene and resource file references are always High — a path=/uid= attribute there is never sitting inside a comment or a template. Script references can be Low two ways: a preload(...) or load(...) call for a missing file that's actually inside a commented-out line (# preload(...) in GDScript, // preload(...) in C#) still matches a plain text search but never runs; and a literal immediately followed by %, + or .format( — load("res://x_%02d.png" % i) — is a template being built into a real path at runtime, not the literal path that's actually loaded. Both are labelled separately instead of being mixed in with calls that actually execute.

What you get back

A list with the exact file, line number and confidence tier of each genuinely broken reference (uid-repairable ones are left out), sorted so High-confidence results come first. Double-click a row to reveal the containing file in your system file manager, and an Export Markdown button writes broken_references.md so you can work through the list outside the editor or hand it to someone else.

How this compares

Godot Project Doctor Mini also flags broken resource paths, but its own documentation describes that check as "simple text/resource checks, not a full dependency graph analyzer" and lists dynamic resource loads as a known limitation, with no mention of resolving uid:// first. This plugin checks each reference's uid against Godot's own ResourceUID table before deciding anything is broken, so a path that only looks stale because the file moved isn't reported as broken.

Setup

Copy addons/broken_reference_finder into your project's addons/ folder and enable Broken Reference Finder under Project > Project Settings > Plugins. Use the dock tab's Scan Project button after a rename pass, after deleting old art, or right before you cut a release.

Works with

Godot 4.2 and later (tested on 4.7).

More from this developer

Also free: Todo Tracker and Unused Resource Finder. For dead-code, autoload and input-action checks in the same vein as these free scanners, see Godot Project Hygiene Pro.

License

MIT — see LICENSE.

Changelog for version v1.2.2

2026-11-04 06:08:49

No changelog provided for this version.

Reviews

Broken Reference Finder has no reviews yet.

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.