Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

3

Found in

5.6.3p4

Issue ID

973049

Regression

No

System.IO.File.ReadAllText throws "IsolatedStorageException: Could not find file" if the file does not exist

Scripting

-

Steps to reproduce:
1. Open user attached project
2. Run the Main scene in the editor and notice you correctly get "FileNotFoundException"
3. Build a standalone player, run it and notice you now get "IsolatedStorageException"

Expected result: built player should correctly display "FileNotFoundException"
Actual result: built player displays "IsolatedStorageException"

Reproduced in: 2018.1.0a6, 2017.3.0b11, 2017.2.0p3, 2017.1.2p3, 5.6.4p3, 5.5.5p1, 5.4.6f3

Comments (2)

  1. Stevens-R-Miller

    May 25, 2018 12:38

    Just saw the same bug in 2017.3.1f1. It doesn't matter what kind of file it is (I'm just trying to open a text file).

  2. Section2712

    Feb 27, 2018 09:00

    It happens when i use a json file from an apk.

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.