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 are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Resolved Relay allocation request fails

Discussion in 'Unity Transport' started by OTZ_20100, Aug 22, 2022.

  1. OTZ_20100

    OTZ_20100

    Joined:
    Oct 17, 2016
    Posts:
    12
    Hi there,

    As information, we're currently update a game in production for 5 years, from UNet technology to Relay/Lobby package.

    We're facing some issue while sending requests thanks to relay package.

    What we've done :
    1. Services are linked thanks to Project ID. Lobby package work like a charm, and we're able to create/join lobby inside this project, so this step looks OK.
    2. Relay is Enabled for this project, on Unity service web interface.
    3. We downloaded Relay Allocation Package (version 1.0.0-pre.4)
    4. Installed sample Simple Relay Sample and launched demo scene.
    5. After signed id anonymously (Player ID is retrieved), we tried to request some relay allocation and face this exception :
    HttpException: Exception of type 'Unity.Services.Relay.Http.HttpException' was thrown.
    Rethrow as RequestFailedException: Something went wrong.


    Trying to dig some more info into this exception leads nowhere, and Something went wrong it's not really helping me here.

    We tried to send List Region request, and same error is encountered.

    My setup :
    Mac Book Pro 16", 2021, Apple M1 Max, 64 Gb RAM, macOS Monterey 12.4
    Unity 2021.3.2f1 <Metal> <Rosetta>

    Did I miss some setup to make Relay Sample working? Or my setup could be an issue here (M1 Max, I'm watching you)?

    Regards
     
  2. OTZ_20100

    OTZ_20100

    Joined:
    Oct 17, 2016
    Posts:
    12
    Auto update : Problem solved.

    Changed my Unity version to : Unity 2021.3.8f1 <Metal>.

    Not sure if it's the Unity 2021.3.2f1 version that cause the issue, or the Rosetta mode.

    I'm now able to create allocation on Relay server.
     
unityunity