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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Unity Multiplayer Issues creating games on devices

Discussion in 'Multiplayer' started by aspiering, Jun 18, 2015.

  1. aspiering

    aspiering

    Joined:
    Aug 29, 2014
    Posts:
    12
    So I am having issues creating games on mobile devices using the Matchmaker. I have setup my cloud project id, and I read there was an issue with that when the project was built and deployed so I am also setting my appId manually with the uNET ID.

    In the editor when I test my game it creates the games just fine, but when I try and execute the same code on an android device I get back the following error:

    Code (CSharp):
    1.  
    2.                 CreateMatchRequest create = new CreateMatchRequest();
    3.                 create.name = GameManager.Instance.PlayerName;
    4.                 create.size = 3;
    5.                 create.advertise = true;
    6.                 create.password = "";
    7.  
    8.                 UnityMatchmaking.Instance.MasterServerConnection.CreateMatch(create, OnMatchCreate);
    This does not happen in the editor. Here again I have the cloud id set and I have the appId set in code but regardless I am unable to make a game on the device.
     
  2. aspiering

    aspiering

    Joined:
    Aug 29, 2014
    Posts:
    12
    Any news on this ? I am unable to create matches on devices at the moment. I get the following log from logcat on the device.


    Nothing useful as to why it fails... The game also gives the following warning

    this value is set in the player settings. Some insight on this would be nice, I did update to version 5.1.1p1 and still ran into the same issues.