12 documented changes.

Version
5.0.0
Released
Aug 1, 2023
Product
Unity Analytics
Unity Gaming Services release notes

Analytics SDK 5.0.0

Official notes

Updates

  1. Feature

    Added: New initialization and consent flow. Please see the migration guide for more information: /analytics/sdks-and-apis/sdk5-migration-guide

  2. Deprecation

    Deprecated: The old initialization and consent flow should no longer be used and will be removed in a future version of the SDK. Please see the migration guide for more information: /analytics/sdks-and-apis/sdk5-migration-guide

  3. Improvement

    Changed: Updated `com.unity.services.core` dependency to 1.10.1

  4. Change

    Changed: The package no longer has a dependency on Newtonsoft.Json

  5. Change

    Changed: The package now has a dependency on the Unity JsonSerialize module (JsonUtility)

  6. Removal

    Changed: A number of elements that were previously marked as Obsolete have now been removed

  7. Fix

    Fixed: Analytics no longer blocks services initialization ( `UnityServices.InitializeAsync` ) if there is no internet connection

  8. Fix

    Fixed: It is now possible to opt in to data collection during a session where the player has previously opted out (requires migration to the new consent flow)

  9. Fix

    Fixed: Application.persistentDataPath is no longer requested on some platforms where access to the file system is denied by default

  10. Fix

    Fixed: Event buffer is now cleared on a wider variety of server responses

  11. Fix

    Fixed: Events are more eagerly cached to disk (if available) on shutdown to prevent data loss if game is closed while offline

  12. Fix

    Fixed: Data deletion requests are now sent using the custom user ID if one is set, instead of always using the installation ID

Pick your Unity version

Unity Releases compares releases against the version your project is on. Picking it now keeps Compare versions focused on what changes between where you are and where you might be going.