Search Issue Tracker

Fixed

Fixed in 2021.3.37f1, 2022.3.22f1, 2023.2.15f1, 6000.0.0b11

Votes

0

Found in

2021.3.35f1

2022.3.20f1

2023.2.11f1

2023.3.0b8

Issue ID

UUM-64177

Regression

No

Generating Visual Studio solution ignores arguments passed with PlayerSettings.SetAdditionalIl2CppArgs

--

-

How to reproduce:
1. Open the “RepoFlags” project
2. Open the “SampleScene”
3. Make sure that “Create Visual Studio Solution” is enabled (File > Build Settings)
4. Build the Visual Studio Solution (File > Build Settings > “Build”)
5. Open the “ReproFlags.sln” Solution in Visual Studio IDE
6. If the “Preview Solution Actions” window appears select “OK”
7. Build the Solution

Expected result: Build is successful
Actual result: Build is unsuccessful and errors are thrown

Reproduced with: 2021.3.35f1, 2022.3.20f1, 2023.2.11f1, 2023.3.0b8

Reproduced on: Windows 10 (by reporter), Windows 11
Not reproduced on: No other environment tested

Notes:
1. Building the Player within the Editor throws errors → These errors are provided in internal comments
2. Visual Studio full error log is provided in internal comments
3. Not reproducible in a new project using the “--linker-flags-file” flag
4. Not reproducible with “Mono” Scripting Backend (File > Build Settings > Player Settings > Player > Other Settings > Configuration)

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.