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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
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