Search Unity

Server Build on Mac OS X: not responding/no window

Discussion in 'Editor & General Support' started by GuiTeK, Apr 21, 2019.

  1. GuiTeK

    GuiTeK

    Joined:
    Apr 28, 2017
    Posts:
    12
    Hi,

    I'm developing a multiplayer game with Unity and Mirror. Recently, I switched from Windows to Mac OS X for my development machine.

    On Windows, this is how I build the executable for my game server:
    1. Go to "File" > "Build Settings..." in the menu
    2. Check the "Server Build" checkbox
    3. Click on the "Build" button
    4. Run the created executable
    5. A console window appears and my game server runs in it

    When I do the same on Mac OS X, here is what happens:
    1. I click on the created application
    2. Mac OS X asks if I want to allow this application to accept incoming network connections
    3. I click "Allow"
    4. The application icon keeps bouncing in the Dock and nothing shows up (no window or anything). Also, when right-clicking on the application icon, it reads "Application Not Responding".
    Is this a bug?
    How can I get a console like on Windows or at least see what I write with Debug.Log()?




     
  2. drhodor

    drhodor

    Joined:
    Aug 18, 2013
    Posts:
    39
    I'm getting this using 2019.3 with the new netcode packages. The client builds have been asking for access to the desktop folder (where they're located). Wonder if the server build is waiting for access too, but can't get it because it doesn't have a window to pop the popup from...
     
  3. michaelbeers

    michaelbeers

    Joined:
    Aug 19, 2015
    Posts:
    18
    Iam experiencing the same, but there is a "solution" for that: Right click on the application icon -> Show contents -> MacOS. Then you will find a file with the name of your game/build which you can drag into your terminal and the application will start and show logs aswell.
     
  4. gabrielh92

    gabrielh92

    Joined:
    Apr 28, 2020
    Posts:
    4
    I am also encountering this issue with Unity 2019.3.14f1
     
  5. ShvetsJR

    ShvetsJR

    Joined:
    Jun 5, 2019
    Posts:
    3
    Same thing
     
  6. RDude654

    RDude654

    Joined:
    Aug 23, 2020
    Posts:
    1
    I have the same problem
     
  7. T-Gamez

    T-Gamez

    Joined:
    Nov 2, 2019
    Posts:
    9
    Same problem. Any solution?

    This worked. Thank you!
     
    Last edited: Mar 26, 2021