Skip to content

Testing

This page summarizes local integration testing and pre-release check paths. The overall order remains feature-first: confirm the target feature, then use the corresponding engine Quick Start, debugging notes, and feature-specific validation.

  • IGP desktop client is installed locally and can start.
  • The correct appId has been obtained.
  • The game startup flow initializes the SDK as documented.
  • Achievements, game authorization, real-name verification and anti-addiction, and other required capabilities have been configured in the backend. Real-name verification and anti-addiction has either launch blocking or in-game real-name verification selected.
  • For rooms, realtime messaging, state, and RPC, launch the game through the IGP desktop client instead of only double-clicking the executable.

Recommended order:

  1. Install the main package with Unity installation.
  2. Complete Unity Quick Start.
  3. In Editor, follow Unity debugging to handle launch parameters and desktop client integration.
  4. Open the target feature page and run feature-specific self-tests.

Minimum validation:

  • For single-player or non-room integrations, authorization or achievement call results are visible.
  • For room integrations, room entry is visible, ready can be set, and one realtime message can be sent.
  • If real-name verification and anti-addiction is needed, the selected handling mode can be validated.

Recommended order:

  1. Download and extract the GameMaker release package.
  2. Open the sample project: windows-auth-achievements.
  3. Complete initialization, authorization, and achievement validation with GameMaker Quick Start.
  4. For troubleshooting, read GameMaker debugging.

Minimum validation:

  • igp_init(...) returns success.
  • Connection state moves from disconnected to a clear state.
  • Authorization state moves from pending to a clear result.
  • After triggering an achievement, the event queue shows a result.
  • After refreshing real-name verification and anti-addiction state, the current state can be read.
  • If launch blocking is used, users who do not meet the requirements do not enter the main game flow.

Godot is currently an in-development preview and is recommended for evaluation testing only.

Recommended order:

  1. Register IGPGodotAutoload.
  2. Verify the startup scene can obtain /root/IGP.
  3. Call BootstrapFromCommandLineAsync().
  4. Verify RoomSnapshotReceived or an error signal.
  5. Then test ready, messaging, state, RPC, and achievements.

Minimum validation:

  • The startup scene can obtain autoload.
  • After bootstrap succeeds, a room multiplayer connection can be established.
  • At least one room snapshot is received.
FeatureCheck entry
Startup and connectionStartup and connection
Game authorizationGame authorization
Real-name verification and anti-addictionReal-name verification and anti-addiction
AchievementsAchievements
Multiplayer lobbyMultiplayer lobby
RoomsRooms
Realtime messagingRealtime messaging
State and RPCState and RPC
Mirror transportMirror transport
  • The appId used in documentation examples has been replaced with the production game appId.
  • Example keys have been replaced with achievement keys configured in the backend.
  • Debug launch parameters, test files, and temporary configuration are not included in the production package.
  • Multiple runtime instances are not placed in production scenes.
  • Failure, disconnection, authorization failure, and real-name verification and anti-addiction restriction states all have in-game handling.
  • The SDK initialization call site is clear, and the real-name verification and anti-addiction handling mode matches the in-game flow.