{
  "id": "unity/addressables-catalog-hash-mismatch",
  "signature": "UnityEngine.AddressableAssets: Initialization failed: Content catalog hash mismatch. Expected 'abc123', got 'def456'.",
  "signature_zh": "UnityEngine.AddressableAssets：初始化失败：内容目录哈希不匹配。预期为 'abc123'，实际为 'def456'。",
  "regex": "Content catalog hash mismatch\\. Expected '[^']+', got '[^']+'",
  "domain": "unity",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The local addressables content catalog hash does not match the remote catalog hash, indicating a stale or corrupted local cache.",
  "root_cause_type": "generic",
  "root_cause_zh": "本地可寻址内容目录哈希与远程目录哈希不匹配，表示本地缓存已过时或损坏。",
  "versions": [
    {
      "version": "1.21.17",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.22.0-pre.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The hash mismatch is between local and remote catalogs; deleting settings removes the entire configuration, not just the cache.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Addressables uses its own cache in Application.persistentDataPath, not the browser cache; clearing browser cache has no effect.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Reimporting builds a new local catalog but doesn't update the remote catalog; the mismatch persists if remote hasn't been rebuilt.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Clear the Addressables cache at runtime: `Caching.ClearCache(); Addressables.InitializeAsync();`",
      "success_rate": 0.92,
      "how": "Clear the Addressables cache at runtime: `Caching.ClearCache(); Addressables.InitializeAsync();`",
      "condition": "",
      "sources": []
    },
    {
      "action": "In the Editor, go to Windows > Asset Management > Addressables > Settings and click 'Clean Build' > 'All' to rebuild both local and remote catalogs.",
      "success_rate": 0.88,
      "how": "In the Editor, go to Windows > Asset Management > Addressables > Settings and click 'Clean Build' > 'All' to rebuild both local and remote catalogs.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Manually delete the catalog cache folder at `{persistentDataPath}/com.unity.addressables/` then reinitialize.",
      "success_rate": 0.85,
      "how": "Manually delete the catalog cache folder at `{persistentDataPath}/com.unity.addressables/` then reinitialize.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Clear the Addressables cache at runtime: `Caching.ClearCache(); Addressables.InitializeAsync();`",
    "In the Editor, go to Windows > Asset Management > Addressables > Settings and click 'Clean Build' > 'All' to rebuild both local and remote catalogs.",
    "Manually delete the catalog cache folder at `{persistentDataPath}/com.unity.addressables/` then reinitialize."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.unity3d.com/Packages/com.unity.addressables@1.21/manual/InitializeAsync.html",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.82,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2023-11-05",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}