Unity SDK v0.4.0 change log
Overview
This guide provides information on the breaking changes introduced in the Ronin Waypoint Unity SDK version 0.4.0.
Breaking changes
-
Converted Ronin Waypoint SDK to the Unity Package Manager (UPM) format, allowing easier installation and version management. Users can now install the SDK directly via a git URL with extended syntax:
https://github.com/skymavis/waypoint-unity.git#v0.4.0warningRemember to clear the old Ronin Waypoint plugin completely.
-
Introduced new API methods to replace older, deprecated ones. Deprecated methods remain available for backward compatibility but will be removed in the next major release.
Waypoint.BindOnResponse(callback)andWaypoint.UnBindOnResponse(callback)are deprecated. TheWaypoint.RespondReceivedC# event is the new recommended replacement.- Additional deprecated methods and their replacements:
Waypoint.Init(sessionID, port)➔Waypoint.SetUp(WaypointSettings)Waypoint.Init(clientID, keepLinkSchema, isTestNet)➔Waypoint.SetUp(WaypointSettings)Waypoint.OnAuthorize()➔Waypoint.Authorize()Waypoint.OnGetIDToken()➔Waypoint.Authorize()Waypoint.OnPersonalSign(message, from)➔Waypoint.PersonalSign(message, from)Waypoint.OnSignTypeData(typedData, from)➔Waypoint.SignTypedData(typedData, from)Waypoint.SendTransaction(receiverAddress, value, from)➔Waypoint.SendNativeToken(receiverAddress, value, from)Waypoint.OnCallContract(contractAddress, data, value, from)➔Waypoint.WriteContract(contractAddress, humanReadableAbi, functionParameters, value, from)
warningDeprecated methods will be fully removed in version 0.5.0.
-
Introduced
Waypoint.CleanUp()to release managed resources when the SDK is no longer in use. This method is now required for proper cleanup of the SDK's resources.