Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X



Found in






Issue ID




[Accelerator] The Editor crashes when downloading corrupted Metadata files from the Accelerator cache database

Asset - Database


How to reproduce:
1. Install Unity Accelerator
2. Create and open a new project
3. Open the Preferences window from Edit > Preferences
4. Open the Cache Server tab and Insert the Accelerator address that was provided after the 1st step
5. Close the project
6. Delete the Library folder of the project created in the 2nd step
7. Open and close the project
8. Navigate to the Accelerator storage location and open the "cachedb" folder
9. Find and open a Metadata file in the hashed folders
10. Remove a byte from the file and save it
11. Open the project

Expected results: the cache corruption is detected and the faulty files are skipped without crashing
Actual results: the Editor crashes

Reproducible with: 2019.4.19f1, 2020.2.2f1, 2021.1.0b4, 2021.2.0a3
Could not test with: 2018.4.30f1 (Unity Accelerator not available)

-The Editor always crashes while downloading Metadata files but never while downloading Artifact files
-The crash stack trace isn't always consistent and depends on where the corruption was introduced in the 10th step
- Corrupting non-Metadata files in the "cachedb" folder causes other types of issues (usually not crashes), most often warnings that the Editor failed to deallocate some memory

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a7

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0f1

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.2f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.23f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.