Analytics SDK 5.0.0
12 documented changes.
- Version
- 5.0.0
- Released
- Aug 1, 2023
- Product
- Unity Analytics
Analytics SDK 5.0.0
Updates
- Feature
Added: New initialization and consent flow. Please see the migration guide for more information: /analytics/sdks-and-apis/sdk5-migration-guide
- 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
- Improvement
Changed: Updated `com.unity.services.core` dependency to 1.10.1
- Change
Changed: The package no longer has a dependency on Newtonsoft.Json
- Change
Changed: The package now has a dependency on the Unity JsonSerialize module (JsonUtility)
- Removal
Changed: A number of elements that were previously marked as Obsolete have now been removed
- Fix
Fixed: Analytics no longer blocks services initialization ( `UnityServices.InitializeAsync` ) if there is no internet connection
- 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)
- Fix
Fixed: Application.persistentDataPath is no longer requested on some platforms where access to the file system is denied by default
- Fix
Fixed: Event buffer is now cleared on a wider variety of server responses
- Fix
Fixed: Events are more eagerly cached to disk (if available) on shutdown to prevent data loss if game is closed while offline
- Fix
Fixed: Data deletion requests are now sent using the custom user ID if one is set, instead of always using the installation ID