This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
Releases: lootlocker/unity-sdk-assetstore
Releases · lootlocker/unity-sdk-assetstore
Lootlocker_UnitySDKv2.1.5
Important Deprecation
- LootLockerSDK version 2.1.5 sees us move from the Unity Asset Store to to OpenUPM as our registry and the primary way of getting the LootLocker SDK for your Unity game. You can read more here: https://docs.lootlocker.com/reference/deprecation-guide/unity-sdk-deprecation-log/version-2.1.5-migration-to-open-upm
Features
- 🎉Added leaderboard scheduled resets and rewards 🏅- You can now configure resettable leaderboards, get the previous iterations of the leaderboards, and add rewards to your leaderboards. Read more here: https://lootlocker.com/blog/leaderboard-resets-rewards
- Added a convenience method that both verifies a steam player and then starts a steam session that will replace the two calls to the verifyplayer and startsteamsession methods.
Bug Fixes
- All session responses now contain player_name
- Made hero_equip_exceptions into an array
- Fixed a warning from the LootLocker extension about resetting LootLockerServerAPI class
Full Changelog: v2.1.4...v2.1.5
Lootlocker_UnitySDKv2.1.3
Features
- Unified Player Accounts - We're introducing a new feature called Unified Player Accounts and the concept of connecting accounts. This lets you add more than one authentication method to a LootLocker account enabling powerful cross platform functionality. Stay tuned for in detail guides.
- Steam In App Purchases - LootLocker now supports in app purchases using steam.
- Game Version help - We've added some guidance on how to utilize the game version configuration field
BugFixes
- Added missing UUID from asset classes
- acquisition_date is now nullable
Full Changelog: v2.1.2...v2.1.3
Lootlocker_UnitySDKv2.1.2
Features
- In App Purchases for Apple and Google: 🎉🪙 We have added support for in app purchases for IAP for Apple and Google. This feature is under review and the documentation and guides will be coming shortly.
- Refresh Remote Sessions: Remote sessions now provide a refresh token that can be used to refresh the session without fully re-authorizing.
- Grant and Remove Assets You can now grant and delete assets from a player directly from the game if you allow it in the console.
BugFixes
- The catalog now correctly handles the cursor
Continuous Integration
We have significantly improved our continuous integration and testing. Here for example is the run for this release: https://github.com/lootlocker/unity-sdk/actions/runs/7486064145
Full Changelog: v2.1.1...v2.1.2
Lootlocker_UnitySDKv2.1.1
Bug Fixes
- We have fixed a bug that caused our LootLockerServeriApi to never destroy itself when it should, thus resulting in errors.
Lootlocker_UnitySDKv2.1.0
Features
- Progression Currencies - 🪙 Currencies can now be rewarded from progressions 🎉
- Session Leasing 🎁 - You can now lease a session on your client. You will get a url and a qr code that can be used by the same or another device to authorise the session.
Bug Fixes
- Disabled the Extension, we concluded our trial run on the upcoming extension and have identified improvements for the full release. As such we have disabled the extension for now though you can still enable it on your end using the "LOOTLOCKER_ENABLE_EXTENSION" define symbol.
- Renaming: as part of a general renaming of Characters and Heroes, all methods and types that contained the name "Character" have been renamed to Class. The old ones have been deprecated and will be removed eventually.
Full Changelog: v2.0.0...v2.1.0
Lootlocker_UnitySDKv2.0.0
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 usingWhiteLabelLoginAndStartSession
- 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
Features
- Economy - LootLocker's economy system is released 🎉 With this you can now create virtual currencies, in game economies, and so much more. Read more here: https://lootlocker.com/blog/new-economy-currency-system
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
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
Features
- Meta/Oculus - Added support for authentication using Meta/Oculus
- 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.3...v1.2.5