Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Adaptive Performance Package

Discussion in 'Android' started by David-Berger, Mar 28, 2019.

  1. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    688
    We released Adaptive Performance and Samsung Android 2.0.0 Preview 11 today which comes with many fixes and updates to the Indexer and Scalers. Please read the changelog below for details. The installation in Adaptive Performance 2.0 is different to 1.0 due to the new provider system. Please see the quick installation guide below. Changes in Adaptive Performance 2.0:
    • Samples to show off different Adaptive Performance features.
    • Settings for Scalers
    • A number of sample Scalers
      • Adaptive Sorting
      • Adaptive Batching
      • Adaptive Shadowmap Resolution
      • Adaptive Shadow Distance
      • Adaptive Shadow Quality
      • Adaptive Shadow Cascades
      • Adaptive LOD
      • Adaptive MSAA
    • Fixes to VRR support.
    Quick Installation Guide:

    • Install Android Support for Unity. Unity needs Android Support to build to your Samsung device.
    • Switch Platform to Android in the Build Settings window.
    • Use the Unity Package Manager and install the Adaptive Performance
    • Install and activate the Adaptive Performance Samsung Android provider in Adaptive Performance Settings.
    • If you want to use the Device Simulator Extension, you also have to activate the Adaptive Performance Simulator provider in the Adaptive Performance Settings.
    Please also read the Installation Guide in the manual, which has additional details.
     
  2. yuliyF

    yuliyF

    Joined:
    Nov 15, 2012
    Posts:
    158
    Will it work on Huawei and other brands?
     
  3. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    688
    Not at this moment with the shipped providers.
     
  4. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    688
    We released Adaptive Performance and Samsung Android 1.1.9 and 1.2.0 today which comes with bug fixes, dependency changes and updates. Please read the changelog for details. 1.1.9 and 1.2.0 have the following fixes:
    • Automatic Performance Mode: lower CPU and GPU levels at the same time instead of one at a time to increase efficiency and higher power savings.
    • Fixed Automatic Performance Control flag to respect the function and not be read only anymore.
    • Thermal Mitigation Logic changes in GameSDK 3.2 and it was updated in SetFreqLevels() to react to the correct return values.
    • Automatic Performance Mode: gpuUtilizationThreshold increased from 0.7 to 0.9 to increase effeciency.
    • Automatic Performance Mode: gpuFactor increased from 0.72 to 0.92 to increase effeciency.
    • Automatic Performance Mode: Increase GPU Active time Ratio.
    • Changed Documentation to make clear that changing CPU and GPU levels is risky and the Automatic Performance Mode should be used instead.
    • Exchanged GameSDK wrapper with updated version removing GameSDK 3.1 support.
    • Automatic Performance Control does not lower CPU lower than 1 on GameSDK 3.2 workaround.
    • Add workaround to send temperature warning when the device starts as warm already as currently no events are sent.
    1.2.0 has the same changes as 1.1.9 but it also updates a dependency: The Subsystem Registration was updated from 1.0.6 to 1.1.0. This updates the minimum supported version to Unity 2019.4. It fixes an issue where you get compilation errors if you disable the built-in module Subsystems in your project and you install Adaptive Performance afterwards. This is an issue in Unity 2019.4+. A workaround is to enable the the Subsystem module again before installing Adaptive Performance. This means, the Support Matrix looks like:

    Unity 2018 LTS : Adaptive Performance and Samsung Android 1.1.9
    Unity 2019 LTS+: Adaptive Performance and Samsung Android 1.2.0
     
  5. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    688
    We are happy to announce that Adaptive Performance 2.0.0 and Samsung Android 2.0.0 are now available. This verified release comes with many new features to improve your device performance. It comes with samples which can be use on the Samsung device but also in the Unity Editor in combination with the Device Simulator:
    • Samples to show off all Adaptive Performance features.
    • Editor settings for all features.
    • All features of Adaptive Performance 1.0. including Automatic Performance mode, Bottleneck and Thermal state detection.
    • Device Simulator Extension
    • A number of Scalers utilizing the Indexer
      • Adaptive Framerate
      • Adaptive VRR
      • Adaptive Resolution
      • Adaptive Sorting
      • Adaptive Batching
      • Adaptive Shadowmap Resolution
      • Adaptive Shadow Distance
      • Adaptive Shadow Quality
      • Adaptive Shadow Cascades
      • Adaptive LOD
      • Adaptive MSAA
    • Variable Refresh Rate Support.
    Quick Installation Guide:
    • Use the Unity Package Manager and install the Adaptive Performance.
    • Install and activate the Adaptive Performance Samsung Android provider in the Adaptive Performance Settings.
    • If you want to use the Device Simulator Extension, you also have to activate the Adaptive Performance Simulator provider in the Adaptive Performance Settings and install the Device Simulator Package.
    • Install Android Support for Unity. Unity needs Android Support to build to your Samsung device.
    • Switch Platform to Android in the Build Settings window.
    Please also read the Installation Guide in the manual, which has additional details.

    For additional information and upgrade guides, please see the first post.
     
  6. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    688
  7. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    688
    We released Adaptive Performance and Samsung Android 2.0.2 today which comes with bug fixes when you use Unity < 2020.2. Please read the change log linked above for details.

    We also release Samsung Android 1.2.1 today which replaces a broken 1.2.0 - please upgrade to Samsung Android 1.2.1 if you use 1.2.0. In case you use Unity 2018, please stay/downgrade to 1.1.9.
     
  8. mk0a1a

    mk0a1a

    Joined:
    Nov 24, 2018
    Posts:
    18
    Hello, I'd like to ask if there is any progress on a generic Android provider for Adaptive Performance? I'd like to know if work has already started on it. This package is pretty great but for it to work only with the latest Samsung devices makes it very limiting. Can we expect it soon? Maybe in 2021 or something? An ETA would be greatly appreciated.

    Also, I know this is in the Android subforum but can we expect this for other platforms? Like on Windows, iOS, etc.
     
  9. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    688
    There is additional APIs in Android 11 which we evaluate at the moment. Most Thermal APIs, required for Adaptive Performance, are still missing on Android and iOS. We monitor the APIs closely and hopefully will be able to support more platforms in future. For now, if you use Adaptive Performance, it should be easy to adapt it for other platforms once they are available.
     
    mk0a1a likes this.
  10. kmedved

    kmedved

    Joined:
    Aug 18, 2016
    Posts:
    113
    It might be helpful if you need to check device thermal state: iOS / Android
     
    Thermos and David-Berger like this.
  11. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    688
unityunity