com.unity.toolchain.win-x86_64-linux-x86_64
The com.unity.toolchain.win-x86_64-linux-x86_64 package supplies a toolchain and sysroot for building Linux IL2CPP players on a Windows x86_64 host. It depends on the following packages:
- com.unity.sysroot for common code
- com.unity.sysroot.linux-x86_64 for the Linux x86_64 sysroot
Note: You only need to install the toolchain package. The package manager installs dependent packages automatically. For an overview of Unity sysroot packages, see Unity Sysroot Package documentation.
Before you install your chosen package, make sure you have the Linux-IL2CPP module installed for your editor. For further information about using modules, see Adding modules to the Unity Editor.
Choosing the correct toolchain package
When you install a package to build the Linux IL2CPP player, choose the com.unity.toolchain.* package the based on your host (Editor) platform:
- Linux x86_64: com.unity.toolchain.linux-x86_64
- MacOS x86_64: com.unity.toolchain.macos-x86_64-linux-x86_64
- Windows x86_64: com.unity.toolchain.win-x86_64-linux-x86_64
Building a Linux IL2CPP player
When you have installed your toolchain package, go to Project Settings > Player > Configuration and set the ScriptingBackend to IL2CPP.
To build your project go to File > Build Settings, in the Target Platform dropdown select Linux, then click Build or Build and Run.