TLDR: UID Refresh will fix your "invalid UID" errors in Godot!
Download the latest release here.
If you use git in your Godot projects and work with others, you may be all too familiar with seeing UID errors in your debug log.
Ultimately this is not a big deal, as Godot will use the text path for your assets instead. However, you don't want to ship with these errors, and manually fixing them will be an annoying pain.

UID Refresh will look through your error log, find invalid UID errors, then get the correct UID and replace them into your affected TSCN files.
- Download the addons folder from this repository onto your computer. If your Godot project doesn't have an addons folder already, copy the entire addons folder into the root of your project. If it does, extract the UID Refresh folder and place it into your addons folder.
- In Godot, navigate to Project > Project Settings... > Plugins. Enable UID Refresh. *When the plugin is enabled it will turn on logging if it's not already enabled.

- Run UID Refresh by navigating to Project > Tools and clicking UID Refresh. Check your Output tab to see which UIDs were updated. *If logging was not previously enabled you will need to run your game at least one time to generate a new log file.

