Unity Android 2023 Release-Notes

发布于:2024-04-18 ⋅ 阅读:(27) ⋅ 点赞:(0)

🌈Unity Android 2023 Release-Notes

本文信息收集来自自动搜集工具👈

版本 更新内容
2023.2.17 Android: Fixed an issue where a black frame flashes when returning to Unity Game Activity from the home screen.(UUM-58966)
2023.2.17 Android: Fixed issue with updating the minimum value of maxAspectRatio value.(UUM-66208)
2023.2.16 Android: Properly sync GameActivity text selection with Unity runtime when entering text in soft keyboard.(UUM-38034)
2023.2.16 Android: Provide control over Unity killing external ADB instances, there’s a new option in Preferences->External Tools->Kill External ADB instances.(UUM-56519)
2023.2.16 Android: Reduced the amount of time that the screen is displayed without including the cutout area.(UUM-55678)
2023.2.16 Android: Remove UTF BOM from stdin SDK tools commands.(UUM-60488)
2023.2.14 Android: Fixed freeze when opening Icons section of Player Settings.(UUM-61146)
2023.2.13 Android: Remove UTF BOM from SDK tools commands.(UUM-60488)
2023.2.13 Android: Temporarily hide ‘Upgrade templates to C#…’ button in Player Settings.
2023.2.13 Android: Temporarily hide AndroidProjectFiles properties - GradleProperties, GradleSettings, LauncherBuildGradle, LauncherManifest, ProjectLevelBuildGradle, UnityLibraryBuildGradle, UnityLibraryManifest until Google’s EDM4U will no longer requires templates.
2023.2.12 Android: Fixed back gesture invoking UI elements.(UUM-48818)
2023.2.11 Android: SoftInput layout issue on some Android device (Samsung Android 12+ devices).(UUM-59379)
2023.2.11 Android: SoftInput visibility issue on some Android device when hideInput is enabled (Samsung Android 12+ devices).(UUM-57858)
2023.2.10 Android: Fixed a crash in development build when passing array of AndroidJavaObject to Java method.(UUM-60779)
2023.2.10 Android: Fixed a crash, when one of the extracted il2cpp resource is delete in application data folder, in case like this, application will reextract il2cpp resources again.(UUM-46362)
2023.2.10 Android: Fixed an issue where the splash background color was not always editable for Android, even if a splash screen background image is set.(UUM-60293)
2023.2.10 Android: Fixed problem with JNI global reference table overflow when AndroidJavaObjects are deleted by garbage collector.(UUM-60727)
2023.2.10 Android: Fixed problem with with using AndroidJavaObject.Set() for AndroidJavaProxy.(UUM-59734)
2023.2.10 Android: Fixed UnityEditor.Android.GradleDependencies.GetEngineGradleDependencies() to return game activity dependencies, when both Activity and GameActivity are selected in application entry points.
2023.2.10 Android: Make it possible to target API Level 32, when building with GameActivity, in this case, Unity will downgrade the following package version - androidx.appcompat:appcompat 1.6.1 -> 1.5.1, androidx.core:core 1.9.0 -> 1.8.0.(UUM-61916)
2023.2.9 Android: Fixed an Android AAudio issue, where audio output latency could be 300ms or more.(UUM-41494)
2023.2.8 Android: Fixed OnDemandRendering’s ignored renderFrameInterval.(UUM-32486)
2023.2.8 Android: Remove deprecation warning for IPostGenerateGradleAndroidProject.(UUM-61103)
2023.2.7 Android: Updated GetEngineGradleDependencies() API to return asset pack dependencies.(UUM-21692)
2023.2.6 Android: Fixed ad banner disappearance after suspend/resume.(UUM-57151)
2023.2.5 Android: Add missing super.onRequestPermissionsResult for onRequestPermissionsResult call for both Activity and GameActivity(UUM-58225)
2023.2.5 Android: Added Auto Rotation behavior to the Orientation section.(UUM-44021)
2023.2.5 Android: Fixed Graphics.Blit with Vulkan PreTransform creating corrupted RenderTexture data in landscape orientation.(UUM-52910)
2023.2.5 Android: Fixed missing IPostGenerateGradleAndroidProject deprecation warning, it will be visible now.(UUM-57693)
2023.2.5 Android: Removed unity.allow-resizable-window meta-data for multi-window support on large screens.
2023.2.5 Android: Users can override UnityPlayerActivity.java, by placing the file directly in Unity project, this was accidentally broken with incremental build pipeline.(UUM-57761)
2023.2.4 Android: Google play.asset-delivery package version is updated to 2.1.0 to solve PAD related compatibility problem with Android 14.(UUM-54157)
2023.2.3 Android: AdmobSDK banner ad disappears when the device goes to the home screen and returns to the application(UUM-57151)
2023.2.3 Android: AndroidJavaObject will correctl follow dispose pattern and will now call Dispose(false) from finalizer, previously it called Dispose(true).(UUM-53674)
2023.2.2 Android: AdmobSDK banner ad disappears when the device goes to the home screen and returns to the application(UUM-57151)
2023.2.2 Android: Android: The Editor now offers to install a lower API level than the currently installed level if the user requests it, rather than forcing the user to install the lower level manually. Not available in batch mode.(UUM-52052)
2023.2.2 Android: Fixed an issue with usymtoolarm64 not being copied to exported Gradle project.(UUM-53558)
2023.2.2 Android: Fixed merged manifest path for permissions event.(UUM-51545)
2023.2.0 Android: Added the Addressables for Android (com.unity.addressables.android) package. This package provides Play Asset Delivery support for Addressables.
2023.2.0 Android: Added a new asset packs size validation procedure for the AAB based on Android’s Play Asset Delivery download size limits.
2023.2.0 Android: Added UnityApplication.GetEvents() in GameActivity bridge files which allows you to subscribe to various events. This can be accessed from InitializeUserCode. For instance, application->GetEvents().RegisterUnity::UnityEventProcessInput([](const Unity::UnityEvent& e) { }});.
2023.2.0 Android: Enabled adding the minimum aspect ratio.
2023.2.0 Android: Enabled automatic removal of the application from the device when installing Android App Bundle (AAB) that includes fast-follow and/or on-demand asset packs. Google does not support updates for such applications.
2023.2.0 Android: Enabled placing extra .cpp files in unityLibrary/src/main/cpp/GameActivity/myfolder/ and implement InitializeUserCode/ShutdownUserCode functions for extra initialization of custom code.
2023.2.0 Android: Improved Android Player building for source code customers. The build script will now download the necessary SDK/NDK components if needed.
2023.2.0 Android: Improved the Android LocationService implementation so it takes less time in each frame. This improvement is only small if the implementation is not used.
2023.2.0 Android: Improved the warning messages for missing Android Tools, such as NDK or JDK. In the case of a missing tool, Unity will print out what version it finds and what it expects, which helps users figure out how to solve the problem easier.
2023.2.0 Android: Introduced a pop-up dialog box that appears during Build and Run when both Activity and GameActivity application entry points are selected. The dialog box asks which activity the user wants to run.
2023.2.0 Android: Added: Expose UnityPlayer.invokeOnMainThread, a helper function for delegating callbacks on game loop thread.
2023.2.0 Android: Added: Expose UnityPlayer.runningOnMainThread in java.
2023.2.0 Android: Added: New Android Project Configuration API that allows to copy arbitrary files to the Gradle project.
2023.2.0 Android: Added: New API to Android Project Configuration Manager to be able to set data from the Editor main thread and read it in the OnModifyAndroidProjectFiles callback.
2023.2.0 Android: Deprecated: Deprecate OnPostGenerateGradleAndroidProject in favor of OnModifyAndroidProjectFiles.
2023.2.0 Android: Deprecated: The keystorePass and keyaliasPass properties in PlayerSettings class have been deprecated, use the ones from PlayerSettings.Android class.
2023.2.0 Android: Obsoleted: Removed ETC2 decompression fallback from Android BuildSettings and made the related scripting API obsolete. The feature had no effect since OpenGL ES 2.0 support was removed.
2023.2.0 Android: Added the scripting backend identification (IL2CPP or Mono2x) to the symbol archive’s name.(UUM-21382)
2023.2.0 Android: Changed the minimum supported Android version to 6.0 (API 23). This change includes:
2023.2.0 Android: Changed the RunInBackground functionality so it is now preserved only when you manually enable the Run in Background setting. Previously, this functionality was automatically enabled for Chrome OS if the resizable window setting was set to true.
2023.2.0 Android: Enabled the Application Entry Point to default to Game Activity when creating new Unity projects in Unity 2023.2 or newer. When upgrading from older Unity versions (2022.2 or older), the Application Entry Point will default to Activity.
2023.2.0 Android: Fixed the visibility of some APIs so that they are no longer publicly visible.
2023.2.0 Android: Updated the game activity package androidx.games:games-activity to version 2.0.0.
2023.2.0 Android: Upgraded Android Gradle Plugin version to 7.3.1, the Gradle version to 7.6, and the Kotlin Gradle Plugin version to 1.7.22.
2023.2.0 Android: Added upgrade guide information about mainTemplate.gradle file changes.(UUM-32805)
2023.2.0 Android: Added warning messages when the plug-in’s AndroidManifest.xml has duplicated elements with UnityPlayerSettings.(UUM-27274)
2023.2.0 Android: Disabled input history events for GameActivity temporarily, due to a known bug in game activity package version 2.0.0 and lower.
2023.2.0 Android: Disabled --fastdeploy during application installation as it works incorrectly in some cases.(UUM-28376)
2023.2.0 Android: Enabled ‘AMOTIONEVENTAXISTOUCHMINOR/AMOTIONEVENTAXISTOUCHMAJOR’ axes for Game Activity to fix Input.GetTouch.radius APIs.(UUM-28698)
2023.2.0 Android: Enabled calling Input.location.Start() to change status to Initializing immediately and permission denial will set it to Failed.(UUM-27609)
2023.2.0 Android: Enabled different maximum MSAA samples count for different graphics formats.(UUM-25096)
2023.2.0 Android: Enabled the ability to set an ID for mSurfaceView in UnityPlayerGameActivity.java before initializing Unity run time.
2023.2.0 Android: Enabled the build to fail if the custom asset pack does not have a valid structure.(UUM-25501)
2023.2.0 Android: Enabled the display of gradle tasks in progress dialog while building to Android.(UUM-31890)
2023.2.0 Android: Enabled the New Input System to accept input events produced by adb shell input tap.(UUM-33878)
2023.2.0 Android: Enabled the unlock image to be set on each lock rather than only on the first.(UUM-21954)
2023.2.0 Android: Enabled toggling full-screen on GameActivity to resize the window to account for system bars for devices with API 30 or higher.(UUM-18618)
2023.2.0 Android: Enabled Unity’s crash handler to now handle SIGTRAP.(UUM-29487)
2023.2.0 Android: Enabled Unity’s internal crash handler to install when instantiating UnityPlayerForActivityOrService. Previously, Unity’s internal crash handler was initializing too late when Activity was used, so installing your own crash handler after the UnityPlayerActivity.onCreate function would mean Unity’s crash handler would still be the first responder.
2023.2.0 Android: Enabled CursorLockMode.Locked support so it now works correctly on Android 8.0 or higher. For more information, see Android’s API View.requestpointercapture.(UUM-888)
2023.2.0 Android: Exposed UnityApplication.SendMessage method in GameActivity’s .cpp bridge files.(UUM-33860)
2023.2.0 Android: Filtered some redundant warnings on some Adreno devices that cause severe performance issues in development builds.
2023.2.0 Android: Fixed a build failure on Windows caused by an icon in exported Gradle project containing a Hidden attribute.(UUM-26040)
2023.2.0 Android: Fixed a crash that would occur on the Samsung Galaxy S8 platform when the OpenExtractor method failed to translate an archive.(UUM-894)
2023.2.0 Android: Fixed a frame debugger crash when using mono scripting on Android.(UUM-14632)
2023.2.0 Android: Fixed a freeze that occurred when Unity requests runtime permission. This affects the behavior of WebCamTexture, Microphone, and OBB loading: they fail on the first attempt due to missing permissions (no webcam/microphone found and no OBBs loaded).(UUM-21838)
2023.2.0 Android: Fixed a garbage collection deadlock in AndroidJavaProxy.(UUM-15968)
2023.2.0 Android: Fixed a potential race condition during the pause routine, which would cause application to accidentally quit instead of pausing.(UUM-30732)
2023.2.0 Android: Fixed an error generated by the Vulkan loader on Android when trying to load vkGetPhysicalDeviceFragmentShadingRatesKHR as Vulkan device function.
2023.2.0 Android: Fixed an issue that caused custom keystore creation to fail in the Keystore Manager for Android applications.(UUM-46300)
2023.2.0 Android: Fixed an issue where a black screen would appear for a few seconds when returning to the game after a paused state.(UUM-30881)
2023.2.0 Android: Fixed an issue where adjusting the value of the Screen.brightness property had no effect on builds on Android or later.(UUM-47926)
2023.2.0 Android: Fixed an issue where the Android build system asked for an API level that didn’t exist.(UUM-40891)
2023.2.0 Android: Fixed an issue where the Android Player setting Mute Other Audio Sources would not mute the audio from another application when the Player starts. There are two cases where another app’s audio might not get muted when it should. This could happen if the other app is started before the Unity app or if the other app is played via the Android quick panel after the Unity app starts.(UUM-37753)
2023.2.0 Android: Fixed an issue where the background color displayed as black when rendering an application over the native Android UI. It now displays as transparent.(UUM-32877)
2023.2.0 Android: Fixed an issue where the pause operation wasn’t processed when calling onPause() right after calling onResume().(UUM-23247)
2023.2.0 Android: Fixed an issue where the Player didn’t update correctly when changed to a pop-up view using Swipe for Pop-up view feature in Samsung devices.(UUM-48173)
2023.2.0 Android: Fixed an issue where the value of the Screen.brightness didn’t match the device’s brightness on Android 9 or later.(UUM-48141)
2023.2.0 Android: Fixed an issue where using Optimized Frame Pacing with Vulkan native rendering plugins caused an application to crash.(UUM-36096)
2023.2.0 Android: Fixed an issue where you couldn’t enter text with a physical keyboard for GameActivity by updating the game activity package to version 2.0.0.(UUM-31072)
2023.2.0 Android: Fixed an issue where Network.OperationalStatus would always return Unknown for Android.(UUM-19683)
2023.2.0 Android: Fixed an issue where Screen.brightness didn’t match some devices’ screen brightness, or didn’t do anything when built.
2023.2.0 Android: Fixed an issue where TouchScreenKeyboard.hideInput was incorrectly set to false on closing the touch screen keyboard.(UUM-39642)
2023.2.0 Android: Fixed an issue with sensor name and vendor so they now set correctly when reporting to the Input System package.(UUM-47130)
2023.2.0 Android: Fixed an issue with the Accelerometer values not being updated when the ASENSORTYPELINEAR_ACCELERATION sensor is disabled on certain Samsung devices.(UUM-20754)
2023.2.0 Android: Fixed an issue with the Input.multiTouchEnabled setter when it was called before a touch event. The issue caused values to be disregarded because internally there were no touch devices available for multiTouch to set to.(UUM-47104)
2023.2.0 Android: Fixed an issue with AndroidJavaProxy not always finding private methods.(UUM-44752)
2023.2.0 Android: Fixed AndroidJavaProxy so it now correctly maps null variables (for example, an empty string) for reflection search. Also added automatic tests for AndroidJavaProxy.
2023.2.0 Android: Fixed asset packs functionality for GameActivity.(UUM-29546)
2023.2.0 Android: Fixed errors on the new InputSystem when using mouse clicks on Samsung Dex.(UUM-19038)
2023.2.0 Android: Fixed GPU skinning on the remaining Adreno devices.(UUM-20108)
2023.2.0 Android: Fixed Handheld.PlayFullScreenMovie() sticking on top forever.(UUM-28251)
2023.2.0 Android: Fixed missing symbol files from the symbols.zip archive (libgame.so if Game Activity is selected, and libswappywrapper.so if Optimized Frame Pacing is enabled).(UUM-21382)
2023.2.0 Android: Fixed mouse scrolling issues by disabling historical values from input events.(UUM-28696)
2023.2.0 Android: Fixed screen brightness issue with Android phones, Oppo and Xiaomi, on which Screen.brigthness would sometimes return values more than 1.0.
2023.2.0 Android: Fixed shader code generation when using SV_Coverage input.(UUM-26807)
2023.2.0 Android: Fixed the assert 'setpriority(PRIO_PROCESS, 11121, 0) returning -1 when it runs against GameActivity.(UUM-26765)
2023.2.0 Android: Fixed the Back button press when using Handheld.PlayFullScreenMovie on Android, so you are no longer unable to exit the VideoPlayer until it finishes playing.(UUM-33468)
2023.2.0 Android: Fixed the Backspace key not working on ChromeOS with GameActivity by updating game activity package to version 2.0.0.(UUM-31081)
2023.2.0 Android: Fixed the escaped double quotes when using SetAdditionalIl2CppArgs.(UUM-25447)
2023.2.0 Android: Fixed the Gradle build failing on Mac when it’s placed in a folder name that contains parentheses, if Optimized Frame Pacing or GameActivity is enabled.(UUM-25255)
2023.2.0 Android: Fixed the plugin path resolving for GameActivity.(UUM-19908)
2023.2.0 Android: Fixed the preferred install location setting so it now works and it no longer sets to preferExternal.(UUM-25965)
2023.2.0 Android: Fixed the Time.deltaTime values so they are now stable on Android devices.(UUM-10244)
2023.2.0 Android: Fixed the Troubleshooting button URL upon Gradle error.(UUM-30719)
2023.2.0 Android: Fixed the JNI:GetInternetReachability exception so that it no longer occurs when using APIs like Application.internetReachability when running with GameActivity.(UUM-42522)
2023.2.0 Android: Fixed the updateUnityCommandLineArguments call in UnityPlayerGameActivity.java. This change fixes how command line arguments pass to the Unity Player.(UUM-33085)
2023.2.0 Android: Fixed Unity allocator crash when forcing -systemallocator on ARM64 based devices with Android 10/11 or higher.(UUM-40105)
2023.2.0 Android: Fixed unpatched activity tags in AndroidManifest.(UUM-40774)
2023.2.0 Android: Fixed APP_CMD_WINDOW_INSETS_CHANGED callback so it now reports correctly for GameActivity when soft keyboard is opened/closed.(UUM-47094)
2023.2.0 Android: Fixed getMethodID failure on certain Android devices.(UUM-31912)
2023.2.0 Android: Fixed Screen.SetResolution when using split-screen and Screen.orientation changes.(UUM-19019)
2023.2.0 Android: Modified the new input system to respect the Filter Touches When Obscured Player Setting.(UUM-31555)
2023.2.0 Android: Removed OPENGLES uses-feature element in the AndroidManifest of the exported project when not selected in Player Settings.(UUM-32676)
2023.2.0 Android: Removed screen with a centered app icon that displayed before the splash screen.(UUM-41488)
2023.2.0 Android: Replaced DIR_UNITYPROJECT in settingsTemplate.gradle.(UUM-27090)
2023.2.0 Android: Updated Adaptive Performance Google Android package to version 1.1.2.
2023.2.0 Android: Updated Game Activity package to version 2.0.2. This fixes issues with touch historical values.(UUM-28563)
2023.2.0 Android: Updated the text input field to appear and disappear with the Enter key.(UUM-30811)
2023.2.0 Android: Updated GetDeviceName() API to support SystemInfo.deviceName on Android API Level 32 or higher.(UUM-32514)
2023.1.19 Android: Further fix Screen.brightness setter on Xiaomi phones with Android 11 or higher. The minimum screen brightness value will be capped at 0.04, since setting this value lower would default to system brightness setting.(UUM-47926)
2023.1.19 Android: Screen.brigthness getter will adjust logarithmic scale for Android Pie or higher.(UUM-48141)
2023.1.18 Android: Fixed an issue where the preserved screen was displayed when using swipe for pop-up view.(UUM-48173)
2023.1.17 Android: APPCMDWINDOWINSETSCHANGED will be correctly reported for GameActivity, when soft keyboard is opened/closed.(UUM-47094)
2023.1.17 Android: Corrected set sensor name and vendor when reporting to the input system package. Previously only sensor type was being reported, while name and vendor were empty strings.(UUM-47130)
2023.1.17 Android: Show the last rendered frame when the application come back from the pause state.(UUM-30881)
2023.1.15 Android: Fixed a potential race condition during pause routine, which would cause application to accidentally quit instead of pausing.(UUM-30732)
2023.1.15 Android: Fixed background color when rendering over native UI.(UUM-32877)
2023.1.14 Android: Fixed Input.multiTouchEnabled setter when it’s called before any touch event, previously such values would be disregarded since internally there was no touch device available for multiTouch to set to.(UUM-47104)
2023.1.14 Android: Fixed locations of unaligned load/stores on 32-bit Android.(UUM-46550)
2023.1.14 Android: Removed screen with centred app icon before the splash screen.(UUM-41488)
2023.1.13 Android: Fixed a bug related to the “Mute Other Audio Sources” player setting on Android. There were two cases where another app’s audio might not get muted when it should be. This could happen if the other app was started before the Unity app or if the other app was played via the Android “quick panel” after the Unity app was started.(UUM-37753)
2023.1.13 Android: Fixed AndroidJavaProxy not always finding over private methods.(UUM-44752)
2023.1.11 Android: Fixed custom keystore creation via the keystore manager.(UUM-46300)
2023.1.8 Android: Fixed an issue where Android build system was asking for an API level that didn’t exist.(UUM-40891)
2023.1.8 Android: Fixed JNI:GetInternetReachability exception while using APIs like Application.internetReachability when running with GameActivity.(UUM-42522)
2023.1.8 Android: On closing the touch screen keyboard TouchScreenKeyboard.hideInput is set to true.(UUM-39642)
2023.1.8 Android: Upgraded BouncyCastle from version 1.47 to 1.70 to fix security vulnerabilities.(UUM-13774)
2023.1.7 Android: Fixed getMethodID failure on some android version.(UUM-31912)
2023.1.7 Android: Fixed unpatched activity tags in AndroidManifest.(UUM-40774)
2023.1.5 Android: AndroidJavaProxy correctly maps null variables (e.g empty string) for reflection search + automatic tests for AndroidJavaProxy.(UUM-30243)
2023.1.5 Android: Fixed an issue where pause was not processed when onPause() is called right after onResume() is called.(UUM-23247)
2023.1.5 Android: Fixed crash when using Optimized Frame Pacing combined with Vulkan native rendering plugins.(UUM-36096)
2023.1.4 Android: Fixed GPU skinning on remaining Adreno devices.(UUM-20108)
2023.1.3 Android: Fixed Unity allocator crash when forcing -systemallocator on ARM64 with Android 10/11 or higher.(UUM-40105)
2023.1.2 Android: Bump Game Activity package to 2.0.2, it fixes issues with touch historical values.(UUM-28563)
2023.1.2 Android: Updated that the text inputfield to appear and disappear with the “Enter” key.(UUM-30811)
2023.1.0 Android: Added build_fingerprint information to Android builds.
2023.1.0 Android: Added Gradle Files Upgrader tool to upgrade user templates to a C# script that uses the Android Project Files API.
2023.1.0 Android: Added Texture Compression targeting support.
2023.1.0 Android: Enabled adding device using IP address for Chrome OS Build & Run Support.
2023.1.0 Android: Implemented new GameActivity application model (previously you could only target Activity). Refer to the Manual for more details or refer to Android documentation on https://developer.android.com/games/agdk/integrate-game-activity.
2023.1.0 Android: Introduce new reportFullyDrawn API to be called on app startup automatically, or manually via script.
2023.1.0 Android: Added Application Entry information to unityLibrary\src\main\resources\META-INF\com.android.games.engine.build_fingerprint.
2023.1.0 Android: Added comments in manifest templates regarding which activities should be used.
2023.1.0 Android: Added information about Android Gradle Plugin versions in the Android documentation.
2023.1.0 Android: Application.memoryUsageChanged is now powered by https://developer.android.com/games/sdk/memory-advice/start.
2023.1.0 Android: Cleaned up redundant code.
2023.1.0 Android: Enabled printing of Device Model, Operating System, Device API Level, Min API Level, Target API Level when app starts.
2023.1.0 Android: Improved an error message in a corner case when tyring to build Android app after removing valid NDK tools.
2023.1.0 Android: Improved AndroidJavaObject calls with a lot of object parameters or returns (like arrays of strings), now they are a bit faster.
2023.1.0 Android: Specified Frame Pacing Library as a Gradle build dependency to make it easier to update to new versions.
2023.1.0 Android: Specified Frame Pacing Library as a Gradle build dependency to make it easier to update to new versions.
2023.1.0 Android: Added: Added Android Project Configuration Manager API. This API is a set of classes that represents and allows to modify as well as add new Gradle project files in C#.
2023.1.0 Android: Added: Added new method Permission.ShouldShowRequestPermissionRationale, informing whether UI should be show explaining why application needs a particular permission.
2023.1.0 Android: Added: Added PlayerSettings.Android.applicationEntry for application entry selection.
2023.1.0 Android: Added: Added UnityEditor.Android.Gradle.Dependencies.GetEngineGradleDependencies which returns the list of dependencies which will be used when producing gradle project.
2023.1.0 Android: Added: Expose UnityPlayer.invokeOnMainThread, a helper function for delegating callbacks on game loop thread.
2023.1.0 Android: Added: Expose UnityPlayer.runningOnMainThread in java.
2023.1.0 Android: Added: Introduced GameMode property to access Android getGameMode API.
2023.1.0 Android: Added: Introduced SetGameState method to access Android setGameState API.
2023.1.0 Android: Changed: Deprecate TouchScreenKeyboard.Android.consumesOutsideTouches API.
2023.1.0 Android: Changed: Updated SupportsAccelerometer() API to return whether a device has an accelerometer sensor or not.
2023.1.0 Android: Obsoleted: PlayerSettings.Android.minifyWithR8 is obsolete now. Setting it has no effect and it always returns true.
2023.1.0 Android: Added support for Android SDK 31 and 33.
2023.1.0 Android: Android SDK must have cmdline-tools component installed now. Unity will ignore tools component.
2023.1.0 Android: Changed the default scripting backend to IL2CPP for new projects. Existing projects will not be impacted.
2023.1.0 Android: Default gradle templates have changed significantly with new Gradle and AGP versions. Gradle templates in existing projects will have to be recreated based on new default templates when upgrading projects created with previous Unity versions.
2023.1.0 Android: JDK 11 is required now to build Android apps.
2023.1.0 Android: Modified FrameLayout so you can call getFrameLayout function on UnityPlayer instance if you need access to frame layout. UnityPlayer/UnityPlayerForActivityOrService no longer derives from FrameLayout.
2023.1.0 Android: Modified the input device listener so it now processes the callback on the UI thread. The callbacks were previously being processed in Unity’s main thread but this is incompatible with the GameActivity setup, where Java looper is not present on Unity’s main thread.
2023.1.0 Android: Removed a validation error which checks if activities specified in manifest are present as java files. Activities can be implemented in jar files, so Unity is unable to check that.
2023.1.0 Android: Removed editor UI option which allowed to choose between R8 and Proguard tools to minify code. New AGP version doesn’t have an option to minify using proguard. Instead R8 is always used.
2023.1.0 Android: Reverted Updated Optimized Frame Pacing feature to use v1.10 of Android Frame Pacing Library.
2023.1.0 Android: Unity Now uses Android Gradle Plugin 7.1.2 by default.
2023.1.0 Android: Unity Now uses Gradle 7.2 by default.
2023.1.0 Android: Updated CMake to version 3.22.1.
2023.1.0 Android: Updated Optimized Frame Pacing feature to use v1.10 of Android Frame Pacing Library.
2023.1.0 Android: Updated Optimized Frame Pacing feature to use v1.10 of Android Frame Pacing Library.
2023.1.0 Android: Upgraded to Android Gradle Plugin 7.3.1, Gradle 7.6 and Kotlin Gradle Plugin 1.7.22.
2023.1.0 Android: Added support for Android’s AAudio engine, so on Android 8.1 and later, Unity Audio is now layered over AAudio. This fixes 4 audio bugs, related to built-in stereo speaker output, built-in vs. Bluetooth microphone selection, Microphone.Start and Microphone.Stop CPU spikes, and low-latency audio output.(UUM-3727, UUM-3732, UUM-3745, UUM-3746)
2023.1.0 Android: Added upgrade guide information about mainTemplate.gradle file changes.(UUM-32805)
2023.1.0 Android: Added warning messages when AndroidManifest.xml from the Plugin has duplicated elements with UnityPlayerSettings.(UUM-27274)
2023.1.0 Android: Allow different maximum MSAA samples count for different graphics formats.(UUM-25096)
2023.1.0 Android: Avoid a redundant empty render pass to the backbuffer when using Vulkan on Android.(UUM-32298)
2023.1.0 Android: Avoid an error generated by the Vulkan loader on Android when trying to load vkGetPhysicalDeviceFragmentShadingRatesKHR as Vulkan device function.
2023.1.0 Android: Disabled --fastdeploy during application installation, since in some cases it doesn’t work correctly.(UUM-28376)
2023.1.0 Android: Filter some redundant warnings on some Adreno devices that cause severe performance issues in development builds.
2023.1.0 Android: Fix Screen.safeArea calculations(UUM-3972)
2023.1.0 Android: Fixed ‘back button’ press on VideoPlayer.(UUM-33468)
2023.1.0 Android: Fixed a bug when building with IL2CPP and scaler types getting stripped out.
2023.1.0 Android: Fixed a bug with manual lifetime tests failing occasionally.
2023.1.0 Android: Fixed a bug with scaler not being initialized with settings from the Editor UI properly when using profiles.
2023.1.0 Android: Fixed a bug with test provider and settings showing up in Project Settings.
2023.1.0 Android: Fixed a performance issue caused by redundant depth/stencil stores on some Adreno OpenGL ES drivers.(1429210)
2023.1.0 Android: Fixed a possible crash on many PowerVR based devices.(UUM-7782)
2023.1.0 Android: Fixed a rare crash during Application.Quit call.
2023.1.0 Android: Fixed a sporadic crash on screen rotation when Optimized Frame Pacing was enabled.(UUM-5790)
2023.1.0 Android: Fixed an Android audio crash when targeting API Level 31 and running on an Android 12 device. Also fixed an AudioManager.GetStreamVolume exception when targeting API Level 29 or later, which caused the AudioSettings.Mobile.stopAudioOutputOnMute feature to not work correctly, if enabled.(UUM-5652)
2023.1.0 Android: Fixed an incorrect aspect ration when the phone was in landscape mode, “Apply display rotation during rendering” was enabled and URP post processing was used with Vulkan.(UUM-5653)
2023.1.0 Android: Fixed an incorrect value of Android/Vulkan specific shader constant UNITYDISPLAYORIENTATION_PRETRANSFORM when “Apply display rotation during rendering” was enabled.(UUM-5654)
2023.1.0 Android: Fixed an issue that a build will fail if custom asset pack does not have a valid structure.(UUM-25501)
2023.1.0 Android: Fixed an issue that Unity warns cmdline-tools version being 0.0 when the component is actually installed.
2023.1.0 Android: Fixed an issue to correctly replace DIR_UNITYPROJECT in settingsTemplate.gradle.(UUM-27090)
2023.1.0 Android: Fixed an issue where executing Android SDK tool command would fail with missing java error. For ex., “Unable to locate a Java Runtime”. Even though everything is set correctly in Preferences->External Tools->JDK. Also during the failure, Unity will now print environment variables thus helping identifying such issues in the future.(UUM-2106)
2023.1.0 Android: Fixed an issue where Gradle templates upgrader wouldn’t parse a custom element if it had the same name as a default element.
2023.1.0 Android: Fixed an issue where the Accelerometer values are not updated when the ASENSORTYPELINEAR_ACCELERATION sensor is disabled on certain Samsung devices.(UUM-20754)
2023.1.0 Android: Fixed an issue with Manifests templates upgrader when parsing Attribute that contains an array.
2023.1.0 Android: Fixed an issue with Manifests templates upgrader where it failed to convert if the original manifest template changed an activity which was not enabled (e.g. GameActivity selected, but the template changed Activity).
2023.1.0 Android: Fixed an overhead of memory allocations in the Vulkan backend issue for allocation sizes between 128kB and 1024kB.(UUM-5966)
2023.1.0 Android: Fixed crash during low memory kill.(1423456)
2023.1.0 Android: Fixed crash when creating pipeline objects for some URP Lit shader on some older Adreno drivers.(UUM-3650)
2023.1.0 Android: Fixed errors on new InputSystem when using mouse clicks on Samsung Dex.(UUM-19038)
2023.1.0 Android: Fixed frame debugger crash when using mono scripting on Android.(UUM-14632)
2023.1.0 Android: Fixed orientation issues in laptop mode and tablet mode on Chromebooks.(UUM-782)
2023.1.0 Android: Fixed Patch (/And Run) failing on some Android 12 devices with “Permission Denied” or “No such file or directory”.(1422895)
2023.1.0 Android: Fixed regression where TouchScreenKeyboard.Open() was not opening.(UUM-2112)
2023.1.0 Android: Fixed Screen.SetResolution when using split-screen and Screen.orientation changes.(UUM-19019)
2023.1.0 Android: Fixed shader code generation when using SV_Coverage input.(UUM-26807)
2023.1.0 Android: Fixed Strip Engine Code information printing for unhandled java exceptions.(UUM-585)
2023.1.0 Android: Fixed Templates Upgrader not resolving dependencies correctly if an element was inserted in between two existing elements.
2023.1.0 Android: Fixed the Troubleshooting button URL upon gradle error.(UUM-30719)
2023.1.0 Android: Fixed Time.deltaTime values not being stable on Android devices.(UUM-10244)
2023.1.0 Android: Removed OPENGLES uses-feature element in AndroidManifest of the exported project when not selected in Player Settings.(UUM-32676)
2023.1.0 Android: Removed wrapping of native crashes into java exceptions, so Unity now correctly forwards signal to previous handlers. Refer to Handle Android crashes.(UUM-9458)
2023.1.0 Android: Set id for mSurfaceView in UnityPlayerGameActivity.java before initializing Unity runtime, in case we have an early access to this class.
2023.1.0 Android: Temporarily disable input history events for GameActivity, due known bug in game activity package 2.0.0 and lower. Since reading history data currently crashes the app sometimes or data is incorrect.
2023.1.0 Android: The ‘Filter Touches When Obscured’ Player Setting is now respected by the new input system.(UUM-31555)
2023.1.0 Android: Unlock image set on each lock rather than only on the first.(UUM-21954)
2023.1.0 Android: Updated GetDeviceName() API to support SystemInfo.deviceName on API Level 32 or higher.(UUM-32514)
2023.1.0 Error: The following errors were found when trying to parse the release notes of this PR:Unexpected ‘POI-467’ in ‘Feature POI-467 @youngkyoung-kim:\nAndroid: Chrome OS Build & Run Support - Add device using IP address’.