Search Unity

Question Unix Game Server Application

Discussion in 'Scripting' started by KingLothar, Jul 9, 2020.

  1. KingLothar

    KingLothar

    Joined:
    Jun 8, 2020
    Posts:
    3
    Hi,
    I'm doing an Indie games.
    I've a question related to the server part.
    For budget constrain I have to rent a Linux server.
    Can I build a Unity software that can be run on linux as a console?
    There is availabe an asset for server side can be run in linux as a console?
     
  2. Cyber-Dog

    Cyber-Dog

    Joined:
    Sep 12, 2018
    Posts:
    352
    Can you iterate on what you mean by Linux server?
    Is it web hosting, ran on lunix server. Or is it a virtual machine that is running lunix server.

    If it web hosting, then there is no way. It is a static file-based. At most, you can create MySQL database files to store data.

    If it's a virtual machine however.. Unity can package to Linux. But to run it you need a version of Linux that supports GUI. Otherwise... You can always create a .Net Core app alongside your Unity project. And use the .Net Core app to handle the server tarffic.

    Otherwise, you could use Photon. I would highly recommend seeing as your new to this. And its free for up to 100players. https://www.photonengine.com/en/pun