Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Can't build for Windows

Discussion in 'Linux' started by xIvanX, Nov 22, 2019.

  1. xIvanX

    xIvanX

    Joined:
    Nov 17, 2018
    Posts:
    2
    Hello, I installed the unity hub, and installed the unity editor on Linux, so i wanna build the game for windows, but on PC,MAC & Linux standole option there's only the Linux target, so i go to add modules, select the windows module, and click installs, seems to install but is not installed, cuz i can select it again on the add modules and still not apparer as a target option, anyway to solve this? or install the module manually?
     
  2. xIvanX

    xIvanX

    Joined:
    Nov 17, 2018
    Posts:
    2
    Nvm, I seen the log and i just figured out that cpio was missing
     
  3. Domarius

    Domarius

    Joined:
    Jan 5, 2013
    Posts:
    103
    Thank you, this fixed it for me too.

    This should pop up a warning, or be in the Linux Unity installation instructions or something (as opposed to silently failing on some obscure missing file.) I'm running Manjaro KDE and they didn't see fit to include cpio by default. I was able to install it via their "Add/Remove Software" program.
     
    Last edited: Apr 29, 2020