Unity 2021.1.18

Released:
Select the runtime platforms of your choice from the list below (the desktop runtime is included as standard) or, to install the full complement of runtime platforms, use the download assistant installer above.
New to Unity? Get started

Known Issues in 2021.1.18f1

  • Ads: [Android] Unity Ad return app to Lock screen (1281041)

  • Asset Import Pipeline: Editor crashes with out of memory while importing a lot of assets (mostly textures) at once, on Windows/DX11 (1324536)

  • Asset Importers: Editor crashes on UnityEditor.Unsupported:IsDestroyScriptableObject when applying changes to a custom asset (1353925)

  • Asset Importers: [MacOS] Second Unity instance in Activity Monitor is "not responding” after importing (1331736)

  • Audio: Crash on AudioCustomFilter::GetOrCreateDSP when recompiling scripts while in Play Mode (1354002)

  • Audio: Crash on AudioMixer_CUSTOM_FindSnapshot when passing null as an argument to FindSnapshot() (1341752)

  • Global Illumination: Crash while sculpting Terrain and Baking Lightmaps (1266511)

  • Global Illumination: [Enlighten] Fatal Error when closing the Editor while Generating Lighting (1354238)

  • Global Illumination: [LightProbes] Probes lose their lighting data after entering Play mode when Baked and Realtime GI are enabled (1052045)

  • Input: Input.GetKey does not trigger when the mouse cursor is outside the Game window (1358134)

  • Linux: Crash on DisableSubMenu when double clicking to close a context menu (1347655)

  • Linux: Linux Editor crashes at "_XFreeX11XCBStructure" when loading tutorials (1323204)

  • Metal: Performance in Game View is significantly impacted by Gfx.WaitForPresentOnGfxThread when a second monitor is connected (1327408)

  • Mobile: [Android] App stops due to OnPixelCopyFinishedListener not being supported on devices with lower than 24 SDK (1331290)

  • Mobile: [Android] Using TouchScreenKeyboard.Open with a non-empty placeholder multiple times causes the app to crash (1347370)

  • Mono: [Mono Upgrade] CommandBuffer native plugin events hang in the Editor (1308216)

  • Packman: User can't easily configure location of both UPM and Asset Store package local cache (1317232)

  • Scene Management: Crash on BuildPrefabInstanceCorrespondingObjectMap when overriding nested prefab inside AssetDatabase.StartAssetEditing() block (1324978)

  • Scripting: Crashes on mono_class_init when entering Play Mode after recompiling scripts (1262671)

  • Scripting: DomainReloadTests performance tests have regressed due to removal of built-in support for Visual Studio as a code editor (1336648)

  • Scripting: Error CS8035 is thrown on opening a project when using rulesets (1349517)

  • Scripting: Increased Script Assembly reload time (1323490)

  • Scripting: Only some assemblies fail to be loaded when assembly name does not match the file name (1345099)

  • Scripting: Performance degradation when activating or deactivating uGUI GameObject (1348763)

  • Scripting: Unity does not execute code weavers when the project is opened for the first time (1350116)

  • Terrain: Terrain Lit Opacity as Density option causes alpha'd areas on the 5th layer or greater to appear with artifacts (1283124)

  • Vulkan: [Editor] The Scene's GameObjects textures are seemingly random and change colours depending on the Scene's Camera pos. (1337772)

2021.1.18f1 Release Notes

Features

  • Android: Adding support for Multi-window environments in Android applications. This include Split Screen, popup windows and freeform windowing.

Improvements

  • 2D: Improved performance of RuleTile caching

  • Android: Added boot-config/command-line switch "platform-android-cpucapacity-threshold" that can be used to specify which CPU cores are treated as big cores. The cpu capacity is a value in the range between 0 and 1024. A capacity value of 870 yields the same behavior as before the fix for case 1349057.

  • Asset Import: Improved loading performances of import settings for models with a lot of animation clips. (1338096)

  • Editor: UnityEvent callbacks can be reordered

API Changes

  • Asset Bundles: Added: Added public API to specify the amount of memory reserved for the shared AssetBundle loading cache.

  • Asset Bundles: Added: Adding new API DownloadHandlerAssetBundle.autoLoadAssetBundle for loading AssetBundles asynchronously from DownloadHandlerAssetBundle.

  • XR: Added: Added IUnityGraphicsVulkanV2 plugin interface to add support for chaining vulkan initialization intercepts. (1349908)

Changes

  • 2D: Allow non-public fields with the SerializeField attribute as custom fields for RuleTile

  • Package: com.unity.purchasing updated to 3.2.3. Please refer to the package changelog online here: https://docs.unity3d.com/Packages/com.unity.purchasing@3.2/changelog/CHANGELOG.html

  • XR: The Oculus XR Plugin package has been updated to 1.10.0.

  • XR: Unity 2020 LTS will be the last version of the editor which supports Magic Leap 1 Developers can continue to build for Magic Leap 1 using Unity 2020 LTS or 2019 LTS.

