Steam ログイン方法を設定する - Steam でログインする - (Unity モジュール)
This tutorial module does not apply to WebGL builds due to limitations in Steamworks.
Set up Steam login method in the Admin Portal
In this tutorial, you will learn how to add a Steam login method in the AccelByte Gaming Services (AGS) Admin Portal.
Log in to the AGS Admin Portal and go to your game namespace dashboard.
Go to select Game Setup > 3rd Party Configuration > Auth & Account Linking and click + Add New.
Click Steam SDK and fill out the form that appears:
- App ID: Your game's App ID from the Steam partner dashboard (see Applications from Steam).
- Steam Web API Key: The Web API Key acquired from Steam (see Steam Web API Documentation).
- Redirect URI: Enter
http://127.0.0.1
When redirected to the Login Platform Configuration page, verify its Status is Active. If it's not, activate it by clicking Activate once, and again on the pop-up to confirm.
Configure Steam
To use Steam for single platform authentication, Steamworks.NET has been installed and adjusted for this tutorial.
Open the
Assets/Resources/Modules/TutorialModuleConfig.json
file and enter in your Steam App ID."steamConfiguration":
{
"steamAppId": "<Your Steam App ID>",
"autoLogin": true
}With Steam open on your computer, play the game. If Steamworks has been configured successfully, you will see the following log:
After that, enter play mode in Unity Editor. You should see this log.
[Steamworks.NET] SteamAPI_Init() success