Unity 2021.2.4

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

  • 2D: Reordering "Sorting Layers" list causes Sprites to reference different Layer names and ID (1376779)

  • AI: NavMesh Agent can not pass through passable area between carving NavMesh Obstacles (1346325)

  • Android: Sometimes text is not rendered when using OpengLES3 on a Xiaomi Redmi9A device. (1347186)

  • Android: * Devices might wake up from sleep when in split screen mode.

    • Chrome OS devices that support tablet mode might not pause apps when they are no longer visible.

    • Some Android devices may experience delayed resolution updates after resizing a window.

    • Minimum window size might not be respected properly on all Android devices.

  • DirectX12: Objects are not lighted in Game view when using SEGI system with Graphics API for Windows set to Direct3D12 (1375746)

  • HD RP: HDRP Template fills the Console with "Shader error...couldn't open include file" messages after building the project (1342989)

  • IMGUI: List Elements in the PropertyField disappear when the window is displayed on the second screen (1371078)

  • Inspector Framework: MonoBehaviour script with an attached Icon disappears when Selecting the Game Object (1379500)

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

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

  • Linux: Linux Editor crashes at "__assert_fail_base.cold" when opening a project (1375312)

  • Linux: [HDRP] Editor crashes when opening HDRP Sample Project (1381237)

  • MacOS: Editor freezes when Vsync is enabled and Game View window is resized on macOS (1375973)

  • MacOS: [OSX][Editor] DirectoryNotFoundException errors appear when a project is created inside a directory with unicode characters (1377915)

  • Progressive Lightmapper: Crash while sculpting Terrain and Baking Lightmaps (1266511)

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

  • Progressive Lightmapper: [GPU PLM] Fallback to CPU PLM in CL_INVALID_MEM_OBJECT after switching light color only and rebaking GI (1356714)

  • Scene Management: Instantiated FBX through code throws error after leaving Play Mode (1363573)

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

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

  • Serialization: [SERIALISATION] Going into play mode does not deserialize the object properly (1383439)

  • ShaderGraph: [General][AssetDB][URP] Adding URP to the project causes reimports of many assets and goes into infinite import loops (1374611)

  • Shadows/Lights: Memory access violation in LightProbesManager when appending LightProbes objects with overlaps twice (1377416)

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

  • Shuriken: [Particles] Inspector breaks and errors are thrown when the Material field is deleted from the Particle System (1379541)

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

  • Window Management: Broken layout stops panels located in the top left corner of the Editor from rendering in the Karting Microgame project (1367783)

  • XR SDK: Severe flickering in Unity 2020.3.21f1 with OpenXR on HL2 (1376203)

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

2021.2.4f1 Release Notes

Improvements

  • Editor: Improved performance of Picking objects in the Scene View.

API Changes

  • Core: Changed: Moved ProfilerStartFrame to Initialization section of scriptable player loop (1363905)

  • Graphics: Added: Added a field to the CullingParameters structure to allow for adjustment to the near clipping plane for shadow clipping - this is independent of the rendering camera near clipping plane.

  • Graphics: Removed: Removed uploadClearedTextureDataAfterCreationFromScript from PlayerSettings as it was not working as intended and will be superseded with a per-texture flag.

  • Windows: Added: UnityEngine.Windows.Input.ForwardRawInput now has a second overload that is usable without enabling unsafe code.

  • XR: Added: Support for late latched previous view matrix for URP motion vectors

Changes

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

  • XR: Updated XR Management to 4.2.0

  • XR: Updating Build Messaging with deprecation text for Lumin

