fraxiinus / ReplayBook

Play, manage, and inspect League of Legends replays
https://www.fraxiinus.dev/ReplayBook/
GNU General Public License v3.0
325 stars 51 forks source link

Static data breaks after deleting cache #272

Closed fraxiinus closed 1 year ago

fraxiinus commented 1 year ago

Multiple bundles are still deleted in settings, refreshing list does not fix.

Log

ERROR | 2023-06-01T17:18:26    | StaticDataManager.cs -> GetAtlasImage() -> 214 | could not load image for: champion4.png - 13.10 - System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)
   at Fraxiinus.ReplayBook.StaticData.Models.ObservableBundle.GetAtlasImage(String imageSource, String dataPath)
   at Fraxiinus.ReplayBook.StaticData.StaticDataManager.GetAtlasImage(String source, String patchVersion)
fraxiinus commented 1 year ago

Deleting most recent bundle and re-downloading it fixes it

fraxiinus commented 1 year ago

Cannot reproduce