await UnityServices.InitializeAsync();
await ServerAuthenticationService.Instance.SignInFromServerAsync();
await CloudCodeService.Instance.CallEndpointAsync("function");
CloudCodeException: PlayerIdMissing
await UnityServices.InitializeAsync();
await ServerAuthenticationService.Instance.SignInFromServerAsync();
await CloudCodeService.Instance.CallEndpointAsync("function");
CloudCodeException: PlayerIdMissing
Hey,
CloudCode package does not support server authentication.
Here’s how you can get the token: Authentication
The API’s package has raw access to the API and it should address it: Unity Cloud Services APIs | Cloud Services Apis | 1.1.0
I’ve brought this up with the team.
Cheers!