Search Issue Tracker
Third Party Issue
Votes
0
Found in
2021.3.31f1
Issue ID
UUM-53168
Regression
No
System.IO.IOException when repeatedly accessing multiple files from multiple threads
How to reproduce:
1. Download and open the attached "UnityFileStreamTestForArchive" project
2. Build and run the project on iOS
3. Press the "Start" button
4. Wait for a few minutes and observe the console in the application
Expected outcome: No errors appear
Actual outcome: "System.IO.IOException: Sharing violation on path" error appears
Reproducible with: 2021.3.31f1, 2022.3.11f1, 2023.1.16f1, 2023.2.0b13, 2023.3.0a9
Reproduced on: iPhone 13 Pro 16.1.1, VLNQA00513 - OnePlus Nord N10 5G (BE2029), CPU: Snapdragon 690 SM6350, GPU: Adreno 619, OS: 11 ("System.IO.IOException: Sharing violation on path”, "System.UnauthorizedAccessException: Access to the path” errors)
Not reproduced on:
VLNQA00498 - Google Pixel 7 (Pixel 7), CPU: Google Tensor G2, GPU: Mali-G710, OS: 13
VLNQA00409 - Galaxy Z Fold3 5G (SM-F926B), CPU: Snapdragon 888, GPU: Adreno 660, OS: 11
VLNQA00336 - HUAWEI Y6p (MED-LX9N), CPU: MediaTek MT6762R, GPU: PowerVR Rogue GE8320, OS: 10
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ListView fails to display items when the source list is cleared and a single element is added
- UI Toolkit ':hover' state remains active when another panel is drawn over the hovered element and Touch input is used
- Unsupported Orient modes can be selected and throw errors when using Strip VFX
- "Tab" key exits the name text field in the VFX Graph tab when renaming the Property
- Shader warnings are thrown when deleting blocks in the Ribbon VFX Graph
Resolution Note:
This is .Net standard library behaviour, unrelated to Unity code. Most likely issue is unsafe IO usage in multiple threads.