Skip to content

LootLocker_UnitySDKv8.2.0

Latest

Choose a tag to compare

@kirre-bylund kirre-bylund released this 30 Sep 13:18

Features

  • Items and Item Templates - Added SDK support for the new inventory system (internally "Assets 2.0"), publicly named Items and Item Templates. Includes listing item templates, listing and getting player inventory items, consuming, splitting and merging stacks, and deleting items.
  • Added optional auto_create_profile to session requests so profiles can be created automatically.
  • Added platform account connection methods for Steam, Xbox, Nintendo, and Google Play Games.
  • Added support for White Label Login custom sign-up fields.
  • Added the List Platform Keys endpoint.
  • Added timezone utilities (GetLocalIanaTimezone, GetCurrentUTCOffsetAsIanaTimezone, IsValidIanaTimezone) for session timezone support.
  • Error reporting is now enabled by default.
  • Exposed GetStateWriter() and added GetInt/SetInt to ILootLockerStateWriter.
  • Updated file APIs to align with backend Better Files changes.

Fixes

  • Fixed an issue where custom sign-up field values were not sent as JSON primitives.
  • Fixed an issue where session coroutines used WaitForSeconds and were affected by Time.timeScale; they now use WaitForSecondsRealtime.
  • Fixed an issue where the "Clear local player data" button was disabled when the extension was disabled.
  • Fixed custom fields being incorrectly coupled to the login request.
  • Fixed a compile error on Unity 6.5+ where Object.GetInstanceID is obsolete; the SDK now uses GetEntityId on those versions.
  • Fixed item DTO types: item_type is now an enum, timestamps are DateTime, and unset filters are no longer sent as empty values.
  • Fixed the documented consume behaviour: a null count consumes a single item, not the whole stack.

Refactoring

  • Renamed the player item APIs to player inventory items (for example ListPlayerItems to ListPlayerInventoryItems, and LootLockerItem to LootLockerInventoryItem) to distinguish them from the pre-existing asset and asset-instance inventory methods. The metadata source inventory was renamed to inventory_item.

Full Changelog: v8.1.1...v8.2.0