Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X
Votes
1
Found in
2020.1.5f1
2020.2.0a19
2020.2.0b2
Issue ID
1276104
Regression
No
[Linux] Unable to make Linux build when Linux build supports IL2CPP and Mono both are installed
"Build" and "Build and Run" appears disabled when both Mono and IL2CPP Linux build supports are installed and IL2CPP is set as Scripting Backend while building project.
Also, "Currently selected scripting backend (IL2CPP) is not installed" warning appears in the "Build Settings" window.
However, when the project can be built when Scripting backend is set to Mono for the same project.
Steps to repro:
1. Installed Linux build support (IL2CPP) and Linux build support (Mono)
2. Create a New Project
3. Add Toolchain Win Linux x64 Package
3. File > Build Settings > Build Settings windows > Target Platform > Linux
4. Edit > Player Settings > Player > Scripting backend > IL2CPP
Actual Result:
"Build" and "Build And Run" buttons appear disabled and "Currently selected scripting backend (IL2CPP) is not installed" warning appears in the "Build Settings" window.
Expected Result:
The project is built successfully with IL2CPP Scripting Backend.
Note: Linux build support (IL2CPP) for 2020.2 is introduced in 2020.2.0a19, and for 2020.1 is introduced 2020.1.5f1.
Reproducible in:
2020.2.0b2, 2020.2.0a19, 2020.1.5f1
Workaround
When only Linux build support (IL2CPP) is installed then the project can be built.
Environment:
Windows 10 & macOS 10.14
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 framerate drops significantly when moving the mouse cursor with high polling rate
- Create workspace does not update the Unity Version Control and Branch Explorer windows leading to multiple clicks on “Create workspace” which throws an “already exists” error when Creating a workspace with the Branch Explorer window open
- Default and Result encoding properties have blank dropdowns by default when opening the Unity Version Control Settings
- Crash on "StoredGraphicsBuffer::GetGfxBufferID" when activating VFX via extention of Activation Track in Timeline window
- [Linux] Stack trace file path and line number information is missing when IL2CPP Stacktrace Information is set to "Method Name, File Name, and Line Number"
MartijnGG
Dec 08, 2020 14:06
I've been able to work around this by installing the Linux IL2CPP module directly through it's installer as linked in the "whats new" page.
In my case, this is https://unity3d.com/unity/whats-new/2020.1.16 and then ran the downloaded UnitySetup-Linux-IL2CPP-Support-for-Editor-2020.1.16f1.exe
After this, I was able to build for IL2CPP Linux