assets-refresh

Refresh Unity AssetDatabase and force C# recompilation after external file changes.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/lightvu25/Echoes --skill assets-refresh-lightvu25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-refresh
Source: https://github.com/lightvu25/Echoes/tree/main/SKILLS/assets-refresh
Command: npx skills add https://github.com/lightvu25/Echoes --skill assets-refresh-lightvu25

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity projects can fall out of sync when files are added or modified outside the Unity editor, requiring a refresh to update the AssetDatabase and trigger script recompilation.

Core Features & Use Cases

  • Syncs the AssetDatabase after external file changes so Unity reflects new or updated assets.
  • Forces C# script recompilation when scripts are added or updated outside Unity.
  • Suitable for editor automation, CI pipelines, and daily development workflows.

Quick Start

Run the assets-refresh tool after external changes to refresh the AssetDatabase and recompile scripts.

Frequently Asked Questions about assets-refresh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refresh the Unity AssetDatabase after external file changes?

To refresh the Unity AssetDatabase after external file changes, you run the assets-refresh tool to synchronize the database and force script recompilation non-interactively.

Why does Unity not recognize files added outside the editor?

Unity does not recognize externally added files because the AssetDatabase is out of sync, requiring a refresh operation to detect new assets and trigger C# script recompilation.

Can I use this AssetDatabase refresh tool in a CI pipeline?

Yes, you can use this AssetDatabase refresh tool in a CI pipeline because it performs the refresh operation non-interactively and accepts an options parameter to satisfy Unity tooling requirements.

What is the best way to force Unity script recompilation after updating C# files?

The best way to force Unity script recompilation after updating C# files externally is to run a non-interactive AssetDatabase refresh that synchronizes the project and triggers the compiler.

Does the Unity refresh operation support non-interactive automation?

Yes, the Unity refresh operation supports non-interactive automation by accepting an options parameter, making it suitable for editor automation and CI pipelines without user intervention.