Skip to content

Releases: lootlocker/unity-sdk

Lootlocker_UnitySDKv2.0.0

25 Oct 11:40
Compare
Choose a tag to compare

Changes

  • v2.0.0 removes a lot of code that has previosly been deprecated, you can read more in our docs about what that means.
    • How you get error information from the SDK has changed. Instead of the fields hasError and Error in each response there is now a field named errorData within which all error information resides. Instead of hasError you use !success, and instead of Error you should use the fields in errorData. The exact replacement is errorData.message.
    • The field "texture" on each response has been removed (it was never used)
    • Dev Mode is deprecated, so is the "support" for deprecated api keys
    • Game ID is no longer needed for White Label Signup
    • When calling Init explicitly with parameters, then platform and onDevelopmentMode are no longer needed. The method now looks like this: bool Init(string apiKey, string gameVersion, string domainKey)
    • void StartSession(string deviceId, Action<LootLockerSessionResponse> onComplete) is removed. If you're using this method you need to switch over to the topical start session methods instead. For example if you were using this to start a session for Android, then you should now use StartAndroidSession instead. If you're unsure of what to use, we recommend Guest or White Label.
    • EndSession no longer takes deviceId as an argument, use void EndSession(Action<LootLockerSessionResponse> onComplete) instead
    • Calling StartWhiteLabelSession with email and password is no longer supported. Instead, we cache the needed information and you should call StartWhiteLabelSession(Action<LootLockerSessionResponse> onComplete). Or even better, replace the separate Login and StartSession calls with using WhiteLabelLoginAndStartSession
    • All leaderboard methods that were using the leaderboard id (integer) have been removed. You should use the methods that take the leaderboard keys instead. The reason for this is that the leaderboard key is independent across environments meaning your code can stay the same when the game releases. Affected methods are:
      • GetMemberRank
      • GetByListOfMembers
      • GetScoreList
      • GetNextScoreList
      • GetPrevScoreList
      • GetScoreListOriginal
      • SubmitScore
    • Starting a LootLocker Session from a White Label Login Token no longer needs a password in the request (LootLockerWhiteLabelSessionRequest)
    • Renamed types (deprecated the old one, use the new one)
      • LootLockerActivateARentalAssetResponse renamed to LootLockerActivateRentalAssetResponse
      • LootLockerGettingCollectablesResponse renamed to LootLockerGetCollectablesResponse
      • LootLockerCollectingAnItemResponse renamed to LootLockerCollectItemResponse
      • LootLockerFinishingAMissionRequest renamed to LootLockerFinishMissionRequest
      • LootLockerGettingAllMissionsResponse renamed to LootLockerGetAllMissionsResponse
      • LootLockerGettingASingleMissionResponse renamed to LootLockerGetMissionResponse
      • LootLockerStartingAMissionResponse renamed to LootLockerStartMissionResponse
      • LootLockerFinishingAMissionResponse renamed to LootLockerFinishMissionResponse
      • LootLockerTriggerAnEventRequest renamed to LootLockerExecuteTriggerRequest
      • LootLockerTriggerAnEventResponse renamed to LootLockerExecuteTriggerResponse
      • LootLockerListingAllTriggersResponse renamed to LootLockerListAllTriggersResponse
    • Renamed methods (deprecated the old one, use the new one)
      • GettingCollectables renamed to GetCollectables
      • CollectingAnItem renamed to CollectItem
      • GettingAllMaps renamed to GetAllMaps
      • GettingAllMissions renamed to GetAllMissions
      • GettingASingleMission renamed to GetMission
      • StartingAMission renamed to StartMission
      • FinishingAMission renamed to FinishMission
      • PollingOrderStatus renamed to PollOrderStatus
      • ActivatingARentalAsset renamed to ActivateRentalAsset
      • TriggeringAnEvent renamed to ExecuteTrigger
      • ListingTriggeredTriggerEvents renamed to ListAllExecutedTriggers

Bugfixes

  • The SDK will no longer cause editor versions newer than 2021 to lose their External Tools section in Preferences

