Search Issue Tracker
Fixed
Fixed in 2022.3.47f1, 6000.0.17f1, 7000.0.0a1
Votes
0
Found in
2021.3.38f1
2022.3.27f1
6000.0.0f1
7000.0.0a1
Issue ID
UUM-71796
Regression
No
The "--additional-libraries" argument is ignored when building projects with the IL2CPP scripting backend
How to reproduce:
1. Open the attached “IL2CPP_additional_libraries_issue“ project
2. Open the “ProjectSettings.asset” file (IL2CPP_additional_libraries_issue\ProjectSettings\ProjectSettings.asset)
3. Navigate to line 646 (additionalIl2CppArgs) and enter the path of the project after the “--additional-libraries” argument
4. Save and close the “ProjectSettings.asset” file
5. Build the project (File → Build Settings → Build)
6. Observe the Console window
Expected result: The build succeeds
Actual result: The build fails and shows “error LNK2019: unresolved external symbol StaticLibFunc referenced in function” and “fatal error LNK1120: 1 unresolved externals” in the Console
Reproducible in: 2021.3.38f1, 2022.3.27f1, 6000.0.0f1
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
Workaround: It is possible to link additional libraries via “PlayerSettings.SetAdditionalIl2CppArgs” by using the “--linker-flags” argument
Note: Not reproducible when using Mono scripting backend
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment