Search Issue Tracker

Fixed in 2019.3.X

Votes

0

Found in

2019.3.0a7

2019.3.0a8

Issue ID

1171655

Regression

Yes

Command line arguments are passed twice in the built player when using System.Environment.CommandLine

Windows

-

How to reproduce:
1. Open user-submitted project (argstest)
2. Open the SampleScene
3. Build the project
4. Launch the player with any command line argument

Expected result: the command line argument is only passed once
Actual result: the command line argument is passed twice

Reproducible with: 2019.3.0a7, 2019.3.0a11
Not reproducible with: 2017.4.30f1, 2018.4.5f1, 2019.1.12f1, 2019.2.0b10, 2019.3.0a6

Notes:
A pre-built project with the issue is also present in the submitted archive
Could not reproduce on macOS
Reproduced with both Mono and IL2CPP

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.