Reedbeta/reed-framework

Asset pack doesn't get updated due to wrong version, if no assets of that version type

Opened this issue · 0 comments

For example, if an asset pack has no meshes, then the system doesn't think it needs to be updated when I bump the mesh version. However, it still fails to load due to the version mismatch.

Possible solutions:

  • Store asset version numbers with the individual assets, so there'd be no mismatch if no assets of that type
  • Smarten update logic, to have the notion of updating the pack (i.e. writing new version numbers) even if no individual assets need updating
  • Smarten loading logic, to ignore mismatched versions if there are no assets of that type