Skip to main content
Version: SDK-5.9.6

5.9.6 Update Notes

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 410 GoneResourceException error.
The error will not appear after relogging in, so please configure so that the following login methods can be called:
  • Backend.BMember.CustomLogin
  • Backend.BMember.GuestLogin
  • Backend.BMember.AuthorizeFederation
  • Backend.BMember.LoginWithTheBackendToken
  • Backend.BMember.RefreshTheBackendToken
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.
403 Forbidden logic update in SDK 5.8.0
From SDK 5.8.0, if 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
message : 403 Forbidden by Local

When using an existing message to process the 403 error, use errorCode or the IsTooManyRequestError method.

1. Change in iOS push notification activation logic

Unity's push notification activation feature, used in old SDKs, was removed in 2022.x versions. As a result, building in SDK 5.9.5 and earlier versions in Unity 2022.x results in an error.

To resolve this issue the BackendIOSPushNotification.mm file has been added under the Assets > TheBackend > Plugins > iOS directory so that iOS push notifications are enabled via the objective-C native code.

The XCodeBuildForPushNotification.cs script has also been added under the Assets > TheBackend > Plugins > iOS > Editor directory so that Frameworks and Capabilities for push notifications are generated automatically when building XCode.

A new method has been added to set whether to receive push notifications between 8:40 pm. and 8:00 am.
If true, sending a push message at 10:00 pm will deliver the notification; if false, the notification will not be delivered.

Backend.Android.AgreeNightPushNotification(true);
Backend.iOS.AgreeNightPushNotification(true);

3. Game log insertion function V2 added

Game log insertion function V2 has been added, which charges less storage price than the previous function.
It has the same usage as the previous function.

Param param = new Param();
param.Add("stage", 1);
param.Add("level", 10);

Backend.GameLog.InsertLogV2("stageClear", param);