assets-refresh

Refresh Unity AssetDatabase to reimport assets changed outside the Unity API.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/igot-ai/os-twin --skill assets-refresh-igot-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: assets-refresh
Source: https://github.com/igot-ai/os-twin/tree/main/.agents/skills/roles/game-engineer/develop-unity-ui/references/assets-refresh
Command: npx skills add https://github.com/igot-ai/os-twin --skill assets-refresh-igot-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps the Unity AssetDatabase in sync by reimporting assets when changes occur outside the Unity API, ensuring the editor sees the latest files and metadata.

Core Features & Use Cases

  • External asset synchronization: reimports added, modified, or deleted assets to reflect current project state.
  • Script recompilation trigger: forces Unity to recompile scripts when source files change outside the Unity workflow.
  • Deterministic tool integration: exposes a predictable interface for automation and CI workflows.

Quick Start

Run assets-refresh in Unity to refresh asset metadata after external changes.

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 modifying assets outside the editor?▼

Refreshing the Unity AssetDatabase after external changes requires triggering a reimport via a deterministic tool interface or automation script. This forces the editor to recognize added, modified, or deleted files and updates project metadata.

Why does Unity not recognize files added outside of the API?▼

Unity does not recognize externally added files because the AssetDatabase is not automatically notified of changes outside its API. A manual or scripted reimport operation is required to synchronize the editor with the current file system state.

Can I trigger Unity script recompilation through automation scripts?▼

Yes, you can trigger Unity script recompilation through automation scripts by invoking a deterministic tool interface. This forces the editor to recompile scripts when source files change outside the standard Unity workflow.

Does this AssetDatabase refresh method work with CI workflows?▼

Yes, this AssetDatabase refresh method works with CI workflows by exposing a deterministic tool interface that can be invoked via HTTP API or automation scripts. It ensures reliable reimport of assets during automated game-development pipelines.

When should I use a tool to refresh Unity assets instead of relying on the editor?▼

You should use a tool to refresh Unity assets when changes occur outside the Unity API, such as in CI workflows or external file synchronization. It ensures the editor sees the latest files and metadata without manual intervention.