Fixes

  • 2D: Fixed an exception when adding a new Rule when no Rule was selected.

  • 2D: Fixed an issue where clear buffer was executed out of order. (1292637)

  • 2D: Fixed an issue where IKManager2D did not detect classes inheritted from Solver2D. (1343260)

  • 2D: Fixed dynamic batching issue when Sprite Renderers and Tilemap Renderers in Individual mode whose batching parameters should match in runtime platforms. (1348082)

  • Android: Fixed a detection issue of big cores on Snapdragon 865 and Snapdragon 888 SoCs. (1349057)

  • Android: Fixed a long startup on Mali GPUs issue when frame timing stats was enabled. (1316285)

  • Android: Fixed an issue where a user would have stale touches present after touching the screen with multiple fingers. Previously Unity was incorrectly handling MotionEvent ACTION_CANCEL event, and was only canceling one touch, where in reality all touches must be canceled. (1335140)

  • Asset Pipeline: Fixed an issue where duplicating folders and assets did not invoke the OnWillCreateAsset callbacks on the duplicated items. (949423)

  • Asset Pipeline: Fixed an issue with OnPostProcessAllAsset listing unchanged assets as imported, when leaving safe mode. (1335729)

  • Editor: Fixed an issue where changes from the shader files were note propagated correctly due to keyword Enums not being excluded from the caching in the material inspector. (1176077)

  • Editor: Fixed an issue where SerializedObject.hasModifiedProperties was returning false after modifying reorderable array element values. (1328336)

  • Editor: Fixed an issue where the tooltips for the labels were placed at a fixed position. They now appear at the mouse cursor. (1332686)

  • Editor: [macOS | Linux | WebGL] Fixed an issue where Application.systemLanguage returned "Unknown" when system language was set to Norwegian Bokmal and Nynorsk. These were add in SystemInfo for macOS and Linux, and to SystemInfo in Runtime/Misc used by WebGL and MetroPlayer. (1288528)

  • Editor: [macOS | Linux] Fixed an issue where basic system information was not logged to the log file when launching the Editor. (1325370)

  • GI: Fixed an Editor crash on EnlightenSceneMapping::GetTerrainChunkUVST when loading a scene with a corrupt Lighting Data Asset. (1325758)

  • Graphics: Fixed a crash that was caused by a memory error when using Vulkan. (1352796)

  • Graphics: Fixed an issue where ImageConversion.LoadImage and Texture2D.LoadImage always returned true even in case of a failure. (1336892)

  • Graphics: Fixed various Store Actions setup issues. (1327395)

  • iOS: Fixed a crash when going to the background, after switching from autorotation to a fixed orientation. (1326238)

  • iOS: Fixed a crash when using external display connected with USB-C. (1321153)

  • iOS: Fixed an issue where the video became unplayable after resuming an app when video's audio output mode was set to API Only. (1330901)

  • macOS: Fixed a crash when attempting to use bluetooth from native plugin instead of crashing. Unity Editor now asks for bluetooth permission. Added "Bluetooth usage description" field to macOS player settings which is displayed in the player when asking for bluetooth. (1321219)

  • macOS: Fixed an issue where the usage description fields for macOS in player settings was not visible on Windows and Linux editors. (1323741)

  • Package Manager: Fixed an issue where the user could not view their assets in package manager (error 400) error. (1330334)

  • Particles: Fixed a corrupt particle colors issue when using a Skinned Mesh Renderer in the Shape Module. (1332410)

  • Particles: Fixed a pivot setting for Horizontal and Vertical billboard render modes issue. (1291175)

  • Prefabs: Fixed a cannot move/rotate/scale static objects issue in Prefab Mode when playing. (1343040)

  • Scripting: Fixed an issue of missing details in the sharing violation errors that happened when the Script Compilation pipeline copied assembly to their target directories. (1308323)

  • Scripting: Fixed an issue where double-clicking in some cases would not open the correct line. (1300479)

  • Scripting: Fixed an issue where there where empty lines between logs being logged when logging errors, warning or messages. The editor no longer prints newlines for Debug.Log* variants when StackTrace set to 'None'. (1332622)

  • Scripting: Fixed globalgamemanagers.assets to only contain scripts that will be part of the player builds (1335997)

  • Serialization: Fixed an issue where UnityEvent did not correctly populate the function drop down list when used with polymorphic serialization. (1314770)

  • Shaders: Fixed an issue where Shader keywords were not sorted in the error and warning messages that came from the shader compiler. (1348741)

  • Shaders: Fixed an issue where the caching preprocessor report did not include dependencies in raw GLSL shaders. (1335707)

  • Shaders: Fixed an issue where the Properties section could not be folded in the Shader Inspector. (1350236)

  • uGUI: Fixed an issue when a canvas was created manually by the user for a Template element (inside Dropdown), Sorting Layer was over written. (1343542)

  • UI Toolkit: Fixed a corruption issue of the stencil buffer caused by misplaced geometry used to pop masks. (1332741)

  • UI Toolkit: Fixed an issue where the Toolbar turned white when loading certain native plugins. (1335430)

  • Universal Windows Platform: Fixed a crash in master builds when a scene that uses lightmaps was unloaded. (1332318)

  • Video: Fixed an issue where the VideoPlayer did not work on some AMD switchable GPUs. (1237818)

  • WebGL: Fixed an error with prevViewport when full screen resized.

  • WebGL: Fixed an issue where gamepad stick Y being inverted. (1336005)

  • Windows: Fixed an issue where IME composition text duplicated between InputFields due to an issue in 3rd party Chinese IMEs. (977600)

  • Windows: Fixed an issue where the Input System failed to detect gamepad if it was connected during splash screen logos. (1328742)

  • Windows: Fixed an issue where the Input System failed to detect touchscreen devices that were connected after startup. (1305703)

  • Windows: Fixed an issue where the mouse deltas was always 0 when running Windows in a VM. (1303445)

Changeset:
25bdc3efbc2d

Third Party Notices

For more information please see our Open Source Software Licenses FAQ on the Unity Support Portal

We use cookies to ensure that we give you the best experience on our website. Visit our cookie policy page for more information.

Got it