I’m using unity 2022.1 for a project(On windows 10), and I’ve installed the IL2CPP module on unity hub on that version, but while on 2021.2 I was able to export to Linux from windows, on the new version Unity’s Build Settings window says “Linux il2cpp player can only be built on linux”
issue here too, after all the Hub module addition, following messages, seeking “the toolchain”, adding packages, an apparent final dead end on 2022.1.6f on Windows 11 for Linux
Building for Linux is frustratingly lately. It needs more attention and ideally automated checks before release.
2020 on Mac had linux support between versions (missing Mono libraries in release)
2021 on Mac says “Dedicated server support for linux is not installed”
2021 on Windows doesn’t show Linux at all (nor Hub or manual install)
2022 on Windows says it can’t build
2022 on Mac says “Dedicated server support for linux is not installed” (Hub says installed, persists after reboot)
Windows pre-release beta 2022.1.0b16 builds after jumping through hoops with 2D common + URP packages. Edit: It works. Phew… at least I have an option now.
Just wanted to bump and say even with the Linux tool chain and Linux modules, cross compilation from Windows to Linux appears not possible on 2022.1.8f1. I get the error " Linux IL2CPP player can only be built on Linux "
The fix will be available in the next editor release of 2022.1, which is 2022.1.10f1. Sorry for the inconvenience.
The bug discussed in this thread does not affect 2021.3 as far as we know. Linux mono build, il2cpp build, and dedicated server build should all show up in the Hub & the Build Settings window, and build fine in the latest release 2021.3.6f1 on Windows.
This is an issue we definitely should look into. Could you please file a bug?
Do you mean 2022.2.0a18? Could you try upgrading the sysroot package in the project to 2.0.0+? That should resolve the issue.
hey @qiliang_zhou@JoshPeterson no need to fix this anymore! I’m pretty sure I won’t be using unity anymore if that recent merging actually goes through ^^