Hello I am trying to use GameServices.LoadServerCredentials with additional scopes as I would like to grab the users google id (not GPGS Id) when tossed to the server. Aiming to have users be able to link their data between android and IOS.
When I attempt to follow the documentation/ what is used in the GameServicesDemo.cs with the following script I run into this Issue:
Script:
{
ServerCredentialAdditionalScope.OpenId,
ServerCredentialAdditionalScope.Email,
ServerCredentialAdditionalScope.Profile
};
GameServices.LoadServerCredentials(additionalScopes,(credentialsResult, credentialsError) =>
{
if (credentialsError == null)
{
//success
}
else
{
//failure
}
});
Error:
2025/09/02 18:08:26.910 2956 2956 Error Unity MissingMethodException: Constructor on type 'VoxelBusters.EssentialKit.GameServicesCore.Android.NativeServerCredentialAdditionalScope' not found.
This error occurs on LoadServerCredentials when requesting any additional scope and ONLY in the android logcat. Nothing in the actual editor.
I have turned "Strip Engine Code" off thinking that may be the issue but still run into this.
I should also mention that using this function without any additional scopes works perfectly fine.