Unity 2021.2.13

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

  • Asset - Database: Texture size increased on first build when 'Compress Textures/Assets on Import' is enabled (1397965)

  • Asset Bundles: Asset Bundle size incrementally increases when updating the Unity Editor and rebuilding the Asset Bundle (1391542)

  • Hub: [M1][IL2CPP] Unity spawns Intel clang processes when building with Silicon Editor (1392604)

  • IMGUI: CPU and GPU usage goes up when a tooltip pops up (1401912)

  • Linux: Player settings and other options are locked after script compilation (1380015)

  • Linux: Editor crashes at "RegisterRuntimeInitializeAndCleanup::ExecuteCleanup()" when quitting from "Enter Safe Mode" prompt [Linux] (1374087)

  • MacOS: On Mac Unity Editor crashes when docking one EditorWindow to the side of a docked window (1397003)

  • Metal: Consistent EditorLoop 5-10ms spikes when using Metal API (1378985)

  • Metal: Editor crashes on BufferMetal::IsBusy after opening a Scene (1405248)

  • Mono: Editor crashes when coming back from Sleep mode (1395629)

  • Progressive Lightmapper: [GPU PLM] Crash after enabling Auto at the end of Bake - OpenCLRenderLightmapBuffers.HasBakingBuffers() (1389093)

  • 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)

  • Scene Management: Crash with "Transform::InitializeTransformHierarchyRecursive" when using undo after swapping Prefabs (1400170)

  • Scene/Game View: Camera resolution is set to default when opening the Editor (1378321)

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

  • Shadows/Lights: Scene is brighter in Standalone player if it was open in the Editor at build time (1375015)

  • Terrain: Material keyword APIs don't list keywords when using a newly imported SpeedTree (1398133)

  • uGUI: Extra OnEnter and OnExit event calls when hovering over UI elements (1394226)

  • uGUI: Prefab is glitchy while editing in Prefab Mode when parent Canvas Render Mode is set to Screen Space - Camera (1394756)

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

  • Vulkan: [HDRP] [Vulkan] Crash on vk::DataBuffer::CreateResource on opening Shader Graph Sample Project with Vulkan API (1225488)

  • XR SDK: [XR][Linux] Scene View doesn't render when opening new AR or VR Template project or pressing "Show Tutorials" (1362435)

2021.2.13f1 Release Notes

Improvements

  • Scripting: Improved AssemblyUpdater to not try to connect to VCS unless there assemblies under VCS that needs updating. (1353761)

  • Scripting: Improved invalid ApiUpdater configs detection.

  • UI Toolkit: Refactored UI Builder's asset modification processor's OnWillSaveAssets() callback to save changes automatically on the Save and Save Project global commands.

  • UI Toolkit: Removed the Cmd+S handler code since it's not need to handle that separately anymore. Also removed the associated (and unused) OnSaveDocument callback.

  • UI Toolkit: Save operation is properly skipped on the Duplicate command which, unfortunately, also uses the (same) asset modification processor callback.

API Changes

  • Shaders: Added: Pass.CompileVariant API now has an option to generate shader data for use by external tools. (1371640)

Changes

  • Android: Stop trimming text input which bring it to parity between Android and iOS.

Fixes

  • AI: Fixed an issue where the NavMesh obstacle carving caused narrow gaps in the NavMesh. (1363972)

  • Android: Fixed a black screen issue when resuming application with native dialog present. (1361532)

  • Android: Fixed Oculus on-screen keyboard status when not enabled in manifest. (1361663)

  • Asset Bundles: Fixed an issue where if a file or meta was copied on disk or rename the asset bundle name was not preserved. (1385129)

  • Asset Bundles: Fixed building when a bundle of the same name as built by script already exists. (1389005)

  • Asset Import: Fixed an issue where Strip Bones" was not enabled as the default for new assets. (1386538)

  • Asset Pipeline: Fixed an issue where generating previews for scenes could sometimes block saving asset until finished. (1330504)

  • Asset Pipeline: Fixed an issue with the licence for asset import workers in parallel import, which could cause platform-specific texture compression to fail. (1387039)

  • Editor: Changed to Screen class in Device Simulator are now delayed by one frame. (1372644)

  • Graphics: Fixed Brief garbage frame after changing resolution on Metal by ensuring that the recreated surface on size change doesn't dispose of its previously rendered contents. (1383853)

  • iOS: Fixed an issue where TouchScreenKeyboard.selection was being reverted when keyboard animates. (1381968)

  • Kernel: Fixed an invalid "System is running out of memory" error on macOS M1 laptops. (1386242)

  • macOS: Fixed an issue where UnityEngine.SystemInfo.processorFrequency returned 0 on Apple Silicon. (1396529)

  • Particles: Fixed a memory overwrite when using trails and ringbuffer mode together. (1378274)

  • Physics: Fixed an issue where setting inertia tensor to be equal to zero (infinite) was not enabled. (1394069)

  • Scripting: Fixed a non generic method returning generic type parameter (from declaring type) tha was being skipped. (1310558)

  • Scripting: Fixed a potential AssemblyUpdater assembly corruption if the assembly referenced specific Texture.Resize() overloads. (1374188)

  • Scripting: Fixed an issue where TypeCache.GetDerivedTypesFrom could return duplicate entries. (1369411)

  • Serialization: Fixed a play mode crash when loading asset bundles that contained assets with editor only fields.. This was true only for asset bundles generated after an initial play mode session. (1392141)

  • Shaders: Pragma directives with "_local" suffix that specify shader stage will now generate an error if the stage is specified before the "_local" suffix instead of silently ignoring the directive .altogether. (1388229)

  • uGUI: Fixed an issue when the RectMask2D component would not work properly when used on large images. (1369118)

  • UI Toolkit: Fixed a null reference when an object is dragged into and object field contained in a list view. (1369139)

  • UI Toolkit: Fixed setting Element's Margins to auto in a newly created file completely shrinks the Element and breaks the Inspector. (1336574)

  • UI Toolkit: Fixed usage of the PropertyField when the bound enum uses the InspectorName attribute. (1381528)

  • WebGL: Fixed an issue where the escape of special characters in canvas html id was not added. (1369101)

  • Windows: Fixed an issue where the 32-bit Windows standalone player binaries were not signed with Unity certificate. (1382876)

  • XR: Fixed 2x memory usage on Quest for textures that are created procedurally. (1378571)

  • XR: Fixed a texture memory leak on texture uploads. (1287057)

Package changes in 2021.2.13f1

Packages updated

Changeset:
90b6766da538

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