When I build it on the actual Android device, a problem occurs.

Hi.
About Unity Mediation (Beta), when I build it on the actual Android device, a problem occurs.

try
{
    InitializationOptions initializationOptions = new InitializationOptions();
    initializationOptions.SetGameId(my_gameid);
    await UnityServices.InitializeAsync(initializationOptions);
}
catch(Exception e)
{
    //error
}

error:
Request to https://mediation-instantiation.prd.mz.internal.unity3d.com/v1/initialize failed due to java.io.IOException:
Instantiation Service initialization request failed with http status code 404 and server response: game init not found for game id: (my_gameid)

No problem with the Unity editor, test ads? Is displayed,
However, when I build it to an .abb file, upload it to google play console, download it to the actual machine in the internal test and execute it, I get this error and Initialize fails.

Maybe it’s because I haven’t registered my Android Store ID in the Unity Gaming Services Monetization Settings.
I don’t have an Android Store ID yet because this app is for internal testing only. Is this the cause? Or is it some other cause?

It has been resolved.

1 Like

same problem occurs to me. How did you solve?

Same here… any hint?

Unity Mediation has been deprecated. For more information, see: Important update about Unity Mediation