Using GS2 Studio
GS2 Studio is a desktop app for building the server side of games that use Game Server Services (GS2).
Add features such as gacha and login rewards from the catalog, enter master data in tables, and then deploy to GS2 and generate C# code for Unity in a single flow.
You do not have to write GS2-Deploy templates or SDK calls yourself: three steps, “add features → fill in tables → publish”, bring GS2 features into your game.
GS2 Studio is currently in beta. Please send bug reports and requests to the GS2 user group (forum).
Installation
GS2 Studio runs on macOS (Apple silicon), Windows, and Linux.
For download links and per-OS installation steps, see Start using GS2 - GS2 Studio.
To deploy to GS2, you need a GS2 developer account and a GS2 project.
If you do not have them yet, sign up by following Prepare your development environment.
Screen layout
GS2 Studio has two modes for different purposes. Switch between them at the top right of the window.
| Mode | Use it to |
|---|---|
| Simple | Pick ready-made features, enter master data in tables, and publish. Start here if you are new to GS2 Studio. |
| Advanced | Design your own data types and cross-service operations (action transforms), edit packages and GS2 resources in detail, and check how resources flow and connect in diagrams. |
In Simple mode, the left sidebar shows Home, Add features, Tables, and Publish.
Basic workflow
1. Create a project
On the start screen, choose Create project, enter a project name, and choose a folder to save it in.
This project stores your design files on your computer. It is separate from the GS2 project you create in the GS2 Management Console.
2. Add features
Click Add features in the sidebar to see the catalog of features (packages) you can add to your game.
Type a keyword in the search box to narrow the list, then click Add on the card of the feature you want. When the card shows Added, you are done.
When a feature needs another feature, that feature is added along with it.
The catalog includes features such as these:
| Category | Examples |
|---|---|
| Core | Account Transfer, Scheduling |
| Economy | Currency, Items, Stamina, Idle Rewards, Quests, Missions, Login Rewards |
| Characters | Characters, Character Dex, Party Formation, Equipment, Character Enhancement, Skill Tree |
| Shop | Character Gacha, Currency Shop, Stamina Shop, Subscriptions |
| Live ops | Rankings, Inbox, Serial Codes, Version Gate |
| Social | Guilds, Friends & Profile |
You can try each feature in your browser in the live demos of the Showroom.
You can also add packages published on npm or GitHub that are not in the catalog.
3. Fill in the tables
Under Tables in the sidebar, edit the master data of the features you added.
For example, after adding Quests, open Tables → Quests → Quest group (QuestCollection), click Add row, and enter values in the cells.
As in a spreadsheet, select a cell and type a value. You can undo and redo your edits.
4. Publish to GS2
Click Publish in the sidebar, then click Calculate server differences in the Deploy to the server panel.
The first time you deploy, GS2 Login appears. Sign in with your GS2 developer account.
Then choose the GS2 project and region to deploy to, review the differences in Review changes to GS2, and deploy.
When the deployment finishes, the Deploy to the server panel shows Up to date.
GS2 Studio creates a GS2-Deploy template for each feature and deploys each one to GS2 as a stack.
You can also export the templates as files and deploy them from other systems, such as CI.
5. Update the Unity project
On the Publish screen, click Select and update Unity project in the Update the Unity project panel.
In the folder picker, choose the Unity project folder that contains Assets, Packages, and ProjectSettings.
This writes the following into the Unity project:
- C# code for calling the features you added, in
Assets/GS2Studio/Generated - GS2 SDK for Unity and GS2-Bind (UI components), in the Unity package settings
The contents of the Generated folder are recreated on every update. Keep your own scripts outside that folder.
Once the project is linked, the button changes to Update linked Unity project. Whenever you change features or tables, deploy and update the Unity project as well.
For how to use the generated code in Unity, the “Studio” tabs of Learn GS2 by building an adventure game walk you through everything from login to the shop.
What Advanced mode adds
In Advanced mode, you can edit packages, data types (domain models), GS2 resources, action transforms, and UI components in detail. It is also where you fix problems that Simple mode cannot.
- Design data types: define your game’s own data types and their properties. You can also add project-specific properties to the types of packages you depend on.
- Action transforms: define operations that span several GS2 services, such as granting rewards or consuming costs, as acquire, consume, or verify action transforms.
- Economy flow graph: see in a diagram where resources such as currencies and items are obtained and where they are spent.
- Dependency graph: see how packages and resources connect. Problems such as ambiguous references are listed as diagnostics.
Command line and coding agents
Most GS2 Studio operations are also available from the command line.
Choose “Install ‘gs2studio’ Command in PATH” from the app’s menu to use the gs2studio command in a terminal (on Windows, the installer adds it to PATH).
# Show the steps from creating a project to deploying and generating Unity code
gs2studio guide
# List the commands and options
gs2studio --helpSteps and arguments can change between versions. Treat the output of gs2studio guide from your installed GS2 Studio as authoritative.
Package DSL
You can also define your own feature packages with the package DSL, written in TypeScript.
Start a DSL directory with gs2studio dsl init, and bring it into the project with gs2studio dsl build.
The type definitions are published as the npm package gs2-studio-dsl. For the syntax, see gs2io/gs2-studio-dsl.
Using it from a coding agent
You can also have a coding agent such as Claude Code or Codex build a game backend with GS2 Studio.
The skill for agents is published at gs2io/gs2-studio-dsl.
/plugin marketplace add gs2io/gs2-studio-dsl
/plugin install gs2-studio@gs2-studio-dsl$skill-installer https://github.com/gs2io/gs2-studio-dsl/tree/main/plugins/gs2-studio/skills/gs2-studioDo not give your GS2 password to an agent.
Run the following command yourself in your own terminal, outside the agent, to save your sign-in.
gs2studio login --project <GS2 project name> --region <region, e.g. ap-northeast-1>The adventure game tutorial also has a course where you build the game by asking a coding agent.
In Prepare your development environment, select the “Agent” tab under “4. Prepare Unity and tools” to see the steps from installing the tools to signing in to GS2.
Notes
- One game per GS2 project: feature packages create namespaces with fixed names, such as
Account. Deploying to a GS2 project that already holds another game fails because the namespace names collide. - Master data takes time to reach players: after you deploy a master data change, it can take up to about 5 minutes to reach every player. Until then, old and new values may be mixed.
- Deleting stacks: deleting a stack, for example from the Management Console, also deletes the namespaces it created and the player data in them. This cannot be undone.
- Updating GS2 Studio: updating GS2 Studio does not change the versions of the feature packages already added to your project.
Next steps
- Learn GS2 by building an adventure game: build login, rewards, and a shop step by step with GS2 Studio and Unity. The “Agent” tabs show how to have a coding agent build the same game.
- Showroom: try features built with GS2 Studio packages in your browser.
- GS2 Studio download page


