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

Chrome initial load bug #15

Open
dadofsambonzuki opened this issue May 16, 2023 · 1 comment
Open

Chrome initial load bug #15

dadofsambonzuki opened this issue May 16, 2023 · 1 comment

Comments

@dadofsambonzuki
Copy link
Contributor

IndexedDB is not available. Data will not persist in cache and PlayerPrefs will not be saved.
@dadofsambonzuki
Copy link
Contributor Author

The error message you encountered indicates that IndexedDB, a web browser storage technology, is not available in the initial loading of your game in Chrome. This can occur due to various reasons, such as browser settings or temporary issues.

Refreshing the page clears the error because it gives the browser another opportunity to initialize IndexedDB correctly.

To address this issue, you can try the following steps:

Clear Browser Cache: Clear your browser cache, including temporary files and stored data, and then try loading the game again. This can help ensure a fresh start and resolve any temporary caching issues.

Update Chrome: Make sure you are using the latest version of Google Chrome. Outdated versions may have compatibility issues or bugs related to IndexedDB or other web technologies.

Check IndexedDB Support: Confirm that IndexedDB is enabled in your browser settings. Open Chrome settings, navigate to the "Privacy and security" section, click on "Site Settings," and ensure that "IndexedDB" is allowed.

Test in Different Browsers: Try loading your game in different web browsers (e.g., Firefox, Safari, Edge) to see if the issue persists. This can help determine if the problem is specific to Chrome or if it occurs across multiple browsers.

Consider Alternative Storage Options: If IndexedDB continues to pose issues, you might consider using alternative storage options for caching or saving data, such as Web Storage (localStorage or sessionStorage) or server-side databases.

By following these steps, you can troubleshoot and address the IndexedDB error you encountered during the initial loading of your game in Chrome.

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

1 participant