Search Unity

Host my game online

Discussion in 'Netcode for GameObjects' started by Tannnu380, Jun 1, 2021.

  1. Tannnu380

    Tannnu380

    Joined:
    Jan 20, 2020
    Posts:
    2
    I've currently implemented my multiplayer setup by HLAPI, but i think it doesnt support online hosting. I want to host my game online is it possible by using MLAPI? and yes please could you tell me how can i do that?
     
  2. daniel_lochner

    daniel_lochner

    Joined:
    Jun 9, 2016
    Posts:
    175
    A quick and easy solution would be to use one of the available community-contributed transport layers. I'd recommend the Photon-Realtime Transport for MLAPI, which utilizes Photon's relay server to enable indirect communication between clients. Follow the setup guide included in the README, and if you still need help, I'd recommend checking out the Boss Room example project by Unity.
     
    luke-unity likes this.