Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Integrating game server build with Playfab GSDK

Discussion in 'Editor & General Support' started by inacomic, May 18, 2022.

  1. inacomic

    inacomic

    Joined:
    May 14, 2022
    Posts:
    2
    Hey! Hopefully someone can help. I'm not a developer and helping the team out so be patient with me lol

    I don't know how to integrate game server build with GSDK as per Microsoft documentation into my code. The doc says to implement Start and Ready for players methods into game server but how do I do that? I'm guessing adding a C# script but I'm not sure on the actual code... The doc says GameServerSDK.Start(); but that returns an error in the console...

    Thank you

    BP
     
  2. Wulirocks

    Wulirocks

    Joined:
    Mar 18, 2013
    Posts:
    63
    Hi did you tried to post this question into the Playfab forum.. they are pretty responsive. I don't know about this but do you have your Playfab account set up properly? game title ID? all the stuff needed so the game can communicate with the Playfab account? just throwing ideas....
     
  3. inacomic

    inacomic

    Joined:
    May 14, 2022
    Posts:
    2
    Hey, thanks for replying :)

    I haven't posted it in the PlayFab forum, forgot about doing this so thank you for the suggestion. Yes PlayFab is setup fine in Unity and linked to the Game ID etc

    I'll ask the question in the PlayFab forum - thanks again.

    Bhav