Search Unity

Bug Mac builds fail without error - no files produced

Discussion in 'macOS' started by I5, Apr 16, 2023.

  1. I5

    I5

    Joined:
    Feb 15, 2015
    Posts:
    21
    On Windows 10, I'm using:
    Version: 2020.3.16f1.844 Personal1
    Revision: 2020.3/staging 049d6eca3c44
    Built: Wed, 04 Aug 2021 21:57:10 GMT

    I can do a Windows build without issue.

    When I try a Mac or Linux build, the build process progresses just as the Windows builds do, however, the progress meter just disappears and when I check the build folder nothings there. There's no built files and there's no errors in the editor and no alerts/error messages.

    I opened Unity Hub and it shows that both Mac and Linux build support is already installed.

    I'm baffled. Anyone have any ideas?
     
  2. Ubrano

    Ubrano

    Joined:
    Jul 23, 2017
    Posts:
    16
    @I5 It does not seem reasonable to expect a MacOs build would be possible on a Windows system (as least it wasn't the last time I checked); and (from experience) even Windows build on MacOS is possible only, if you go Mono and not IL2CPP, yet it is possible or even probable not everything shall work as intended; having said so, development and compilation are two different matters and its best to build on the target platform.
     
  3. I5

    I5

    Joined:
    Feb 15, 2015
    Posts:
    21
    Hey Ubrano, thanks for your reply. With some help, I was able to get both my Mac and Linux builds built on my Windows laptop. Here's the discussion about it https://answers.unity.com/questions...les-w.html?childToView=1945564#answer-1945564.

    For this particular issue, I think Unity Hub may have been the problem (I ensured I had all logs displaying, and the error logs showed up when I upgraded Unity Hub).

    But yeah, if you can overcome Unity's "challenges", you can build for all major OS's and architectures on one Windows Laptop.
     
    Ubrano likes this.