Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

0

Found in

2021.3.34f1

2022.3.17f1

2023.2.5f1

2023.3.0b2

6000.0.0b11

Issue ID

UUM-60385

Regression

No

WebGL StreamWriter not triggering "syncfs" when writing a file to "/idbfs"

--

-

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|https://docs.unity3d.com/Manual/webgl-debugging.html|smart-link]

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.