# Failed to load AssetBundle: CRC mismatch. Expected 0xABCD1234, got 0x5678EF90

- **ID:** `unity/assetbundle-crc-mismatch`
- **Domain:** unity
- **Category:** io_error
- **Verification:** ai_generated
- **Fix Rate:** 92%

## Root Cause

AssetBundle file is corrupted or was built with a different version of Unity, causing the CRC check to fail during loading.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Unity 2021.3 | active | — | — |
| Unity 2022.3 | active | — | — |
| Unity 2023.1 | active | — | — |

## Workarounds

1. **Rebuild the AssetBundle from the original assets using the same Unity version that will load it: BuildPipeline.BuildAssetBundles(outputPath, BuildAssetBundleOptions.None, BuildTarget.StandaloneWindows64);** (95% success)
   ```
   Rebuild the AssetBundle from the original assets using the same Unity version that will load it: BuildPipeline.BuildAssetBundles(outputPath, BuildAssetBundleOptions.None, BuildTarget.StandaloneWindows64);
   ```
2. **If the bundle is from a remote server, re-download it to ensure integrity: using UnityWebRequestAssetBundle.GetAssetBundle(url);** (85% success)
   ```
   If the bundle is from a remote server, re-download it to ensure integrity: using UnityWebRequestAssetBundle.GetAssetBundle(url);
   ```

## Dead Ends

- **** — Manually editing the AssetBundle file to fix the CRC is impractical because the CRC is computed over the entire file and cannot be easily recalculated. (95% fail)
- **** — Disabling CRC checks entirely via AssetBundle.LoadFromFile with crc: 0 ignores corruption and may cause undefined behavior later. (60% fail)
