How to reproduce:
1. Open the “WebGLStorageTest“ project
2. Open the “SampleScene”
3. Make sure to switch the Platform to “WebGL” (File > Build Settings > “WebGL” > “Switch Platform”)
4. Build And Run
5. Open Chrome DevTools (F12) and select the Application tab
6. Expand “IndexedDB” > “/idbfs” and select “FILE_DATA”
7. In the Player select the "Write" button
8. In the Chrome DevTools select the refresh icon and observe the Key/Value fields
9. In the Player select the "Sync" button
10. Repeat step 8
Expected result: The record should be automatically saved after selecting the "Write" button
Actual result: The record is saved after selecting the “Sync” button
Reproduced with: 2021.3.34f1, 2022.3.17f1, 2023.2.5f1, 2023.3.0b2
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Browser reproduced on: Chrome, Firefox, Edge
Notes:
1. Could not test in Editor → Not possible to check if the Key/Value fields are saved the same way as using Player DevTools
2. Information on how to open the DevTools on different browsers can be found here: https://docs.unity3d.com/Manual/webgl-debugging.html