Release notes

Known Issues in 2021.2.16f1

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

  • Customer QA Onboarding: WebGL Input System interactions are delayed or played preemptively when the project is built (1405517)

  • DirectX11: Crash on GfxDeviceD3D11Base::ResolveDepthIntoTexture when opening the project (1408785)

  • DOTS: "IndexOutOfRangeException" errors appear when entering Play Mode if using "AsDeferredJobArray" (1395710)

  • Linux: Crash on GetGameControllerMapping when plugging in the Magic-NS wireless controller adapter in XInput mode (1329301)

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

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

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

  • Progressive Lightmapper: Unity crashes on some Windows7 PCs when tbb12.dll gets loaded (1361676)

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

  • 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.16f1 Release Notes

Improvements

  • 2D: Optimized texture space needed for rect packing in PSDImporter.

  • URP: Added support for FidelityFX Super Resolution 1.0 upscaling filter.

  • URP: Added support for user-selected upscaling filters. Current options are automatic, bilinear, and nearest-neighbor.

Fixes

  • 2D: Fixed an issue where a user was unable to change mipmap settings in PSDImporter inspector. (1379426)

  • 2D: Fixed an issue where control point selection flickers when dragging and multi-selecting points in scene. (1382695)

  • 2D: Fixed an issue where SpriteShape corner does not respect the ControlPoint height. (1400229)

  • 2D: Fixed an issue where SpriteShape Corner was not set when setting multiple corners. (1378775)

  • 2D: Fixed an issue where SpriteShape with Cache Geometry enabled does not update arrays when saving scene off-screen. (1399392)

  • 2D: Fixed an issue where SpriteShapeGeometry Cache does not update when selecting a different Object when EditTool is active. (1392653)

  • 2D: Fixed an issue where the animation window's preview of IK targets would not be the same as in Play Mode. (1391590)

  • 2D: Fixed an issue where the collinear vertices coult not safely deleted from the sprite mesh in Skinning Editor. (1361541)

  • 2D: Fixeda null exception when importing files with masks in PSDImporter. (1388820)

  • AI: Fixed game freezing when using NavMesh.Raycast() with a NavMesh that contains an unexpected invalid polygon. (1346645)

  • Android: Change boost documentation and timing values in the simulator to reflect the boost mode timing of 10s instead of the previous 15 seconds as it changes on the driver side.

  • Android: Fixed a frequency change error case (e.g. when boost is activated). Does not retry every frame. Manual retry is required.

  • Android: Fixed a warning 'IAdaptivePerformanceSettings.k_AssetVersion' when building the project. (1373192)

  • Android: Fixed an issue where the bottleneck profiler colors did not reflect warning states correctly.

  • Android: Fixed simulator where temperature level and trend would not get updated when thermal action was updated.

  • Animation: Fixed null reference in AvatarMaskInspector on ToggleAll (1369846)

  • Build Pipeline: Fixed edge case passing in missing or deleted objects could crash the Editor during the build. (1357414)

  • Build Pipeline: make script compilation work on windows7 again (1408591)

  • Core: Update libcurl to 7.80 to address security vulnerabilities (1383040)

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

  • Editor: tooltips not closing automatically when the mouse moves out from the rect of the ui part that triggered them

  • Graphics: Fixed an unnecessary memory allocation issue inside FSR's RCAS shader constants helper function.

  • Graphics: Fixed a negative scaling which caused the scene view ui to disappear. (1378547)

  • Graphics: Fixed an issue where encoding R8, R16, RFloat and RHalf to EXR did no encodes to a grayscale image. (1343287)

  • Graphics: Fixed an issue where the 16-bit FSR implementation was no automatically enabled when supported by the target platform by removing FSR_ENABLE_16BIT option from FSRCommon.hlsl.

  • Graphics: Fixed cubemap array macros for GLCore.

  • Graphics: Fixed texture gather macros for GLCore and moved them from target 4.6 to target 4.5.

  • HDRP: Fixed a camera motion vector pass issue where reading last frame depth texture.

  • HDRP: Fixed a null reference issue in CollectLightsForRayTracing. (1398381)

  • HDRP: Fixed an issue with detail normals when scale was null. (1399548)

  • HDRP: Fixed an issue with shader graph custom velocity and VFX. (1388149)

  • HDRP: Fixed motion vector rendering with shader graph with planar primitive (1398313)

  • iOS: Fixed a unityWebRequest issue with uploading with automatic authorization. (1341009)

  • Linux: Fixed crash when cancelling unity loading of the project after enter safe mode prompt. (1374087)

  • Profiler: Fixed an error on Metal which caused "Assertion failed on expression: 'gpuFrequency != 0'" assert in Editor. (1368520)

  • Scripting: Fixed an issue where Unity would not print to console all user assemblies which reference UnityEngine/UnityEditor dll's, where the file name didn't match the assembly name. (1345099)

  • Serialization: Fix crash when setting an instance containing an empty list field in SerializedProperty.managedReferenceValue and then using SerializedObject.ApplyModifiedProperties. (1398729)

  • Serialization: Fixed a crash when entering into playmode and user would change domain during OnBeforeSerialize. (1316002)

  • UI: Fixed a build error when _MainTex was not present in ui shader. (1394042)

  • UI Toolkit: Fixed button click happening when mouse was released from behind an element that wa drawn in front of the button but within its boundaries. (1360188)

  • UI Toolkit: Fixed hover state not updated properly on Button when using touch-based pointer events to activate it. (1353921)

  • UI Toolkit: Fixed VisualElements in runtime panels sometimes retaining a hover state despite the mouse moving to another element, when the new element overlaps it and belongs to another panel. (1366284)

  • URP: Fixed an incorrect shadow batching and shadow length.

  • URP: Fixed an issue in where the _ScreenParams was not setup correctly.

  • URP: Fixed an issue where 2D global lights with shadows enabled could break light layer batching.

  • URP: Fixed an issue where Light2D Sprite Light was not updating when Sprite properties were modified. (1396418, 1396422)

  • URP: Fixed decal automatic technique to correctly work with webgl. (1370326)

  • URP: Fixed FXAA quality issues when render scale was not 1.0.

  • URP: Fixed several Native RenderPass issues regarding input attachments, DepthOnly pass, and Decals.

  • VFX Graph: Fixed an exception when changing the setting of space of a shape to world. (1389076)

  • VFX Graph: Fixed Picking and Selection passes issue. (1382788)

  • Web: Fixed an issue where there was a missing truthiness check for getSupportedProfiles(). (1394392)

  • WebGL: Fixed a playback of wrong audio clip issue. (1365565)

Package changes in 2021.2.16f1

Packages updated

Changeset: 559fc0ec6670