Search Issue Tracker

Fixed in 2018.3

Votes

0

Found in

2018.2.0b11

Issue ID

1057411

Regression

No

[IL2CPP] System.IO.Directory.GetLogicalDrives() returns 0 length array in a build project

IL2CPP

-

Steps to reproduce:
1. Download 10574411_repro.zip and open "Main" scene
2. Enter play mode
3. Notice that GetLogicalDrives() returned an array containing the names of the logical drives of the computer
4. Build Standalone player with IL2CPP backend
5. Launch build project
6. Notice that returned array length is 0

Expected results: GetLogicalDrives() returns an array containing the names of the logical drives of the computer
Actual results: GetLogicalDrives() returns 0 length array on IL2CPP

Reproduced with: 2018.3.0a4, 2018.2.0f2, 2018.1.8f1, 2017.4.7f1, 2017.1.4f1
Tested and reproduced on UWP and Standalone player

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.