Full Changelog: v1.2.7...v2.0.0

Lootlocker_UnitySDKv1.2.7

16 Oct 09:30
Compare
Choose a tag to compare

Features

Bug Fixes

  • The LootLocker Editor extension that shipped in v1.2.6 had a few bugs that have now been fixed.
    • Primarily, the build error for a rouge [HideInEditor] decorator has been fixed
    • Adding the SDK from github url should now work
  • The new flag on messages is fixed

Full Changelog: v1.2.6...v1.2.7

Lootlocker_UnitySDKv1.2.6

26 Sep 13:53
Compare
Choose a tag to compare

Features

  • GetProgressionTier - You can now get the tiers in a progression!
  • Admin extension - If you're using Unity 2021 or newer, look at a new way to manage API Keys inside Unity! You can find it under Tools/LootLocker/Menu on the top of Unity!

Bug Fixes

  • Fixed the MacFsWatcher include error
  • Errors return correctly again

Full Changelog: v1.2.5...v1.2.6

Lootlocker_UnitySDKv1.2.5

06 Sep 08:19
Compare
Choose a tag to compare

Features

  • Last active authentication - You can now query the SDK through GetLastActivePlatform() to see which authentication method was last used on this device
  • Heroes - The SDK now supports interaction with the hero feature.
  • List Player Characters - A new method to list all the characters that a player has
  • Improved error messages - We are revamping how we deal with error messages (https://docs.lootlocker.com/reference/error-codes) and the SDK now supports this structure. This means that the old Error data (response.Error) has been deprecated, the same data now lives inside the field response.errorData.message. Along with it, you now have the new fields code, doc_url, request_id, and trace_id for improved ability to find the fix for your problem.

Full Changelog: v1.2.4...v1.2.5

Lootlocker_UnitySDKv1.2.4

28 Jul 14:37
Compare
Choose a tag to compare

Features

  • Add support for Meta / Oculus auth

Full Changelog: v1.2.3...v1.2.4

Lootlocker_UnitySDKv1.2.3

28 Jun 09:02
Compare
Choose a tag to compare

Bug Fixes

  • Removed unnecessary warning logs

Full Changelog: v1.2.2...v1.2.3

Lootlocker_UnitySDKv1.2.2

21 Jun 10:01
Compare
Choose a tag to compare

Features

  • Add support for asset instance progressions
  • Implement support for multiple Google Sign-in platforms
  • Player Files Examples added
  • Add more validation when setting player names

BugFixes

  • Fix an issue with 'Other character' methods

Full Changelog: v1.2.1...v1.2.2

Lootlocker_UnitySDKv1.2.1

04 May 13:43
Compare
Choose a tag to compare

Features

  • Apple Game Center: The SDK now supports using Apple Game Center as authorization system
  • New samples for using the fresh progressions system
  • Expired sessions will now automatically try to refresh if there is a refresh token.

BugFixes

  • Fixes GetPlayerStorage
  • Fixes inconsistent line endings warning

Full Changelog: v1.2.0...v1.2.1

Lootlocker_UnitySDKv1.2.0

28 Apr 08:38
Compare
Choose a tag to compare

Features

  • None

BugFixes

  • Fixes the build errors of namespace Plastic not existing
    • We have moved to using an internal JSON library which you can find here: https://github.com/LootLocker/LootLocker-ZeroDepJson. This removes the reliance on Newtonsoft all together. Please be vigilant for any bugs or errors that are caused by JSON parsing in the next few weeks and let us know.

Full Changelog: v1.1.48...v1.2.0

Lootlocker_UnitySDKv1.1.48

19 Apr 05:47
Compare
Choose a tag to compare

Features

  • Adds possibility to get persistent storage as dictionary
  • Adds ability to update public key values for a player
  • Makes client side timeout limit configurable

BugFixes

  • Fixes the Newtonsoft compiler errors when adding the SDK to Unity
  • Adds safeguard to avoid uploads of null files

Full Changelog: v1.1.47...v1.1.48