Search Issue Tracker

By Design

Votes

0

Found in

2018.4.0f1

2018.4.9f1

2019.2.0a1

2019.3.0a1

2020.1.0a1

Issue ID

1188408

Regression

No

[IL2CPP] System.ComponentModel.Win32Exception is thrown when trying to open File Explorer path via Process.Start method on build

IL2CPP

-

How to reproduce:
1. Open the attached project ("case_1188408-TestFileBrowser.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Click the top three buttons and notice that they open the file explorer with the specified path without issues
5. Exit Play Mode and make a Standalone build using IL2CPP scripting backend
6. Run it and repeat step 4

Expected results: File Explorer opens without any errors
Actual results: "System.ComponentModel.Win32Exception" is thrown and the File Explorer is not opened when using Process.Start method (second and third button)

Reproducible with: 2018.4.10f1, 2019.2.8f1, 2019.3.0b5, 2020.1.0a7
Couldn't test with 2017.4 (doesn't support IL2CPP backend)

  1. Response avatar

    Resolution Note:

    IL2CPP does not support C# process handling. Please use the Mono scripting backend if a project requires C# process handling.

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.