Releases: lootlocker/unity-sdk
Releases Β· lootlocker/unity-sdk
LootLocker_UnitySDKv3.6.1
Features
- There is now a method to get details about a specific currency without listing all currencies called GetCurrencyDetails.
- All leaderboard methods that return leaderboard data now return the leaderboard ulid needed to work with f.ex. metadata.
Bug Fixes
- UnEquipIdAssetToClass and UnequipIdAssetFromDefaultClass have been fixed and are now working as expected.
Deprecations
- Not a full deprecation, just a note that the full player storage system will over time be replaced by Player Metadata so consider moving over to that system instead.
Full Changelog: v3.6.0...v3.6.1
LootLocker_UnitySDKv3.6.0
Features
- Updated Steam Authentication - We have updated the way we start steam session to make it less error prone and to inline it to a single call for the developer.
- Create UGC as completed - You can now set user generated content as completed when creating it, simplifying the flow.
- New player info endpoints - We have introduced new endpoints where you can look up players using any of a few different identifiers.
Bug Fixes
- Adress null reference exceptions in samples - We have updated the samples so that the scripts are not started until after the first frame to avoid UI resources not having been initialized.
Deprecations
- SubmitXp and GetXpAndLevel have been deprecated in favor of the independent progressions system.
- GetOtherPlayerInfo and GetPlayerInfo has been deprecated in favor of the new methods ListPlayerInfo and GetCurrentPlayerInfo respectively.
- SteamSessionTicket, VerifySteamID and StartSteamSession have been deprecated. You should instead be using one of the VerifyPlayerAndStartSteamSession variants.
Full Changelog: v3.4.0...v3.6.0
LootLocker_UnitySDKv3.4.0
Features
- Player Metadata (pre-release) - Weβre excited to announce the pre-release of "Player Metadata" extending the versatile and powerful metadata feature to Players. More news will be inbound shortly :)
- Max Equip Counts for Asset Contexts - Asset contexts now let you know their max equip count helping you out in dealing with player inventories.
Bug Fixes
- When installing LootLocker, the warning of a missing .meta file for the Tests folder has been fixed.
- Unity extension bug causing the "Could not find game" problem has been fixed.
Deprecations
- Though not fully deprecated yet, the Player Metadata feature will be replacing "Player Storage". More news in the coming weeks.
Full Changelog: v3.3.0...v3.4.0
LootLocker_UnitySDKv3.3.0
Features
- Triggers 2.0 πΉοΈ - Weβre excited to announce the re-release of one of LootLockerβs most versatile featuresβTriggers! This feature has undergone a complete overhaul and is now fully integrated with the same cross-feature rewards system that powers all our latest features. Triggers let you create and manage in-game actions tied to specific rewards, opening up countless opportunities to engage your players. Read more here
- Notifications π¬ - Notifications serve as a shared system that integrates seamlessly with multiple features, including Rewards, Leaderboards, Catalogs, Progressions, and Triggers. Acting as a central hub, Notifications track and communicate important player-related updates to the game, ensuring players stay informed about significant events and changes. Read more here
- .com - The LootLocker api has transitioned to .com instead of .io in preparation for an eventual potential phase out of the TLD.
- The version of the LootLocker SDK is now logged at start up time to help when reaching out to the team for support.
- All session responses now contain the wallet_id of the player.
- The define symbol
LOOTLOCKER_DISABLE_EDITOR_EXTENSION
has been added so that it is possible to disable the LootLocker editor extension.
Bug Fixes
- The LootLocker editor extension no longer logs out on compiles and builds.
Deprecations
- With the introduction of Triggers 2.0, the old triggers system is deprecated. Adressing this will require you to re-configure your triggers in the new triggers configuration. To do this, please refer to our documentation. Once you have done this, simply call the new
InvokeTriggersByKey
method in place of theExecuteTrigger
method. For a deeper understanding of using triggers in game, refer to our documentation. - Group leaderboard rewards no longer contain the metadata field as it's no longer returned from the backend.
Full Changelog: v3.2.0...v3.3.0
LootLocker_UnitySDKv3.2.0
Features
- Metadata π - We're introducing the feature Metadata. Metadata brings a new level of flexibility to our existing systems allowing you to store custom information in several key places such as leaderboars, catalog items, and progressions. Read more in our blog post
- This is mostly internal, but our continuous integration has received a much needed overhaul. See the Readme for details about how to run the tests.
Bug Fixes
- Json serializer now serializes enums as strings instead of numbers
- Leaderboard details now return ulids
- The is_default field in classes and heroes is now correctly de-serialized.
Full Changelog: v3.1.0...v3.2.0
LootLocker_UnitySDKv3.1.0
Features
- Feedback π - We're introducing the feature Feedback. With this feature you can easily add a feedback loop into your game. Be it to moderate UGC, get bug reports from players, or to let players report malicious behaviour, this new system supports it all. Read more in our blog post
- Listing leaderboards - The SDK now has the ability to list the available leaderboards helping you if you have generated or seasonal leaderboards for example.
- Virtual Currency Purchasing Sample - We've added a sample to the SDK that shows you how you can implement an in game store with virtual currencies.
- Retry-After Header support - The SDK now supports the Retry-After header, so if a requst fails for a reason that is retryable and the LootLocker backend returns a Retry-After header, you can find that value in the response.
Bug Fixes
- Silenced the rate limiter logs when entering playmode.
- Fixed a bug in ZeroDepJSON that made generic objects that were members of a non generic object unparseable.
- When updating keys in persistent player storage the SDK now correctly handles the returned "public" fields.
Deprecations
- Renamed class
LootLockerGetPersistentStoragResponse
toLootLockerGetPersistentStorageResponse
. Please use the newLootLockerGetPersistentStorageResponse
class from now on. - Renamed class
LootLockerGetPersistentStoragResponseDictionary
toLootLockerGetPersistentStorageResponseDictionary
. Please use the newLootLockerGetPersistentStorageResponseDictionary
class from now on.
Full Changelog: v3.0.0...v3.1.0
LootLocker_UnitySDKv3.0.0
Features
- Reward Groups - In leaderboards and catalogs you can now create groups of rewards. Read more here
- Added a method for getting a single item from the entitlement history
- The LootLocker SDK settings now help you in giving the correct domain key as there has been some confusion around domain key and domain url
Bug Fixes
- Fixed a bug that caused crashes if the responses were for some reason not json
Deprecations
- Due to the new feature of groupable rewards in catalogs, how you get information from the details dictionaries has changed. Before you would do for example
var entry = response.entries[0]; //Get the entry you're looking at
if(entry.entity_kind) {
response.asset_details[entry.catalog_listing_id]
}
Now you will instead do
var entry = response.entries[0]; //Get the entry you're looking at
if(entry.entity_kind) {
response.asset_details[entry.GetItemDetailsKey()];
}
Full Changelog: v2.2.0...v3.0.0
Lootlocker_UnitySDKv2.2.0
Features
- Entitlement History - You can now retrieve a list of the player's historical entitlements. Use this to retrieve information on entitlements the player has received regardless of their origin (for example as an effect of progression, purchases, or leaderboard rewards)
- You can now verify a steam player for a specified Steam App Id allowing your game to support multiple steam app ids (if you're for example splitting your beta out in a separate id)
Full Changelog: v2.1.5...v2.2.0
Lootlocker_UnitySDKv2.1.5
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
Deprecations
- 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
Full Changelog: v2.1.4...v2.1.5
Lootlocker_UnitySDKv2.1.4
Features
- In-App Purchase πΈ Steam store listings are added to catalog!
- Admin Extension is back! With new UI, helping you manage api keys easier than ever!
Deprecations
- Deprecated a poorly named function
BeginSteamPurchaseRedemption(string entitlement_id...
useQuerySteamPurchaseRedemption(string entitlement_id...
instead! - Legacy IAP methods have been marked deprecated.
Bug Fixes
- Increased client side timeout to 180s (3m)
- Calling
errorData.ToString();
now returns a string formatted message, use this if you encounter errors!
Full Changelog: v2.1.3...v2.1.4