Search Issue Tracker
Fixed in 2021.3.25f1
Fixed in 2021.3.X, 2022.2.X, 2022.2.19f1, 2023.2.X
Votes
0
Found in
2020.3.44f1
2021.3.18f1
2022.2.0a9
Issue ID
UUM-25447
Regression
No
[IL2CPP][Android] Incorrectly escaped quotes in build.gradle when passing a string to SetAdditionalIl2CppArgs
Reproduction steps:
1. Open the attached “BugRepro” project
2. Click Build > Android
3. Open “BugRepro/Builds/Build/unityLibrary/build.gradle” with a text editor
4. Find “commandLineArgs.add("--compiler-flags="-D HAVE_TM_GMTOFF"")” line
Expected result: The argument is “--compiler-flags=-D HAVE_TM_GMTOFF"
Actual result: The argument is "--compiler-flags="-D HAVE_TM_GMTOFF""
Reproducible with: 2020.3.44f1, 2021.3.18f1, 2022.2.0a9
Couldn’t test with: 2022.2.0a10 - 2022.2.0a17 (Couldn’t test because of “CommandInvokationFailure: Failed to update Android SDK package list” error when building), 2022.2.0a18 - 2022.2.5f1, 2023.1.0b2 (UUM-25446 Build argument doesn’t get passed when exporting the project)
Reproducible on: Windows 10 Pro 22H2, Ubuntu 20.04
Note: Exporting the WindowsStandalone project correctly passes the argument with correct quotes to Il2CppOutputProject.vcxproj
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Duplicated groups and incorrect grouping in UI Builder when using UxmlElementAttribute: libraryPath
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
- Crash on UNITY_FT_Render_Glyph_Internal when Generating Font Atlas in the Font Asset Creator Window
luvcraft
Aug 03, 2023 05:14
Are your "expected results" and "actual results" reversed here? wouldn't the expected result be:
"--compiler-flags="-D HAVE_TM_GMTOFF""