Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Networking Failed to read the ID for the match maker

Discussion in '5.1 Beta' started by movra, May 15, 2015.

  1. movra

    movra

    Joined:
    Feb 16, 2013
    Posts:
    566
    I have trouble connecting to the match making service in 5.1b6.

    First I've copied and pasted my Cloud Project GUID in the Player Settings and verified it's saved to ProjectSettings.asset.

    2 Errors are displayed in the console when running loading the scene containing this example http://files.unity3d.com/larus/NetworkingDocs/Manual/UNetInternetServicesOverview.html

    Created a new project, pasted the Cloud Project GUID and added a Network Manager HUD component. When running the scene and pressing the Enable Match Maker button:

    ... took a break after stumbling around with this for too long ...

    The oddest thing. I just tried re-pasting the Cloud Project GUID in the Cloud Project Id text box and hit the Enter-key for good measure.

    Now when I repeat the same steps as above no complaints about failing to read the ID and the match making works.

    (In 5.1f1 the internet services example fails on ListMatches:
    "System.FormatException: publicAddress not found in JSON dictionary")
     
    Last edited: May 16, 2015
  2. larus

    larus

    Unity Technologies

    Joined:
    Oct 12, 2007
    Posts:
    277
  3. movra

    movra

    Joined:
    Feb 16, 2013
    Posts:
    566
    The generics got eaten by the code formatter in the manual?

    Code (CSharp):
    1. private List<MatchDesc> matchList = new List<MatchDesc>();
    2.  
    3. networkMatch = gameObject.AddComponent<NetworkMatch>();