Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

"Failed to read the ID for the match maker"

Discussion in 'Multiplayer' started by Matkins, Jun 14, 2015.

  1. Matkins

    Matkins

    Joined:
    Aug 24, 2009
    Posts:
    152
    Hello,

    I have followed the steps in the documents to set up a project that can use the multiplayer service. I have pasted my Cloud Project ID into the corresponding field in PlayerSettings. In my scene I am using the NetworkLobbyManager and NetworkManagerHUD components. When I run the game in the editor and click the button labeled "Enable Match Maker (M)", the following message is outputted to the console.

    Failed to read the ID for the match maker, please set the Cloud Project ID string in the Player Settings (see https://unet.cloud.unity3d.com).
    UnityEngine.Networking.NetworkManagerHUD:OnGUI()

    But the ID is already provided. I don't know what is wrong.
     
  2. trover88

    trover88

    Joined:
    Feb 25, 2014
    Posts:
    1
    I get the message too, And I don't know what to do next.
     
  3. ThomasEgan

    ThomasEgan

    Joined:
    Dec 17, 2013
    Posts:
    21
    you want to call this before trying to connect:
    Code (CSharp):
    1. PlayerPrefs.SetString("CloudNetworkingId", cloudId);
    where cloudId is your UNET ID, not the Cloud Project ID.