Skip to main content
Version: 5.11.8

START

Update Notes

Incompatibility with BACKND Function 0.1.2

If you call BACKND Function 0.1.2 or an earlier version (released before December 28, 2021) from SDK 5.9.0,
the methods called from within the function will result in an error and not work properly.

You must upgrade BACKND Function to 0.2.0 before upgrading the SDK.

410 error issue when updating from SDK 5.6.0 and earlier versions

If you are updating from SDK 5.6.0 or an earlier version, all BACKND method calls may result in the 410 GoneResourceException error.
The error will not appear after relogging in, so please configure that the following login methods can be called:

  • Backend.BMember.CustomLogin
  • Backend.BMember.GuestLogin
  • Backend.BMember.AuthorizeFederation
  • Backend.BMember.LoginWithTheBackendToken
  • Backend.BMember.RefreshTheBackendToken
Note - 403 Forbidden logic update in SDK 5.8.0

From SDK 5.8.0, if the 403 Forbidden error occurs due to excessive requests, the local restricts sending further requests to the server for 5 minutes and 30 seconds; if a function is called during this time, the following error is returned:

statusCode : 403
errorCode : Forbidden

If you are using the previous messages to process the 403 error, use errorCode or the IsTooManyRequestError method.

Compression data unusable in SDK 5.11.0 - 5.11.3

When using compression data in SDK version 5.11.0 - 5.11.3, loading data with 0 added to the back of inDate will cause a fatal error that changes the inDate value.
If you wish to use compression data, please do so in SDK 5.11.4 or later versions.

Game information management

1. Fixed the error where the default value was inserted when the inserted value in the schema table was 0 during PlayerData Insert

An error has been fixed where the default value set by the console was inserted upon entering 0 in the corresponding column when the default value of the numerical data existed in the schema table.

// Rankings 1 to 10

Param param = new Param();
param.Add("intData", 0);

Backend.PlayerData.InsertData("tableName", param);

Game user management

1. Added GPGS2, Apple WebLogin, and Steam features and a function that checks Federation BACKND sign-up

FederationType was added as a function that checks if a federation user exists in the BACKND server as a gamer.

Backend.BMember.CheckUserInBackend("federationToken", FederationType.GPGS2);
Backend.BMember.CheckUserInBackend("federationToken", FederationType.Steam);

// AppleLogin in Android
Backend.BMember.CheckUserInBackend("federationToken", FederationType.Apple);

ToolKit

Added Android GoogleLogin main thread callback feature

A function was added, which allows a selection to call the callback of the function that issues GoogleLogin's token from Android from the main thread or external thread.

If isCallbackInMainThread is true, it is called from the main thread; if false, it is called from the external thread. The game may abnormally terminate when stopping temporarily or taking heavy actions, such as creating an object in the callback, synchronous method login, and game data loading.

TheBackend.ToolKit.GoogleLogin.Android.GoogleLogin(true, GoogleLoginCallback);

Added Android AppleLogin main thread callback feature

A function was added, which allows a selection to call the callback of the function that issues AppleLogin's token from Android from the main thread or external thread.

If isCallbackInMainThread is true, it is called from the main thread; if false, it is called from the external thread. The game may abnormally terminate when stopping temporarily or taking heavy actions, such as creating an object in the callback, synchronous method login, and game data loading.

TheBackend.ToolKit.AppleLogin.Android.AppleLogin("io.thebackend.BaseTest.apple", out var error, true, token => {
Debug.Log("Token : " + token);
});