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_profileto 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 addedGetInt/SetInttoILootLockerStateWriter. - Updated file APIs to align with backend
Better Fileschanges.
Fixes
- Fixed an issue where custom sign-up field values were not sent as JSON primitives.
- Fixed an issue where session coroutines used
WaitForSecondsand were affected byTime.timeScale; they now useWaitForSecondsRealtime. - 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.GetInstanceIDis obsolete; the SDK now usesGetEntityIdon those versions. - Fixed item DTO types:
item_typeis now an enum, timestamps areDateTime, 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
ListPlayerItemstoListPlayerInventoryItems, andLootLockerItemtoLootLockerInventoryItem) to distinguish them from the pre-existing asset and asset-instance inventory methods. The metadata sourceinventorywas renamed toinventory_item.
Full Changelog: v8.1.1...v8.2.0