Can't add windows and mac build support on linux

Hi there,

I’m trying to make a game for Windows, Mac and Linux. For some reason even do I selected Windows, macOS, Linux and WebGL in the installer, only Linux and WebGL install.

I’m using Unity Hub 2.4.5 (production channel) and I installed Unity 2020.3.23f1.
I’m on Manjaro Linux btw.

Cheers

You cant build from linux to windows or mac, you build using the standalone version, and that depends on your SO

I got error in UnityHub 3.10.0 on Arch Linux Kernel 6.12.8-arch1-1 trying to install Windows Build
"Installed failed: Installation Failed"

Then I found in UnityHub Profile IconTroubleshootingOpen log folder the log file, open and see error:

{
  "timestamp": "2025-01-12T02:04:40.207Z",
  "level": "error",
  "moduleName": "Installer: windows-mono",
  "pid": 12790,
  "message": "Installation failed. Reason: Error: Error while installing the module windows-mono : Error: Command failed: cd /home/rc0d3/Unity/Hub/Editor/2022.3.55f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport; gzip -dc \"/home/rc0d3/Unity/Hub/Editor/2022.3.55f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/tmp-7753d21fb5b6eaa73a03e050b2ab60d5/TargetSupport.pkg.tmp/Payload\" | cpio -iu\n/bin/sh: line 1: cpio: command not found\n"
}

Then i install cpio with pacman all now it’s working!

If you have error with no enough space use this command to change space of /tmp folder

sudo mount -o remount,size=10G,noatime /tmp