Unity 2021.2.19

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.2.19f1

  • Progressive Lightmapper: [GPU PLM] Crash due to out of bounds access violation in PowerSampling after enabling auto mode at the end of bake on AMD GPU (1379762)

2021.2.19f1 Release Notes

Features

  • Version Control: Added checkout option in scene prefab view.

API Changes

  • 2D: Added: Added Tilemap.GetTilesBlockNonAlloc API.

Changes

  • Version Control: Updated file overlay icon size to adapt to project window zoom level.

  • Version Control: Updated the styling of number of items in a category in Gluon incoming changes view.

Fixes

  • Android: Fixed an issue where add PlayCore dependency was added to build.gradle file if it was already added to the project as an .aar file. (1374774)

  • Build Pipeline: Fixed an issue where BuildPlayerOptions.assetBundleManifestPath to be used when building player was not allowed. (1399616)

  • Burst: Fixed a bug when calling profiling CreateMarker on iOS, Burst could fail at runtime saying it was unable to find CreateMarker__Unmanaged.

  • Burst: Fixed a issue where burst was enabled in secondary Unity processes, including the asset import worker and out-of-process profiler (see changelog entry for 1.6.0-pre.1 for more context around this).

  • Burst: Fixed an access violation error that could occur when reading from a static readonly variable.

  • Burst: Fixed an exception that could occur if you had the Burst AOT Settings menu docked in the Editor, and then did a player build. Trying to change any of the Burst AOT Settings would throw an exception (unless you closed and reopened the Burst AOT Settings).

  • Burst: Fixed an issue where codegen differences could occur when using a local vector variable that was being captured by reference and passed to a called function, versus when it wasn't.

  • Burst: Fixed an issue where if there were two generic structs overlapping at the same FieldOffset in an explicitly laid out struct, a codegen error would occur.

  • Burst: Fixed an issue where if you used FloatMode.Fast with math.pow, where the y argument to math.pow was actually sourced from an integer, illegal codegen would be generated (LLVM would try and call out to powf from the cstdlib).

  • Burst: Fixed another rare case of the file-is-locked bug where the Burst IL Post Processor could incorrectly hold a file lock on a pdb.

  • Burst: Fixed errors when working with paths containing special characters.

  • Burst: Fixed the Burst link.xml output to preserve C# methods we rely on, alongside the static constructors that we preserved previously.

  • Burst: Improved UWP linker error message to clarify which VS components need to be installed for UWP.

  • Burst: Made --burst-force-sync-compilation command-line option actually work.

  • Editor: Fixed a NullReference when showing UnityEvent popup and the GameObject contained a component with a missing script. (1388739)

  • Graphics: Fixed a hang on repeated calls to GraphicsBuffer.CopyCount,. (1353308)

  • Graphics: Fixed an issue where uniforms in ray tracing hit shaders that were not set by the user would cause wrong uniform values in other hit shaders. (1407052)

  • Graphics: Improved to CullScene performance; in large scenes (10000+ Renderers) this can halve the time spent in CullScene. (1399880)

  • IL2CPP: Fixed an issue in which using PlayerSettings.SetAdditionalIl2CppArgs was set to multiple arguments would not work. (1379270)

  • Linux: Fixed "Project Setttings" and other menu items being disabled after a script recompliation. (1380015)

  • Mono: Fixed an issue where the mono executable would be run via rosetta instead of natively on apple silicon. (1379951)

  • Profiler: Fixed an issue where Custom Profiler categories were not enabled as required by the Profiler window when used in one or more modules.. (1367356)

  • Shaders: Fixed an issue where HLSLcc was not using half precision temps when multiple half precision sample instructions targeted the same temp register. (1383901)

  • UI Toolkit: Fixed an invisible VisualElement with UsageHints.GroupTransform set would not apply its transform to its visible descendants. (1402057)

  • UI Toolkit: Fixed an issue where there was a reduction of GPU performance of the UIToolkit shader. (1361737)

  • URP: Fixed an intermediate texture mode SSAO compatibility issue and updated default intermediate texture mode to always.

  • Version Control: Fixed a toolbar icon issue that was not displaying incoming change notifications when the Plastic window was closed.

  • Version Control: Fixed an error when trying to invite members to proect.

  • Version Control: Fixed an issue where there were editor unhandled errors being hijacked by the plugin.

  • Version Control: Fixed Plastic X not opening from plugin menu.

  • Version Control: Fixed VCCache::instance != NULL error when opening a project with Plastic window opened.

  • Web: Fixed an issue where UnityLoader.js macOS string was not updated to match the string SystemInfo.cpp checks against. (1375632)

  • WebGL: Fixed an issue where there was guarding of "User-Agent" header in UnityWebRequest API. (1287962)

  • WebGL: Fixed an issue where UnityWebRequest redirectLimit for WebGL platform was not implemented. (1352501)

  • WebGL: Fixed an issue wherw request url after a redirect was not updated. (1360290)

Package changes in 2021.2.19f1

Packages updated

Changeset:
602ecdbb2fb0

Third Party Notices

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

Usamos cookies para garantir a melhor experiência no nosso site. Visite nossa página da política de cookies para obter mais informações.

Eu entendi