Search Issue Tracker
By Design
Votes
0
Found in
2017.3.0f3
Issue ID
985599
Regression
No
[UWP] File.OpenAsync/DataReader.LoadAsync hangs when file is in StreamingAssets folder
How to reproduce:
1. Open the attached project and load the Scenes/test project and switch platform to UWP
2. Build project (Include the c# project for debugging)
3. Open built project in VS
4. Open the SaveLoadSystem.cs file and place breakpoint on ReadBytesFromLocalFile_Async() Line 184
5. Build and Debug/Run project
6. When a breakpoint is hit, press F5
Expected result: App should continue after it has read the file and byte data can be read.
Actual result: Migrating 5.6.4f1 project to 2017. Have not modified any of the files i/o code in the project and it now hangs when trying to access the file. This causes the launch app from not rendering anything since the project needs to load the file first
Reproduced with: 2017.2.1p2, 2017.3.0p2, 2018.1.0b3
Note: Reproduced on .Net and IL2CPP
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
Add comment