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

Starting the server outside unity

Discussion in 'Multiplayer' started by Nathan1357, Apr 27, 2021.

  1. Nathan1357

    Nathan1357

    Joined:
    Apr 14, 2021
    Posts:
    19
    Hey guys... can i ask? Is there any way to start the mlapi server outside the unity for example visual studio?
     
  2. luke-unity

    luke-unity

    Joined:
    Sep 30, 2020
    Posts:
    306
    MLAPI can only run inside a Unity application, you cannot create a standalone c# app and run an MLAPI server in it. To create a server with MLAPI you would tick the 'server build' checkbox in build settings, that will create a headless server application for you.
     
    Joe-Censored likes this.