Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X

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. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a23

Comments (1)

  1. ImmersiveWays

    Apr 21, 2020 14:09

    Hi,
    Is it possible to have a fix for 2019.2.21 version ? Because i can't upgrade my project to 2019.3.0 version.

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.