Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to init key value store: UpgradeRequired(1) after upgrading from 0.11 to 0.12 #63

Open
wentao opened this issue Dec 24, 2024 · 1 comment

Comments

@wentao
Copy link

wentao commented Dec 24, 2024

I was using 0.11 with my bevy game. Now after upgrading to 0.12 I got the following error

thread 'main' panicked at /Users/[...]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_pkv-0.12.0/src/redb_store.rs:82:44:
Failed to init key value store: UpgradeRequired(1)

The error cause the game panic. It would be better to auto upgrade the store file, or let the client to decide how to deal with the error.

@mfpekala
Copy link

mfpekala commented Jan 5, 2025

+1 also ran into this, in the long term it'd be nice to be able to gracefully handle but for now even being able to just catch the error and delete + recreate the store (losing all data) would be nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants