Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2021.3.X, 2022.1.X

Votes

1

Found in

2021.2

2021.2.16f1

2022.1

2022.2

Issue ID

1415298

Regression

No

[IL2CPP] Option to use LLD linker is missing when using "UNITY_IL2CPP_ANDROID_USE_LLD_LINKER" Environment Variable

IL2CPP

-

Reproduction steps:
1. Open the attached user's Unity project "temp-android-linker.zip"
2. Go to Assets > Scenes folder and open "SampleScene.unity" Scene
3. Go to File > Build Settings and switch to Android Platform
4. In the Build Settings window press the Player Settings button
5. In Player Settings make sure that Scripting Backend is set to IL2CPP
6. Go back to the Editor
7. At the top menu select Unity Support > Build Current Platform and wait for the build to complete
8. Navigate to *Project folder* > Library > Bee > artifacts > rsp folder
9. Open the .rsp file from the rsp folder as a text file
10. Observe the "fuse-ld" line

Expected result: .rsp file contains "-fuse-ld=lld" line
Actual result: .rsp file contains "-fuse-ld=bfd" line

Reproducible with: 2021.2.19f1, 2022.1.0b15, 2022.2.0a9
Could not test with: 2019.4.37f1, 2020.3.32f1 (Bee folder is not present in the project folder after build)

Notes:
- When Mono Scripting Backend is selected, the rsp folder is not created in the project folder after build

  1. Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a11

  2. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.1f1

  3. Resolution Note (fix version 2021.3):

    Fixed in 2021.3.2f1

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.