Search Issue Tracker
Fixed in 2021.3.35f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 2023.2.6f1, 2023.3.X
Votes
0
Found in
2021.3.22f1
2022.2.12f1
2023.1.0b11
2023.2.0a9
Issue ID
UUM-34899
Regression
No
The project does not build with Linux IL2CPP when executing CLI after building for Windows
Reproduction steps:
1. Open the “Test Project” project folder
2. Change Unity’s version folder path in both “build.sh” and “build2.sh” files
3. Execute “build.sh” through some command prompt (in this case used “Git Bash”)
4. Execute “build2.sh” through some command prompt
Expected result: The Project builds without a failure
Actual result: The command prompt throws an error: “Aborting batchmode due to failure: Failed to build player.”
Reproducible with: 2021.3.22f1, 2022.2.12f1, 2023.1.0b11, 2023.2.0a9
Couldn’t test with: 2020.3.47f1 - Does not build when executing the script
Reproducible on: Windows 10
Note:
- 2021.3 - does not build at all when running the “build2.sh” script
- 2022.2, 2023.1, 2023.2 - when running the “build2.sh” script the second time, the project builds successfully
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
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
ryanjo
Aug 03, 2023 19:57
Problem: The -buildLinux64Player command line argument does not switch the build target to Linux.
Workaround: Add the "-buildTarget Linux" command line option to the Linux build script (build2.sh).