Fixes

  • 2D: Fixed an issue where removing an edge in the Skinning editor would result in the mesh falling back to a quad. (1365831)

  • 2D: Fixed case where Bounds can cause spriteshape not load in when running Player. (1368107)

  • 2D: Fixed crash when optimizing the geometry of the SpriteShape in certain cases. (1364012)

  • 2D: Fixed errors in the Sprite Skin section of documentation. (1366617)

  • 2D: Quads are now generated at correct positions after removing all vertices from Sprite meshes. (1366633)

  • Android: Fixed performance regression when using MSAA backbuffer with Vulkan. (1351579)

  • Animation: Fixed grid in Animator window to always correctly cover the entire graph area. (1337632)

  • Asset Pipeline: Fixed a performance regression where projects with large numbers of precompiled assemblies might experience slower import times. (1372980)

  • Asset Pipeline: Fixed an issue where a project containing a symbolic link could crash on startup on Windows. (1370389)

  • Build System: Fixed error "Cannot find mono image in MonoManager for assembly x" during assembly reload when calling ContentBuildInterface:GetPlayerObjectIdentifiersInAsset.

  • Editor: Fixed editor crashes when exiting and keeping a tutorial project. (1338299)

  • Editor: Fixed frame debugger does not update issue after clicking frame navigation arrows. (1329150)

  • Editor: Fixed reflection probe baking sometimes containing the cyan loading shader. (1368213)

  • Editor: Fixed Unity Package Manager diagnostic tool failing to run when started via the launch script.

  • GI: Fixed bug where lighting information on renderers would occasionally be scrambled or lost when saving a scene. (1359018)

  • GI: Fixed crash when baking 4K lightmap with maximum AA setting. (1318800)

  • Graphics: [Vulkan] Profiler shows that the Texture memory usage is lower when Vulkan is used on some devices. (1354202)

  • Graphics: [Vulkan] Texture Memory in Memory Profiler Module is not updated when profiling a Vulkan build. (1351803)

  • Input System: Fixed incorrect Windows input event timestamps.

  • iOS: Enabled ProMotion on ios15 and new devices (iphone13 family). (1374612)

  • iOS: Fixed value of Screen.safeArea retrieved during initialization of packages. (1288515)

  • N/A (internal): Fixed Unity splash screen for some devices on EmbeddedLinux.

  • Networking: UnityWebRequest now supports gzip compression on Windows. (1343274)

  • Package: Fixed property drawing of Unity.Mathematics vector types when manually drawing a property that was hidden with [HideInInspector]. (1298368)

  • Package Manager: Fixed the issue where delayCall delegate's Invocation List size doubles when the Package Manager is docked and the delayCall is Invoked. (1336406)

  • Package Manager: Fixed the issue where OAuth errors are not logged in the console. (1376308)

  • Package Manager: Removed extra fetch calls after Package Manager resolve. Should fix some Package Manager unit test instabilities. (1379219)

  • Particles: Fixed right-click context menu for Renderer module Inspector. (1372195)

  • Prefabs: Fixed crash with broken scenes where Transform has a PrefabInstance, but the containing GameObject doesn't have one
    Fixed instability caused by non deterministic order of stripped components. (1325967)

  • Profiler: Fixed "Missing Profiler.EndSample: WaitForTargetFPS" errors in development builds. (1363905)

  • Profiler: Fixed incorrect frame boundary location when profiling standalone builds. (1332845)

  • Project Browser: Project Browser slider is correctly restored when clearing the search field after selecting a favorite filter. (1348825)

  • Scene/Game View: Fixed new Scene View tabs not copying overlays layout of previous Scene View. (1336748)

  • Serialization: In addition to SerializeReference, class referred by value will also be considered and added to the list of classes not to be stripped when performing a Player Build / Asset Bundle Build / Addressable Build. (1296195)

  • UI Toolkit: Fixed issue where stylesheets added to a UIBuilder document were not cleared after created a new document. (1363722)

  • WebGL: Added workarounds for various Safari Web Audio bugs playing back compressed and looping audio clips. Fixed a regression in Unity audio backend that could cause an incorrect audio volume to be set for < 1 second duration at audio playback start time. (1350204)

Changeset:
99ba6aa4c552

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