Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.3

Votes

0

Found in

2019.3.0b6

2019.3.0f6

2020.1.0a7

Issue ID

1215557

Regression

Yes

System.Environment.GetCommandLineArgs() method returns incorrect values when application name contains space characters

Windows

-

How to reproduce:
1. Open the attached 'project-1215557.zip' project
2. Build and run the project
3. Observe the Debug Console output

Expected result: one argument is printed out ("<project path>\project-1215557\File Name Test.exe")
Actual result: three arguments are printed out (path is split by space characters)

Reproducible with: 2019.3.0b6, 2019.3.0f6, 2020.1.0a7, 2020.1.0a21
Not reproducible with: 2017.4.36f1, 2018.4.16f1, 2019.2.20f1, 2019.3.0b5, 2020.1.0a1, 2020.1.0a6

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a23

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.