Releases: android/tuningfork
Releases · android/tuningfork
Android Performance Tuner Unity v2.0.0-alpha06 (2023-11-08)
New APIs and capabilities
- Added new quality prediction API. If using default fidelity parameters, this API can be enabled through Window > Android Performance Tuner > Prediction Settings. If using custom fidelity parameters, Prediction Settings tab instead details how the predictability API can be used.
- Added a new option to disable advanced telemetry collection to improve performance on low end devices. This option can be accessed from Window > Android Performance Tuner > Settings > Disable Async Telemetry.
Other changes
- Migrated Protobuf library to Protobuf lite.
Bug fixes
- Fixed getpid returning 0 while trying to get memory telemetry.
- Stopped StopLoadingGroup from executing without an active loading group.
- Fixed a bug where the library crashes if max instrumentation keys are more than histogram count.
Android Performance Tuner Unity v1.5.2 (2022-10-07)
Other changes
- The Utilities folder has been moved to the Samples~ folder. If you're importing Android Performance Tuner from .tgz you'll be able to import the sample scripts from the Package Manager. If you're using the .unitypackage, also import the android-performance-tuner-{version}-samples.unitypackage.
Bug fixes
Android Performance Tuner Unity v1.5.1 (2022-08-24)
New APIs and capabilities
- Introduced support for Addressables scenes in Unity 2019.3 or newer.
- Introduced
LoadingSceneTracker
to automatically track loading times in loading scenes. - Introduced option in APT window to disable verbose logging in Unity Console (disabled by default).
- Introduced option in APT window to hide some sensitive information from logging in the C/C++ libraries (hidden by default).
Breaking changes
- Importing the APT package in Unity 2017 now requires extra steps as detailed here.
- Importing the APT package after removing it from the project now requires deleting the
ANDROID_PERFORMANCE_TUNER_UTILITIES
symbol underProject Settings > Player > Other Settings > Scripting Define Symbols
(details here).
Other changes
- Fixed #22: Proto compilation won't open a new window.
Bug fixes
- Fixed #24:
SetupConfig
not using Unity separator on Windows.
Android Performance Tuner Unity v1.5.0 (2022-02-10)
We're changing the version numbering of APT Plugin to match that of native
Android Performance Tuner. Hence, this release will be 1.5.0 instead of 1.2.1.
New APIs and capabilities
- Added support for x86-64 platforms.
Bug fixes
- Fixed a bug for which Annotations and FidelityParams were reset when importing a project.
- Fixed a bug that reset instrumentation settings to default when closing Unity.
Android Performance Tuner Unity v1.2.0 (2022-01-31)
New APIs and capabilities
- Updated the native library to version 1.5.0.
- Aggregation strategy and frequency can now be set programmatically.
Bug fixes
- Fixed a bug that prevented successful authentication with a correct API key.
Android Performance Tuner Unity v1.1.2 (2021-05-26)
New APIs and capabilities
- Editor page with
Integration Steps
.
Deprecations
LoadingState
is obsolete, you should stop using loading annotation and use new loading API instead.
Android Performance Tuner Unity v1.1.1 (2021-04-07)
New APIs and capabilities
- Updated the native library to version 1.3.11.
Bug fixes
- Fixed loading time and duration recording on devices with inconsistent CLOCK_BOOTTIME.
Android Performance Tuner Unity v1.1.0 (2021-02-24)
New APIs and capabilities
- Updated the native library to version 1.3.8.
- Lifecycle events are now automatically recorded to detect crashes.
- More memory metrics are now recorded when
EnableMemoryRecording(true)
is called. - Added
void SetMetricLimits(MetricLimits metricLimits)
. This function updates the memory model so that the maximum number of metrics of each type is now specified at startup, rather than allocating space for all possible annotation combinations. - Updated loading times capabilities with the new functions
Result<ulong> StartRecordingLoadingTime(LoadingTimeMetadata eventMetadata, TAnnotation annotation)
andErrorCode StopRecordingLoadingTime(ulong handle)
, which you can call to record annotated loading time events. Using these functions automatically record the time from app startup toStart()
and the first tick. - Loading events must now be grouped with calls to
StartLoadingGroup
andStopLoadingGroup
. - When a player backgrounds a game during loading, an event is sent for later analysis of loading abandonment.
Breaking changes
Google.Android.PerformanceTuner_gen.asmref
is automatically created inside theAndroidPerformanceTuner/Runtime
folder.- Upload callback is not enabled by default. Use the new function
EnableUploadCallback()
to receive callbacks.
Bug fixes
- Fixed #1: The UI now provides an additional message if the protoc file couldn't be opened.
- Fixed #2: Changed the menu path to be consistent with other Google products.
- Fixed #3: The assembly definition file (.asmdef) is now automatically created for a generated folder.
- No upload on metered connections.
- Calling
Flush
will immediately upload data rather than queuing it for later upload. - Fixed intermittent upload failure due to JSON formatting of times.
- Fixed a problem with uploads on release builds.
Android Performance Tuner Unity v1.0.0 (2020-06-10)
Android Performance Tuner is a new library in the Android Game SDK that unlocks game performance insights in Android Vitals. This library gives you a scalable way to measure and optimize your game's frame rate and graphical fidelity across the whole Android device ecosystem.
Changes
- Native library updated to version 1.0.
- Minimum API Level is 18.
Bug fixes
- Fixed callbacks not being called.
Android Performance Tuner Unity Preview v0.2.2 (2020-05-21)
Changes
- Minimum API Level is 18.
Other changes
- Default upload time is 10 minutes.
- Auto upload (flush) of the data when app is going to background.
- Edit enums in Unity Editor.
Bug fixes
- Fixed crash on API level 22.