# AssetDatabase：资产“Assets/Textures/icon.png”缺少 .meta 文件

- **ID:** `unity/asset-database-missing-meta-file`
- **领域:** unity
- **类别:** resource_error
- **错误码:** `ADB-001`
- **验证级别:** ai_generated
- **修复率:** 92%

## 根因

项目资产的 .meta 文件丢失或损坏，通常是由于 Unity 外部的文件操作或版本控制冲突导致。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| Unity 2021.3 | active | — | — |
| Unity 2022.3 | active | — | — |
| Unity 2023.1 | active | — | — |

## 解决方案

1. ```
   通过在项目窗口中选择资产并单击“资产 > 重新导入”或按 Ctrl+R 来重新生成 .meta 文件。
   ```
2. ```
   使用“资产 > 全部重新导入”选项重新生成项目中的所有 .meta 文件。
   ```

## 无效尝试

- **Delete the asset file and re-import it from the original source.** — This may not regenerate the .meta file correctly if the asset is re-imported with the same GUID conflicts. (35% 失败率)
- **Copy a .meta file from another asset and rename it.** — Each .meta file contains a unique GUID; using a duplicate can cause GUID collisions and further errors. (75% 失败率)
