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

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.