Migration Guide: From Google Play Games Plugin for Unity to Essential Kit Game Services
Prerequisites
Migration Overview
Aspect
Google Play Games Plugin
Essential Kit Game Services
Step 1: Configuration Setup
1.1 Remove Google Play Games Plugin Configuration
// REMOVE: Old Google Play Games initialization
PlayGamesPlatform.Activate();
PlayGamesPlatform.Instance.AddIdMapping("high_scores", "CgkIabcdefghijklmnop");
PlayGamesPlatform.Instance.AddIdMapping("first_win", "CgkIxyzuvwabcdefgh");1.2 Configure Essential Kit Settings
Step 2: Namespace and Initialization Migration
2.1 Update Using Statements
2.2 Update Initialization Code
Step 3: Authentication Migration
3.1 Authentication Status Handling
3.2 Check Authentication Status
Step 4: Achievement Migration
4.1 Reporting Achievement Progress
4.2 Loading Achievements
4.3 Show Achievements UI
Step 5: Leaderboard Migration
5.1 Reporting Scores
5.2 Loading Leaderboards
5.3 Show Leaderboard UI
Step 6: Friends Management Migration
6.1 Loading Friends
6.2 Adding Friends (Essential Kit Feature)
Step 7: Advanced Features Migration
7.1 Server Credentials (Enhanced in Essential Kit)
7.2 Error Handling Improvements
Step 8: Event Management Migration
8.1 Subscribe to Game Services Events
Step 9: Platform-Specific Considerations
9.1 Handling iOS Game Center (New Capability)
Step 10: Testing and Validation
10.1 Testing Checklist
10.2 Common Migration Issues and Solutions
Google Play Services AuthenticationBenefits After Migration
Last updated