#@Iain sorry if i'm asking too much, but

1 messages · Page 1 of 1 (latest)

astral quiver
loud moon
astral quiver
#

You need to include the access token in the REST API request to cloud-save and economy.

You can obtain the access token by using the ServerAuthenticationService. This is only available if you using the Unity Server build target and are using authentication v3.0.0+

You should have access to ServerAuthenticationService.Instance.SignInWithServiceAccountAsync & ServerAuthenticationService.Instance.SignInFromServerAsync.

#

SignInFromServerAsync can be used from a Multiplay Server.

loud moon
#

are you sure it's the right name ?

#

switched the build to Dedicated Server (Linux) and it's still not available

astral quiver
#

Are you on the server build target?

#

namespace: using Unity.Services.Authentication.Server;

loud moon
#

brother, this thing doesn't exist.

astral quiver
#

Do you see this in your packages in your unity project explorer?

#

That assembly is enabled when either UNITY_SERVER or ENABLE_UCS_SERVER is set.

I'm not sure why it's not enabled for you.

You could try adding ENABLE_UCS_SERVER in your project scripting define symbols

loud moon
#

thanks for trying to help tho @astral quiver, you're a nice guy catto

#

i used this script (by Code Monkey) to make it easier when i make a WebRequest