Skip to content

Files

Latest commit

 

History

History
7384 lines (3702 loc) · 606 KB

File metadata and controls

7384 lines (3702 loc) · 606 KB

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)

Known Issues in 2021.2.18f1

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

  • Customer QA Onboarding: Spaces and symbols of the Project name are changed to hyphens causing "Invalid characters" warning in the Bundle Identifier (1412412)

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

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

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

  • Mono: [Android] "Found plugins with same names" error is thrown when building on Android with duplicate .dll files (1373388)

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

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

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

2021.2.18f1 Release Notes

Improvements

  • EmbeddedLinux: A port field is now exposed for the managed debugger in Build settings when Debugging script is checked.

API Changes

  • Physics: Added: All the physics batch queries can now run in physics scenes other than default.

Fixes

  • Asset Bundles: Fixed a regression where skinned mesh was no longer being compressed. (1391542)

  • Audio: Fixed crash on AudioMixer::EnsureValidRuntime when entering Play mode. (1394571)

  • Editor: Ensure we do not try to save the layout file if switching from a mode using dynamic layout. (1382281)

  • Editor: Fixed an issue causing C# serializable generic types to incorrectly contain data for editor only fields in serialized data when in a player context.

  • Graphics: Fixed null rp asset when the selection is being canceled. (1354374)

  • IL2CPP: Correct the logging of UnityLinker and IL2CPP messages in the editor log when UNITY_EXT_LOGGING is enabled. (1386302)

  • iOS: Fixed an issue where CoreText warning spammed on iOS15. (1397966)

  • Package Manager: Show license error icon and banner with descriptive error message. (1396272)

  • Prefabs: Fixed empty error logs when importing Trees. (1354333)

  • Shaders: Fixed an assert when rendering a mesh using a material setup with CopyPropertiesFromMaterial. (1387200)

  • Shaders: Fixed keywords not present in the shader being discarded by the material. (1380745)

  • Terrain: Fixed an issue where material keyword APIs don't list keywords when using a newly imported SpeedTree. (1398133)

  • UI Toolkit: Fixed sprite 9-slices that didn't take the pixels-per-unit value into account. (1373597)

  • WebGL: Fixed a crash when using AudiClip.priority and AudioSettings.Reset. (1385590)

Known Issues in 2021.2.17f1

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

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

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

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

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

  • 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/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: Prefab is glitchy while editing in Prefab Mode when parent Canvas Render Mode is set to Screen Space - Camera (1394756)

  • Unity Test Runner: Editor freezes when Running EditMode tests in batchmode (1396512)

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

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

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

2021.2.17f1 Release Notes

Improvements

  • IL2CPP: Optimized out boxing on null checks on nullable types in generic code.

  • Scripting: Editor will display a warning if trying to open a project with an External Code Editor which was removed. (1401221)

  • Scripting: Optimized searching for scripts when the assembly name is not supplied, can significantly improve performance entering PlayMode amongst other areas.

  • Search: Many UI and UX search improvements

Fixes

  • Android: Fixed Android il2cpp build when Windows Display Language is set to Turkish. (1408333)

  • Android: Fixed stack overflow crash on start up when trying to get device IP. (1409651)

  • Asset Pipeline: Fixed an issue where artifact dependencies might fail to be registered correctly during an import. (1393370)

  • Asset Pipeline: Fixed an issue where subsequent builds or manually-selected script only builds could result in incorrect code stripping.

  • Build Pipeline: Fixed an issue where building players would fail on windows if Unity is installed on a different drive than the project folder. (1412356)

  • Editor: Fixed a missing segments issue in the Bundle Identifier for Apple platforms by replacing invalid characters with hyphens (similar to Xcode's behaviour). (1352216)

  • Editor: Fixed a missing adb provider for advanced object selector search engine issue. (1398289)

  • Editor: Fixed a missing search result refresh when executing CTRL+Z to undo last block modifications. (1394732)

  • Editor: Fixed Player settings becoming invisible after importing new Graphics API on HDRP template. (1406881)

  • Editor: Use SearchViewState.group to initialize initial results tab when a new search window is created. (1400665)

  • GI: Fixed an issued caused by out-of-bounds access when light probes had no coefficients. (1394168)

  • GI: Small lighting settings UI tweaks.

  • Graphics: Fixed a sporadic crashes when using Vulkan. (1407673)

  • Graphics: Fixed an issue where crunch compression did not properly handles uncompressed formats (even if not 32-bit RGBA) without flipping color channels or getting data corruption. (1340715)

  • Graphics: Fixed an issue where EditorUtility.Compress to crunch fail with a crashing when invalid texture sizes were provided. (1331258)

  • Graphics: Fixed buffer overflow in the RenderPassDescription attachments, causing a crash on Linux. (1386745)

  • Graphics: Fixed issue with resolution change when using renderFrameInterval. (1355972)

  • Graphics: Fixed splash screen getting rendered at slightly darker color when drawing it from script and the project uses linear color space. (1369235)

  • Graphics: Fixed to reduce CPU load in a sample scene when running with Graphics jobs.

  • IL2CPP: Correct the full generic sharing code generation when a generic parameter has a transitive class constraint. (1396719)

  • IL2CPP: Fixed an issue where marshaling of delegates with by reference types was not supported when the return type is blittable. (1399978)

  • IL2CPP: Fixed error with builds where C# comments contained multiple slashes/backslashes separated by whitespace. (1391435)

  • IL2CPP: Fixed il2cpp.exe crashing on machines that used more than 64 threads. (1389102)

  • IL2CPP: Fixed issue where the wrong custom attributes would be returned for methods on an array instance. (1403460)

  • IMGUI: Fixed memory leak when continuously calling Repaint inside OnGUI after GUI.Window (1371866)

  • iOS: Fixed an issue where .meta files was incldued in build for plugins of .plugin type. (1184957)

  • iOS: Fixed Screen.safeArea returns incorrect height value when constraining rotation to landscape. (1356217)

  • Linux: Fixed an Editor crash when mappings for specific controllers were not found. (1329301)

  • macOS: Fixed a rare crash in GameView pointing to BufferMetal::IsBusy. (1405248)

  • macOS: Fixed Silicon Editor showing as iOS app in macOS System Information. (1378530)

  • Mono: Fixed an intermittent "Unexpected mark stack overflow" error. (1391935)

  • Mono: Fixed generic default interface method crash with Environment.StackTrace. (1365974)

  • Package Manager: Fixed an issue on Windows where resolving a package could fail if any files were temporarily being used by another process. (1384471)

  • Package Manager: Fixed an issue where a package download would fail if the download URL had a default port set (i.e. 80 for HTTP or 443 for HTTPS). (1388256)

  • Package Manager: Fixed an issue where having package folders without a package manifest in the project's Library folder would fail resolving local-tarball or git packages.

  • Package Manager: Fixed an issue where JSON files encoded using UTF-8 with BOM could not be parsed.

  • Package Manager: Fixed an issue where package metadata would be fetched even though the locally cached metadata was up-to-date.

  • Package Manager: Fixed an issue where the PackageManager.Client.SearchAll() method would fail if the user did not have access permission for one of the packages hosted on the registry. (1381544)

  • Package Manager: Fixed an issue where local-tarball dependencies would become unresolved if the source tarball was removed.

  • Package Manager: Fixed HTTP 5xx errors that could occur when using a proxy server. (1381238)

  • Package Manager: Fixed UnityPackageManager process leaving dangling IPC socket file after it exited.

  • Particles: Ensure Trigger Module does not ignore 2D Trigger Colliders. (1364520)

  • Particles: Fixed flickering when using Mesh GPU Instancing. (1390346)

  • Prefabs: Fixed memory gets allocated for GC each frame when using PrefabStageUtility.GetPrefabStage(). (1343935)

  • Profiler: Fixed an issue where Texture2DArrays was not reporting data usage correctly in memory samples. (1354202)

  • Scene/Game View: Fixed an input field expanding to fit more digits and creating overflow in the overlay. (1361083)

  • Search: Fixed a search indexer get document lock issue while incremental updating.

  • Search: Fixed an issue where search engines initialization was not delayed until after user code was compiled.

  • uGUI: Reentered: is true when quitting a nested UI to go back on a parent UI.
    FullyExited: is true when quitting a UI for null or for something outside of its children. (1394226)

  • UI: Fixed an issue which would cause duplicate UI draw calls to show up in the Framedebugger (1342417)

  • UI Elements: All elements inside a foldout now have a unique name for easier restyling. (1390941)

  • Undo System: Fixed an issue where replacing prefabs would cause a crash. (1400170)

  • Undo System: Fixed an issue where undoing specific tile map additions was not handled. (1407532)

  • Windows: Fixed player window position being offset from the left side of the screen when running in windowed mode at a resolution that doesn't fully fit inside the display. (1378303)

  • Windows: Fixed Windows Editor crashing on startup on Windows 7 machines that have the latest version of Visual C++ 2013 redistributable installed. (1361676)

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)

Known Issues in 2021.2.15f1

  • 2D: Crash with "RendererUpdateManager::RemoveRenderer" when using undo after adding Tilemap to the List (1407532)

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

  • Build Pipeline: Script compilation fails with "Internal build system error. Backend exited with code -1073741511" on Windows 7 (1408591)

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

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

  • 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: [M1][IL2CPP] Unity spawns Intel clang processes when building with Silicon Editor (1392604)

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

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

  • Visual Effects - Legacy: [URP] Particles are flickering when in Play Mode (1390346)

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

Features

  • Version Control: Added branch name column in changeset view

Changes

  • Version Control: Updated checkin comment box to keep the last comment after checkin error.

Fixes

  • 2D: Fixed a Crash on VirtualRedirectTransfer when loading AssetBundle while entering Play Mode. (1383027)

  • 2D: Fixed an issue where Secondary Texture set from a different Sprite was re-used even if another Sprite does not have one. (1395562)

  • 2D: Fixed an issue where managedContext was never passed to MonoPostprocessSprites. (1387502)

  • Android: Fixed asking for permission for location, webcam and external storage issue. (1363472)

  • Android: Update some APIs to support the behavior changes of LocationManager in Android 12. (1379467)

  • Audio: Fixed an issue where a user was not being able to undo parameter changes from dragging in the GUI widget of the ParamEQ and Duck Volume effects. (1262453)

  • Editor: Fixed an exceptions when assigning array size via array size field in ReorderableList inspector control.

  • Editor: Fixed ReorderableList element height issue not updating when dynamic changes to list content happen. (1341015, 1342485, 1342814)

  • Graphics: Fixed a corruption of mip levels of non-readable ASTC cubemap texture issue. (1383196)

  • Package Manager: Fixed the issue where the Package Manager UI doesn't warn the user when the .unitypackage is not compatible with the current version of Unity by adding a downgrade option with warning. (1403447)

  • Particles: Fixed FPS mode when using a Single Row in the Texture Sheet Animation module. (1373996)

  • UI Toolkit: An element can now receive a PointerUpEvent notification when the mouse position is outside of the game view. (1306631)

  • Universal Windows Platform: Fixed an issue where Unity generated UWP project using hardcoded value of en-US. (1342532)

  • Version Control: Fixed performance regression in large projects due to FindObjectsOfTypeAll calls.

  • Version Control: Fixed working mode error after migration from Unity Collaborate.

  • WebGL: Fixed a MSAA effect issue for WebGL. (1377547)

  • WebGL: Fixed an issue where building WebGL projects in folders that contain Unicode characters on Windows was not supported. (1355858)

Known Issues in 2021.2.14f1

  • 2D: Crash with "RendererUpdateManager::RemoveRenderer" when using undo after adding Tilemap to the List (1407532)

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

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

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

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

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

  • Visual Effects - Legacy: [URP] Particles are flickering when in Play Mode (1390346)

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

API Changes

  • UI Toolkit: Added: Allow custom USS styles to reference any kind of asset (through UnityEngine.Object).

Fixes

  • AI: Fixed NavMeshAgent teleports to a wrong location when a border carved is reached by a NavMeshObstacle. (1363687)

  • Android: Fixed a crash when an app was put to the background before Unity initialiaation and then opened via URL. (1391522)

  • Android: Fixed a crash when using a custom cursor. (1379249)

  • Android: Fixed an issue where support for plugin folders with extension .plugin was missing. (1376559)

  • Build Pipeline: Fixed Dedicated Server not building for il2cpp properly. (1383477)

  • Editor: Fixed an issue where ContextMenuItems added to Lists did not show up in the List label context menu as well as the items. (1360138)

  • Graphics: Fixed a shader compiler error when using InterlockedExchange with float texture. (1383689)

  • Graphics: Fixed undo in for 1402145 DebugUI.EnumFields on the rendering debugger. (1386964)

  • HDRP: Fixed a HDRP camera debug panel rendering foldout issue.

  • HDRP: Fixed a null ref exception in Volume Explorer.

  • HDRP: Fixed a nullref exception when creating a new scene while LightExplorer was open.

  • HDRP: Fixed an error spamming issue when in player mode due to ray tracing light cluster debug view. (1390471)

  • HDRP: Fixed an issue at the edge of screen on some platforms when Screen Space Ambiant Occlusion (SSAO) was on.

  • HDRP: Fixed an issue where forced sky update (like PBR sky amortized updated) would not update ambient probe.

  • HDRP: Fixed an issue where Post Process was not editable in the default frame settings.

  • HDRP: Fixed an issue where scene list was not refreshed upon deleting an Adaptive Probe Volume (APV) baking set.

  • HDRP: Fixed an issue where sometimes full screen debug would cause render graph errors.

  • HDRP: Fixed an issue which caused the uber post process to run even if nothing was to be done, thus leading to different results when disabling every post process manually vs disabling the whole post-processing pipeline.

  • HDRP: Fixed an issue with dynamic resolution and low res transparency sampling garbage outside of the render target.

  • HDRP: Fixed an issue with Final Image Histogram displaying a flat histogram on certain GPUs and APIs.

  • HDRP: Fixed an issue with HDRI Sky and shadow filtering quality were set to high.

  • HDRP: Fixed artifacts on gpu light culling when the frustum near and far are very spread out. (1386436)

  • HDRP: Fixed custom pass name being cut-off when the name was too long in the inspector.

  • HDRP: Fixed error messages when trying to use HDSceneColor, NormalFromHeight, DDX, DDY or DDXY shader graph nodes in ray tracing.

  • HDRP: Fixed issue that placed an OnDemand shadow in the atlas before it was ever rendered.

  • HDRP: Fixed issue with accumulation motion blur and depth of field when path tracing is enabled.

  • HDRP: Fixed missing unit in ray tracing related tooltips and docs. (1397491)

  • HDRP: Fixed one frame flicker on hardware DRS. (1398085)

  • HDRP: Fixed PBR Dof using the wrong resolution for COC min/max filter, and also using the wrong parameters when running post TAAU stabilization. (1388961)

  • HDRP: Fixed performance penalty when hardware DRS was used between multiple views like editor or other gameviews.

  • HDRP: Fixed RTGI potentially reading from outside the half res pixels due to missing last pixel during the upscale pass. (1400310)

  • HDRP: Fixed screen space shadow when multiple lights cast shadows.

  • HDRP: Fixed sky jittering when TAA was enabled.

  • HDRP: Fixed static lighting sky update when using an HDRI sky with a render texture in parameter.

  • HDRP: Fixed the 'Exposure' field name to 'Exposure Compensation' name in sky volume overrides. (1392530)

  • HDRP: Fixed the default custom pass buffer format from R8G8B8A8_SNorm to R8G8B8A8_UNorm. Additionally, an option in the custom pass buffer format settings is available to use the old format.

  • HDRP: Fixed the roughness value used for screen space reflections and ray traced reflections to match environment lighting. (1390916)

  • HDRP: Fixed the volumetric clouds for the indoor template scenes by disabling them (normal and DXR). (1381761)

  • HDRP: Fixed using the wrong coordinate to compute the sampling direction for the screen space global illumination.

  • HDRP: Fixed using the wrong directional light data for clouds and the definition of current Sun when the shadow pass was culled.

  • HDRP: Fixed various issues with render graph viewer when entering playmode.

  • HDRP: Fixed vertex color mode Add name whicgh was misleading, renamed to AddSubstract.

  • HDRP: Fixed volumetric clouds in lens flares sample indoor scene by disabling it.

  • HDRP: Fixeda warning when an Adaptive Prope Volumes (APV) baking set was renamed.

  • HLSLcc: Fixed HLSLcc so it no longer generates invalid code on Metal platforms when 16-bit integer types are used. (1387697)

  • IL2CPP: Corrected the behavior of the GUID property on System.Type objects. (1397603)

  • IL2CPP: Fixed a data corruption issue when unboxing to a Nullable<System.Decimal>. (1385813)

  • IL2CPP: Fixed an error message on Windows when Windows 10 SDK was missing. (1387186)

  • IL2CPP: Fixed an issue where Android would not properly build when Windows Language was set to Turkish. (1377516)

  • IL2CPP: Fixed an issue where assemblies whose name starts with Microsoft was not preserved or allowed. (1397381)

  • IL2CPP: Fixed undefined invocation behavior for unsigned arguments. (1388270)

  • iOS: Fixed a splash screen issue which sometimes showed in the wrong orientation. (1400716)

  • iOS: Fixed an issue where picking up a background scene if no foreground scenes were found was not allowed. (1400794)

  • macOS: Fixed a crash when passing '-force-glcore' to Unity Editor on macOS. (1374768)

  • Particles: Fixed an offset param in NativeArray overload of SetPaticles API. (1376804)

  • Profiler: Fixed Profiler Rendering module not showing stats when profiling Editor. (1382934)

  • Scene/Game View: Fixed an issue where Hierarchy's picking icons were not refreshing when picking toggled via shortcut. (1386629)

  • Scene/Game View: Fixed mesh asset inspector rendering same mesh for each multi selection's preview. (1386473)

  • Serialization: Fixed SerializedProperty.DataEquals for strings and array case which was not comparing the content. (1394833)

  • Shadergraph: Fixed an issue where edges connected to SubGraphNodes would sometimes get lost on upgrading a pre-targets graphs. (1379996)

  • Shaders: Fixed a caching server issue when compute shader serialization to use relative paths. (1396974)

  • Shaders: Fixed an issue where subshader and pass information was missing in the shader error message details. (1389061)

  • Shaders: Fixed some shader errors that were not appearing in the logs during player build. (1367936)

  • Shaders: Fixed unintended errors that complained about failed shader cache entry moves. (1372561)

  • uGUI: Fixed an Editor issue where uGUI would not be able to tell which gameview (screen) was clicked on as the mechanics for playmode did not work the same. (1315870)

  • uGUI: Fixed the slider's min and max values that was being the overwritten when selecting multiple slider GameObjects in the Hierarchy window. (1388196)

  • Universal Windows Platform: Fixed playing videos back from outside the application/application data folders if the app has permissions to do so (for instance, the Videos library). (1376489)

  • URP: Fixed an incorrect blending of ParticleUnlit. (1373188)

  • URP: Fixed an issue where the menu button to be able to convert selected materials was missing.

  • URP: Fixed an issue with too many variants were being included in ShaderGraph shaders used in URP. []. (1378545)

  • URP: Fixed max light count cpu/gpu mismatch in Editor with Android target. (1392965)

  • URP: Fixed single channel compressed (BC4) cookies on main light.

  • VFX Graph: Fixed an issue wher the Blackboard "Add" button for output could be hidden when the panel is too small. (1389927)

  • VFX Graph: Fixed an issue where a subgraph could be pasted into the same subgraph. (1364480)

  • VFX Graph: Fixed an issue where collision with zero scale lead to undefined behavior. (1381562)

  • VFX Graph: Fixed an issue where custom operator (multiply, add...) did not resize to the minimum size when input types changed.

  • VFX Graph: Fixed an issue where editing the values in the graph did not impact the system in real-time after saving. (1371089)

  • VFX Graph: Fixed an issue where Particle Strip without lifetime did not die when Alive was set to false. (1376278)

  • VFX Graph: Fixed an issue where the d state of VFX blocks and operators are preserved after copy/paste.

  • VFX Graph: Fixed an unexpected possible connection between GPUEvent and Spawn context. (1362739)

  • VFX Graph: Fixed bounds helper tool (automatic systems culling, world bounds computation, ...).

  • Windows: Fixed a crash with 'Copying file failed' error on Windows when importing a file from WinRAR Archiver. (1325310)

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)

Known Issues in 2021.2.12f1

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

  • 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: IDE fails to attach to the Unity Process when reenabling Debug mode in the Editor (1398828)

  • Customer QA Onboarding: Unity Editor crashes when docking one EditorWindow to the side of a docked window (1397003)

  • IMGUI: EditorGUILayout.PropertyField is not changing the list elements (1382187)

  • IMGUI: Slider Min and Max Values become the same as the other Slider when selecting multiple Slider GameObjects in the Hierarchy window (1388196)

  • Inspector Framework: 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: [M1][IL2CPP] Unity spawns Intel clang processes when building with Silicon Editor (1392604)

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

  • OpenGL: Unity crashes when entering "-force-opengl" or "-force-glcore" in the Advanced Project Settings (1374768)

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

  • Windows: Editor crashes or freezes with 'Copying file failed' error when importing a file from WinRAR Archiver (1325310)

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

2021.2.12f1 Release Notes

Changes

  • PS4: Added latest SDK 9.0 patch for 2021.2

  • Version Control: Disabled the invite button when user does not have invite permission or not on a cloud repo.

  • Version Control: Improved plugin initialization process and let the plugin functions without needing the Plastic window opened.

  • Version Control: Updated styling of number of items in incoming changes category.

Fixes

  • Asset Import: Fixed an issue where AssetImportContext.AddObjectToAssets did not work in AssetPostprocessor methods. (1393009)

  • Asset Import: Fixed an issue where Textures passed to AssetPostprocessor methods did not have a name.

  • Asset Pipeline: Fixed an issue where asset previews were not updating when modifying assets in an external tool in play mode. (1282734)

  • Asset Pipeline: Fixed an issue where Assets were not checked out in Version Control when the NavMesh changed after baking.. (1321912)

  • Asset Pipeline: Fixed an issue where deleting invalid asset paths did not throw ArgumentNullException when using Perforce as VCProvider. (1333656)

  • Editor: Fixed an issue where the scriptable object leaked while previewing textures. (1378051)

  • Editor: Fixed an issue where there was no automatic filter out and ignore assemblies that were automatic included as a part of the system library references. (1363463)

  • GI: Fixed a crash on some Windows7 PCs when tbb12.dll gets loaded. (1361676)

  • GI: [Vulkan] Fixed an Editor crashes in Optix when Generating Lighting multiple times. (1358477)

  • Graphics: Fixed a sporadic freeze issue during texture upload. This issue occured mainly on ARMv8 platforms. (1345518)

  • macOS: Fixed an issue related to creating a new Unity project inside a directory with Unicode characters. (1377915)

  • Mobile: Removed warning "Using antialiasing on a mobile device may decrease performance severely." from Editor. (1396603)

  • Particles: Fixed a Forcefield Vortex determinism issue. (1365909)

  • Physics: Fixed ArticulationBody.SetJointPositions and similar setter using List.Capacity instead of List.Count to determine the element count and throwing errors because of that. (1347970)

  • Profiler: Fixed Multiple Profiler errors that were thrown when Profiler was open in Play mode. (1357865)

  • Scene/Game View: Fixed an issue where Scene View Orientation Gizmo appeared with a background incorrectly in some cases. (1388198)

  • Scene/Game View: Fixed handles drawn in MonoBehaviour.OnDrawGizmos appearing offset in the Scene View. (1381437)

  • Scripting: Fixed an exception that was being thrown when resolving a missing assembly because OS does did not provide a Global Assembly Cache. (1383700)

  • Services: Fixed a crash which occured with Il2cpp when the following engine stripping and Analytics were enabled, but without the analytics package installed. (1377563)

  • Shaders: Fixed an issue the in shader keyword enumeration that caused a missing variants in some cases.

  • TextCore: Fixed a potential editor crash due to an invalid system font file that was present on a user system where the font file was missing a font family and / or style name. (1382082)

  • UI Toolkit: Fixed an issue where ScrollView could be dragged beyond bounds when used in runtime on touch devices. (1353784)

  • Universal Windows Platform: Fixed "TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: 4294950016" error when using System.Net.Http on ARM64 machines/devices. (1387294)

  • Version Control: Fixed an Newtonsoft.Json.dll conflict issue with other external packages.

  • Version Control: Fixed an ArgumentOutOfRange exception when creating a branch.

  • Version Control: Fixed an issue where editor objects count increased when hovering over Plastic window or toolbar button.

  • Version Control: Fixed scene reloading not happening after creating a new branch.

Known Issues in 2021.2.11f1

  • 2D: [Lost Crypt] Unable to find URP 12.1.0 package error when importing Lost Crypt (1388129)

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

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

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

  • IMGUI: Slider Min and Max Values become the same as the other Slider when selecting multiple Slider GameObjects in the Hierarchy window (1388196)

  • Inspector Framework: In Record and Preview mode, right clicking Scale does not bring up Animation related features (1365369)

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

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

  • MacOS: [M1] "System is running out of memory" error is thrown when using Profiler as a Standalone Process with Deep Profile turned on (1386242)

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

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

  • Metal: Application crashes when "Metal Write-Only Backbuffer" is enabled (1379210)

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

  • OpenGL: Unity crashes when entering "-force-opengl" or "-force-glcore" in the Advanced Project Settings (1374768)

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

  • Progressive Lightmapper: Unity 2021.2 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)

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

  • Windows: Editor crashes or freezes with 'Copying file failed' error when importing a file from WinRAR Archiver (1325310)

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

2021.2.11f1 Release Notes

Improvements

  • IL2CPP: Added support for Il2CppSetOption attribute on structs and assemblies.

API Changes

  • Particles: Added: There is a new version of GetTrails that doesn't allocate any garbage. (1394062)

Fixes

  • Android: Fixed a Java local reference leak when array is returned when using AndroidJavaObject/AndroidJavaClass. (1374806)

  • Android: Fixed an app crashing when calling Cursor.visible or Cursor.SetCursor many time during a frame. (1380363)

  • Animation: Fixed a crash when modifying an animation override controller which was in use during a state machine enter / exit behavior callback. (1346587)

  • Build Pipeline: Fixed an issue where subsequent builds or manually-selected script only builds could result in incorrect code stripping. (1388491)

  • Core: Fixed incorrect handling of C#'s readonly keyword in the JobsDebugger. (1367166)

  • Editor: Fixed a Null reference exception on enabling constrain proportions scale for a freshly created Rect Transform object. (1399997)

  • Editor: Fixed an issue where selecting a scene template modified its dependencies.

  • Editor: Fixed an issue where keyUp events were never received in the macOS editor under playmode. (1380143)

  • GI: Fixed an issue where environment lighting from an additively loaded scene would be ignored, when unloading the base scene, and that scene contains a light probe group. (1324966)

  • Graphics: Fixed a particles flickering issue on metal. (1375960)

  • IL2CPP: Implement the internal SetLastWin32Error method. This is used in the CriticalHandle implementation and can cause problems for libraries like Mono.Data.SqlLite. (1379079)

  • IL2CPP: Fixed "Attempted to lookup type that hasn't been created" error when building a UWP project. (1390521)

  • IL2CPP: Fixed an IL2CPP crash caused by High managed code stripping producing invalid IL. (1358995)

  • IL2CPP: Fixed an issue where the Visual Studio Build Tools installations was not detected nor used.

  • iOS: Fixed an issue where the et On Demand Resources setting in XCode project was not always set to the value in Unity Player Settings. (1379736)

  • Kernel: Added additional checks to FileUtil.DeleteFileOrDirectory to fix unintentional deletion of project assets directory. (1382446)

  • Package Manager: Fixed an issue where Unity terminated with error code 0 when an exception occurs while importing a package in bach mode. (1375776)

  • Particles: Fixed an issue where there was incorrect Collider information for GetTriggerParticles, in the case where there were null colliders in the Trigger Module list. (1356510)

  • Physics: Fixed an issue where re-parenting an inactive 2D Collider using a CompositeCollider2D on the target hierarchy would not use the composite. (1386399)

  • Prefabs: Fixed a RootGameObject detection issue for missing Prefab instances to avoid creating placeholders.

  • Prefabs: Fixed a scene saving for scene backups issue when entering PlayMode to re-enable EnterPlay mode with missing Prefab instances in the scene. (1379408)

  • Prefabs: Fixed an error that was thrown when merging changes made to a Prefab into a Nested Prefab with co-dependant components. (1362574)

  • Profiler: Fixed "Call Stacks" toggle in Profiler Window enabling callstacks capturing in connected Players. (1377934)

  • Serialization: Fixed an issue where error message did not include filename when serialized map in a YAML file was badly formed. (1374218)

  • Shaders: Added the number of skipped shader variants to the shader compilation log output. (1389276)

  • Shaders: Fixed a misleading comment in UnityCG.cginc. (1374639)

  • Shaders: Fixed an issue where the shader name was not added to the error description when failing to compile or link GLSL shaders. (1378687)

  • Shaders: Fixed OOM crash when preparing shaders with a large amount of variants (100M+) for compilation. IPreprocessShaders now processes not more than 1M variants at a time. (1388530)

  • Shaders: Fixed the output of "Compile and show code" button being capped to 2GB on Windows. (1378000)

  • UI Toolkit: Fixed a UIDocument sort order issue when multiple ones had the same sort order value but some of them were disabled. (1378182)

  • UI Toolkit: Fixed an issue where the icon in the Uxml preview header would not open the uxml file in the IDE (UI Builder).

  • UI Toolkit: Fixed an issue where the Open With IDE context menu was trying to open the uxml in the builder instead of opening it in the IDE (UI Builder). (1368373)

  • VFX Graph: Fixed a collision with depth buffer issue when using a physical camera. (1344733)

  • WebGL: Fixed a MSAA effect issue for WebGL. (1377547)

  • WebGL: Fixed a template issue when quotation marks were used in company name or product name. (1370946)

  • WebGL: Fixed an issue that prevented PlayerSettings.WebGL.emscriptenArgs options from being passed to the build. (1368914)

  • WebGL: Fixed an issue with the creation of external debug symbols. (1378286)

  • Windows: Fixed an issue when building generated IL2CPP C++ code with Visual Studio 2022 Unity did not correctly recognize it as "Visual Studio 2022". (1378085)

Known Issues in 2021.2.10f1

  • 2D: [Lost Crypt] Unable to find URP 12.1.0 package error when importing Lost Crypt (1388129)

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

  • Animation: Animation playback is incorrect when using Asset Bundle exported from Unity 5.6.7f1 (1390123)

  • Asset - Database: Editor hangs on exit when importing Maya files and exiting the Editor (1378586)

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

  • Build Pipeline: Windows build fails when using Deltatre Magma Engine (1382217)

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

  • IMGUI: Slider Min and Max Values become the same as the other Slider when selecting multiple Slider GameObjects in the Hierarchy window (1388196)

  • Inspector Framework: In Record and Preview mode, right clicking Scale does not bring up Animation related features (1365369)

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

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

  • MacOS: [M1] "System is running out of memory" error is thrown when using Profiler as a Standalone Process with Deep Profile turned on (1386242)

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

  • Metal: Stuttering in Play mode when VSync is disabled (1373811)

  • Metal: Application crashes when "Metal Write-Only Backbuffer" is enabled (1379210)

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

  • Networking: UnityWebRequest.SendWebRequest delay occurring in 2019.4.30f1 and above (1382113)

  • OpenGL: Unity crashes when entering "-force-opengl" or "-force-glcore" in the Advanced Project Settings (1374768)

  • Profiling: Profiler's 'Call Stacks' button gets out of sync with PlayerConnection when the button is toggled after connecting to Player (1377934)

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

  • Progressive Lightmapper: Unity 2021.2 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)

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

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

  • Scripting: [MacOS] An Unhandled exception is thrown in the Editor.log and Console window when trying to build AssetBundles (1383700)

  • Shader System: Shader stripping crashes when it gets too many variants (1388530)

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

  • Text: Editor crashes on TextCore::FontEngine::GetSystemFontReferencesInternal when opening the project (1382082)

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

  • Universal Windows Platform: "TlsException: Handshake failed" error when UWP Build configuration is set to Release/ARM64 (1387294)

  • URP Features: Some lit Shaders are having huge count of variants which leads to project build prevention (1378545)

  • URP Features: [URP][MacOS] Getting Light artifacts in a Scene view with Spot Lights when Android Platform is selected in the Build Settings (1392965)

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

  • Windows: Editor crashes or freezes with 'Copying file failed' error when importing a file from WinRAR Archiver (1325310)

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

2021.2.10f1 Release Notes

Features

  • Video: Added support for Mac for advanced video encoding controls for H.264.

Improvements

  • Graphics: Updated QualitySettings.maxQueuedFrames to work in Vulkan API.

Fixes

  • Asset Pipeline: Fixed an issue where an empty meta file was not handled as malformed meta file. (1361260)

  • Burst: Fixed a bug where the compiler would reject a try/finally statement if it was the first thing in a method.

  • Burst: Fixed a compiler miscompile if you load a static readonly v128 and pass it straight to a function as an argument.

  • Burst: Fixed a null-derefence that could occur if you used UnsafeUtility.IsUnmanaged in a static readonly constructor.

  • Burst: Fixed a Unity 2021.2 and newer bug that manifested with UWP builds to use the right unityaot folder.

  • Burst: Fixed an editor crash when trying to debug a DirectCalled method.

  • Burst: Fixed an error if install in build folder is used without ever using a regular build.

  • Burst: Fixed an issue with the invalid gc handle release to avoid corrupt current domains and crashes. (1346442)

  • Burst: Fixed some memory leaks between the C# and C++ parts of the Burst compiler, and added CI tooling to ensure this doesn't happen again.

  • GI: Fixed a Black light probes after duplicating baked geometry during the bake with CPU Lightmapper. (1332156)

  • GI: Fixed the denoising of shadowmask with the GPULM. (1361651)

  • Graphics: Fixed a Vulkan instable frame time and input lag due to queuing too many frames. (1331307)

  • IL2CPP: Fixed a race condition loading string literal values. (1379139)

  • IL2CPP: Fixeda possible compilation error in field access in unsafe generic code. (1394221)

  • iOS: Hid the QuickType bar on iOS15 when Keyboard autocorrection is set to false. (1381272)

  • Kernel: Fixed Application.targetFrameRate to not cause jitter in Time.deltaTime measurements. (1373355)

  • Mono: Fixed an issue where locale name could not be resolved correctly on Android. (1376786)

  • Prefabs: Fixed crash when you hide flags on PrefabInstance objects with a missing source prefab. (1381563)

  • Scene/Game View: Reduced CPU use when hovering an Overlay. (1381613)

  • Undo System: Fixed a crash resulting from undoing object creation with unregistered child objects. (1382649)

  • Universal Windows Platform: Fixed Application.targetFrameRate rendering at a significantly lower frame rate than specified.

  • VFX Graph: Fixed Particles Simulation to behave as expected on paused effect. (1355385)

Known Issues in 2021.2.9f1

  • 2D: Unable to find URP 12.1.0 package error when importing Lost Crypt (1388129)

  • AI Navigation: 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)

  • Animation: Playback is incorrect when using Asset Bundle exported from Unity 5.6.7f1 (1390123)

  • Asset - Database: Crash when entering Play Mode and serializing data right after recompilation of script changes (1346442)

  • Asset - Database: Editor hangs on exit when importing Maya files and exiting the Editor (1378586)

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

  • Build Pipeline: Windows build fails when using Deltatre Magma Engine (1382217)

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

  • IL2CPP: "BuildFailedException" and Bee errors are thrown in the Console window when building project for Android (1391435)

  • Inspector Framework: In Record and Preview mode, right clicking Scale does not bring up Animation related features (1365369)

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

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

  • Linux: Editor crashes at "CompareObjectUndo" when rapidly selecting and deselecting vertices in UModeler (1383598)

  • MacOS: [M1] "System is running out of memory" error is thrown when using Profiler as a Standalone Process with Deep Profile turned on (1386242)

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

  • Metal: Stuttering in Play mode when VSync is disabled (1373811)

  • Metal: Application crashes when "Metal Write-Only Backbuffer" is enabled (1379210)

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

  • Mono: Crash on assertion "condition is_ok (error) not met" when entering the play mode (1394314)

  • Networking: UnityWebRequest.SendWebRequest delay occurring in 2019.4.30f1 and above (1382113)

  • OpenGL: Unity crashes when entering "-force-opengl" or "-force-glcore" in the Advanced Project Settings (1374768)

  • Profiling: Profiler's 'Call Stacks' button gets out of sync with PlayerConnection when the button is toggled after connecting to Player (1377934)

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

  • Progressive Lightmapper: Unity 2021.2 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)

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

  • Scene Management: Crash on UndoManager::CheckConsistencyOfAffectedTransforms after undoing script instantiated Prefabs (1382649)

  • Scene Management: Crash when calling hideFlags after removing missing nested prefab (1381563)

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

  • Scene/Game View: TransientSceneViewOverlays are causing RepaintAll and GPU/CPU usage increases to 20-30% when hover over Camera preview window (1381613)

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

  • Scripting: [MacOS] An Unhandled exception is thrown in the Editor.log and Console window when trying to build AssetBundles (1383700)

  • Shader System: Shader stripping crashes when it gets too many variants (1388530)

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

  • Text: Editor crashes on TextCore::FontEngine::GetSystemFontReferencesInternal when opening the project (1382082)

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

  • URP Features: Some lit Shaders are having huge count of variants which leads to project build prevention (1378545)

  • URP Features: [MacOS] Getting Light artifacts in a Scene view with Spot Lights when Android Platform is selected in the Build Settings (1392965)

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

  • Windows: Editor crashes or freezes with 'Copying file failed' error when importing a file from WinRAR Archiver (1325310)

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

2021.2.9f1 Release Notes

Improvements

  • Build System: The linux clang toolchain is now built with a newer bootstrap compiler.

  • Editor: Optimized calculating the size of Undo operations. Making many changes to GameObjects should now be cheaper to add to the Undo system.

  • Physics: Improved the performance of recreating 2D colliders under some circumstances. (1384863)

  • XR: TryGetBoundaryPoints now returns proper boolean values.

API Changes

  • URP: Added: Adaptive Performance Decals scaler access.

Fixes

  • 2D: Fixed case where Atlas Cache is inconsistent after disabling Sprite Packer and deleting atlases outside Unity Editor. (1335900)

  • 2D: Fixed error for ITilemap.Finalize. (1389416)

  • AI: Fixed NavMesh.CalculatePath missing a link exit corner in some situations. (1373302)

  • Android: Fixed an issue where manifest was loosing some permission settings when enabling Split Application Binary for App Bundles. (1388806)

  • Android: Fixed an issue where the Unity icon was overriding the user specified default icon. (1339828)

  • Android: Fixed baking reflectionprobes with Vulkan Editor and build target Android. (1344866)

  • Asset Import: Fixed AssetImportWorkerProcessLoadsPrecompiledDll instability. (1385011)

  • Asset Pipeline: Fixed an issue where importing multiple fonts could cause errors to be thrown by the Asset Database. (1370398)

  • Asset Pipeline: Fixed an issue where user fields in assets containing 'guid' could cause incorrect asset dependencies to be shown. (1384729)

  • Asset Pipeline: Fixed an issue with prefabs reimporting on editor restart. (1382793)

  • Build Pipeline: Fixed an issue where throwing a BuildFailedException in PostProcessSceneAttribute callbacks would not fail the build. (1327550)

  • Editor: Fixed a Crash in certain cases when editing multiple prefab instances. (1383949)

  • Editor: Fixed a crash on startup in the Custom Render Texture Manager for an old AVPro that's using Custom Render Texture for video interpolation. (1362634)

  • Editor: Fixed an issue and now DragAndDrop custom handler is allowed to override Drop on the scene view. (1351057)

  • Editor: Fixed crash when cacheserver was enabled but had no connection string. (1373314)

  • GI: Fixed issues with overlapping lights using shadowmask and wide spot angles. (1367864)

  • Graphics: Fixed a crash when creating a CubemapArray RenderTexture on D3D12. (1295010)

  • Graphics: Fixed an issue with the special Turkish i, when looking for the m_IsGlobal property in VolumeEditor.

  • Graphics: Fixed IES profile importer handling of overflow (outside 0-1 range) of attenutation splines values.

  • Graphics: Fixed race condition when rendering shadows for multiple lights, and using Particle Systems, Line Renderers or Trail Renderers. (1376967)

  • Graphics: Fixed XR support in CoreUtils.DrawFullscreen function.

  • HDRP: Fixed a crash with render graph viewer when render graph is not provided with an execution name.

  • HDRP: Fixed a nullref when enabling raycount without ray tracing.

  • HDRP: Fixed a shader warning in the volumetric clouds combine file.

  • HDRP: Fixed a shader warning in UnityInstancing.hlsl.

  • HDRP: Fixed a warning because of a null texture in the lens flare pass.

  • HDRP: Fixed alpha channel display in color picker in Local Volumetric Fog component (the alpha is not used for the fog). (1381267)

  • HDRP: Fixed an issue with Stacklit raytrace reflection.

  • HDRP: Fixed AO dissapearing when DRS would be turned off through a camera, while hardware drs is active in DX12 or Vulkan.
    Fixed an issue in DynamicResolutionHandler when camera request was turned off at runtime, the ScalableBufferManager would leak state and not unset DRS state. (1383093)

  • HDRP: Fixed atmospheric scattering being incorrectly enabled when scene lighting is disabled.

  • HDRP: Fixed auto-exposure mismatch between sky background and scene objects in path tracing.

  • HDRP: Fixed broken debug views when dynamic resolution was enabled. (1365368)

  • HDRP: Fixed broken rendering when duplicating a camera while the Rendering Debugger is opened.

  • HDRP: Fixed build warnings due to the exception in burst code. (1382827)

  • HDRP: Fixed camera bridge action in release build. (1367866)

  • HDRP: Fixed CoC size computation when dynamic resolution is enabled.

  • HDRP: Fixed contact shadow disappearing when shadowmask is used and no non-static object is available.

  • HDRP: Fixed Correlated Color Temperature not being applied in Player builds for Enlighten realtime GI lights ;.

  • HDRP: Fixed custom pass utils Blur and Copy functions in XR.

  • HDRP: Fixed debug window reset.

  • HDRP: Fixed decal performances when they use different material and the same draw order.

  • HDRP: Fixed default numbder of physically based sky bounce from 8 to 3.

  • HDRP: Fixed default value of "Distortion Blur" from 1 to 0 according to the doc.

  • HDRP: Fixed dirtiness handling in path tracing, when using multiple cameras at once. (1376940)

  • HDRP: Fixed edges and ghosting appearing on shadow matte due to the shadow being black outside the range of the light. (1371441)

  • HDRP: Fixed error thrown when layered lit material has an invalid material type.

  • HDRP: Fixed exception on DLSS when motion vectors are disabled (case # 1377986). (1377986)

  • HDRP: Fixed flickering / edge aliasing issue when DoF and TAAU or DLSS are enabled. (1381858)

  • HDRP: Fixed FOV change when enabling physical camera.

  • HDRP: Fixed interpolation issue with wind orientation. (1379841)

  • HDRP: Fixed issue with typed loads on RGBA16F in Volumetric Lighting Filtering.

  • HDRP: Fixed layer lit shader UI.

  • HDRP: Fixed Lens Flare visible when being behind a camera with Panini Projection on. (1370214)

  • HDRP: Fixed light mode not available after switching a light to area "Disc" or "Tube". (1372588)

  • HDRP: Fixed misc shader warnings.

  • HDRP: Fixed missing information in the tooltip of affects smooth surfaces of the ray traced reflections denoiser. (1376918)

  • HDRP: Fixed Nans happening due to volumetric clouds when the pixel color is perfectly black. (1379185)

  • HDRP: Fixed NeedMotionVectorForTransparent checking the wrong flag.

  • HDRP: Fixed Normal Map assiignation when importing FBX Materials.

  • HDRP: Fixed nullref from debug menu in release build. (1381556)

  • HDRP: Fixed objects belonging to preview scenes being marked as dirty during migration. (1367204)

  • HDRP: Fixed option to force motion blur off when in XR.

  • HDRP: Fixed range fields for depth of field. (1376609)

  • HDRP: Fixed rasterized accumulation motion blur when DoF is enabled. (1378497)

  • HDRP: Fixed references to reflection probes that wouldn't be cleared when unloading a scene. (1357459)

  • HDRP: Fixed rendering in the editor when an incompatible API is added. (1384634)

  • HDRP: Fixed screen space shadow debug view not showing when no shadows is available.

  • HDRP: Fixed shader graph errors when disabling the bias on texture samplers.

  • HDRP: Fixed shadow cascade transition not working properly with bias.

  • HDRP: Fixed SpeedTree graph compatibility by removing custom interpolators.

  • HDRP: Fixed spot light shadows near plane.

  • HDRP: Fixed stackLit coat screen space reflection and raytrace reflection light hierarchy and IBL fallback.

  • HDRP: Fixed taa jitter for after post process materials. (1380967)

  • HDRP: Fixed the behavior the max ray length for recursive rendering to match RTR and rasterization.

  • HDRP: Fixed the fade in mode of the clouds not impacting the volumetric clouds shadows. (1381652)

  • HDRP: Fixed the intensity of the sky being reduced signficantly even if there is no clouds. (1388279)

  • HDRP: Fixed the ray tracing fallbacks being broken since an Nvidia Driver Update.

  • HDRP: Fixed the rt screen space shadows not using the correct asset for allocating the history buffers.

  • HDRP: Fixed Tile/Cluster Debug in the Rendering Debugger for Decal and Local Volumetric Fog.

  • HDRP: Fixed timeline not updating PBR HDAdditionalLightData parameters properly.

  • HDRP: Fixed Transparent Depth Pre/Post pass by default for the built-in HDRP Hair shader graph.

  • HDRP: Fixed unsupported material properties show when rendering pass is Low Resolution.

  • HDRP: Fixed various issues with using SSR lighting with IBL fallback for Lit shader with clear coat. (1380351)

  • HDRP: Fixed write to VT feedback in debug modes. (1376874)

  • HDRP: Render Graph object pools are now cleared with render graph cleanup.

  • IL2CPP: Corrected the build of a Windows Standalone player with IL2CPP via the generated Visual Studio project. (1379504)

  • iOS: Fixed a rare crash when quiting app during orientation change. (1389840)

  • Linux: Fixed an issue where Linux Dedicated Server is unable to build if the Linux Standalone support is not installed.

  • macOS: Fixed a bug where Unity apps could crash if shut down quickly after startup. (1272819)

  • Mobile: Fixed an issue where UaaL analytics might get stripped if code stripping is enabled. (1380042)

  • Package Manager: Handled InvalidCastException when the json sample data is not correct, and provided clearer messages for users and developers. (1388453)

  • Particles: Trail material is now restored if module is toggled off then on again. (1363211)

  • Physics: Fixed a crash when switching an ArticulationBody to immovable during a collision event. (1338600)

  • Physics: Fixed ModifiableContactPair.GetFaceIndex not working in CCD generated callbacks. (1381066)

  • Prefabs: Fixed missing required component causing import loop and log spamming. (1319932)

  • Profiler: Fixed a crash when taking memory profiler snapshot with Players built with newer Unity versions. (1386532)

  • Scripting: Cyclic assembly references error shows in SafeMode as well. (1307676)

  • Scripting: Fixed an issue where some properties and methods returning ScriptableObject[] would produce assertion error messages in the console. (1352921)

  • Serialization: Fixed TypeTreeCache cache key computation. (1377929)

  • Shadergraph: Fixed a ShaderGraph warning when connecting a node using Object Space BiTangent to the vertex stage.

  • Shadergraph: Fixed a validation error in ShaderGraph when using the SimpleNoise node both inside and outside a subgraph.

  • Shadergraph: Fixed the behavior of checkerboard node with raytracing.

  • Shaders: Fixed a bug where the clearing of the shader cache for compute shaders was clearing some data that it shouldn't have. The requirements are only built during import so they should persist even when cleared. (1370660)

  • Shaders: Fixed a compiler error with missing splat constructors with some platform compilers. (1352016)

  • Shaders: Fixed a crash when using SV_COVERAGE in a fragment input. (1379259)

  • Shaders: Fixed a memory leak with LocalKeywordState. (1383319)

  • Shaders: Fixed a warning in surface shaders when setting dithercrossfade about upgrading to target 3.0 when the target was already sufficient. (1358042)

  • Shaders: Fixed an issue where the frame debugger was not properly displaying some types like integers with compute shaders. (1345758)

  • UI Toolkit: Added null checks against UXML Traits returning null references. (1372713)

  • UI Toolkit: Fixed issue where the UI Builder would not suggest variables defined in a uss attached to a theme. (1369386)

  • URP: Fixed a performance regression in the 2D renderer regarding the PostProcessPass.

  • URP: Fixed a regression where filtering the scene view yielded incorrect visual results.

  • URP: Fixed decal compilation issue on mac.

  • URP: Fixed incorrect light indexing on Windows Editor with Android target. (1378103)

  • URP: Fixed mismatch on some platforms between Editor-side and Runtime-side implementations of UnityEngine.Rendering.Universal.DecalRendererFeature.IsAutomaticDBuffer(). (1364134)

  • URP: VFX: Incorrect Decal rendering when rendescale is different than one. (1343674)

  • VFX Graph: Fixed null reference exception when opening another VFX and a debug mode is enabled.

  • WebGL: Fixed Unity Editor hang on editor shutdown after doing WebGL Build and Run on Windows. (1388413)

  • Windows: Fixed an issue when setting a cursor, it was very slow when doing it for the first time for a particular texture. (1373881)

  • Windows: Fixed an issue where touch up events getting missed in rare circumstances on some touchscreen devices. (1322180)

  • Windows: Fixed Input.touch APIs not working when both old and new input systems are enabled at the same time. (1382924)

  • XR: Fixed an issue where XRBeginFrame event was added to frame debugger even if VR wasn't enabled. (1374542)

  • XR: XR Management now creates XRGeneralSettingsPerBuildTarget in all places it is requested ensuring that if the loaders exist in the project then XR will be initialized regardless of whether the XR Plug-in Management window has been opened. (1378643)

Known Issues in 2021.2.8f1

  • 2D: [Lost Crypt] Unable to find URP 12.1.0 package error when importing Lost Crypt (1388129)

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

  • Asset Import Pipeline: Crash when entering Play Mode and serializing data right after recompilation of script changes (1346442)

  • Asset Import Pipeline: Editor hangs on exit when importing Maya files and exiting the Editor (1378586)

  • Build Pipeline: Windows build fails when using Deltatre Magma Engine (1382217)

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

  • Inspector Framework: In Record and Preview mode, right clicking Scale does not bring up Animation related features (1365369)

  • iOS: "Main Camera" background color is white when the device Appearance setting is "Light" (1385045)

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

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

  • Linux: Linux Editor crashes at "CompareObjectUndo" when rapidly selecting and deselecting vertices in UModeler (1383598)

  • MacOS: [M1] "System is running out of memory" error is thrown when using Profiler as a Standalone Process with Deep Profile turned on (1386242)

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

  • Metal: Stuttering in Play mode when VSync is disabled (1373811)

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

  • Networking: UnityWebRequest.SendWebRequest delay occurring in 2019.4.30f1 and above (1382113)

  • OpenGL: Unity crashes when entering "-force-opengl" or "-force-glcore" in the Advanced Project Settings (1374768)

  • Profiling: Profiler's 'Call Stacks' button gets out of sync with PlayerConnection when the button is toggled after connecting to Player (1377934)

  • Profiling: [Memory Profiler] Capturing Player built with higher Unity version crashes the Editor (1386532)

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

  • Progressive Lightmapper: Unity 2021.2 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)

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

  • Scene Management: Crash on UndoManager::CheckConsistencyOfAffectedTransforms after undoing script instantiated Prefabs (1382649)

  • Scene Management: Crash when calling hideFlags after removing missing nested prefab (1381563)

  • Scene Management: Editor crashes when simultaneously editing multiple GameObjects (1383949)

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

  • Scene/Game View: TransientSceneViewOverlays are causing RepaintAll and GPU/CPU usage increases to 20-30% when hover over Camera preview window (1381613)

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

  • Scripting: [MacOS] An Unhandled exception is thrown in the Editor.log and Console window when trying to build AssetBundles (1383700)

  • Serialization: [CacheServer] Editor crashes when "IP Address" in Project Settings is empty (1373314)

  • ShaderGraph: Some lit Shaders are having huge count of variants which leads to project build prevention (1378545)

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

  • Shuriken: [URP] Particles are flickering when in Play Mode (1390346)

  • Text: Editor crashes on TextCore::FontEngine::GetSystemFontReferencesInternal when opening the project (1382082)

  • Universal RP: [URP][MacOS] Getting Light artifacts in a Scene view with Spot Lights when Android Platform is selected in the Build Settings (1392965)

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

  • Web Platform: [Windows] After Build And Run, Editor hangs on Shutdown on Windows (1388413)

  • Windows: Editor crashes or freezes with 'Copying file failed' error when importing a file from WinRAR Archiver (1325310)

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

2021.2.8f1 Release Notes

Features

  • Version Control: Added incoming changes overview bar for Gluon workspace.

  • Version Control: Added option to "Save Revision as" to the context menu in the changesets view.

Improvements

  • Documentation: Expanded TextAsset text getter documentation. (1341180)

  • Documentation: Physics: Elaborate on how ForceMode affects the velocity and angular velocity in AddForce/AddTorque.

  • Editor: Improved performance of rendering selection outline in the Scene View.

  • IL2CPP: Enable sparse_hash_map and sparse_hash_set for Android and iOS for lower runtime memory usage.

  • IL2CPP: Improve the run time performance of managed code when script debugging is enabled by lowering the cost of each sequence point check.

Changes

  • GI: Changed to mixed spot/point lights with no shadows to ensure they bake their direct lighting in subtractive lighting mode. (1350852)

  • Physics: Added a new contact modification event to differentiate CCD and discrete callbacks. (1372526)

  • Services: Unity Analytics renamed to Legacy Analytics in order to aid deprecation of the Analytics package.

  • XR: Removing Lumin platform support in the installer.

Fixes

  • 2D: com.unity.2d.psdimporter - Fixed per platform settings does not get applied in Windows platform. (1376608)

  • Android: Fixed "Unable to initialize the Unity Engine" error when building AAB with Split App Binary. (1380909)

  • Android: Fixed an issue where Compass.headingAccuracy did not report one of predefined values giving some indication on accuracy. (1304067)

  • Android: Fixed an issue where the Gradle template placeholder DIR_UNITYPROJECT did not. (1346794)

  • Android: Fixed an issue where the RunInBackground player setting could get modified in the Editor just by switching to the Android platform in the build settings. (1368858)

  • Asset Import: Fixed an issue where additional import progress bar update prior to cache server download was missing. (1352678)

  • Build Pipeline: Fixed an issue to prevent selection of ~/Desktop folder as build target. (1357782)

  • DX12: Fixed a crash when using GL render commands. (1387491)

  • DX12: Fixed an issue where setting RandomWriteTarget and drawing without needing it would prevent subsequent draws from having it bound if they need it. (1375746)

  • Editor: Fixed 'DontSaveInEditor' to work as intended on Prefab instances. (1363573)

  • Editor: Fixed an Editor crash when using -quit command line argument on MacOS. (1362461)

  • Editor: Fixed an Editor crashes on Force Quit when Library folder was deleted and regenerated while editor is running. (1323161)

  • Editor: Fixed an issue were calling Screen.SetResolution with width/height 0, 0 in Device Simulator would not reset resolution to the default one. (1367882)

  • Editor: Fixed an issue where materials did not show Specular texture when using Standard (Specular setup) Shader. (1376325)

  • Editor: Fixed an issue where saving a C# script in Visual Studio or Rider on Windows had sometimes the pop up of the editor progress dialog in front of the IDE. (1365572)

  • Editor: Fixed LookDev main window geometry when opened for the first time. (1382285)

  • Editor: Fixed ReorderableList rendering issues on a secondary display (1371078)

  • Editor: Fixed Shift-selection issues in the Project Window when it's set to use the Two Column Layout. (1361464)

  • GI: Fixed a warning in editor warning "The referenced script (Unknown) on this Behaviour is missing!" which can occur aften opening the Environments Tab of the Lighting Window. (1367809)

  • GI: Fixed an issue where the color temperature mode did not work with Enlighten realtime GI in player builds. (1370438)

  • Graphics: Fixed an issue where Graphics.RenderMeshPrimitives did not work with reflection probes. (1335208)

  • Graphics: Fixed decompressing BC4 and BC5 to RGBA initializing alpha to 0 instead of 1, for example, when using GetPixels(). (1341470)

  • Graphics: Fixed the missing conversion from compressed blendIndices on D3D platform. (1365939)

  • HDRP: Fixed an issue causing Render Graph execution errors after a random amount of time (1379350)

  • HDRP: Fixed some XR devices: Pulling camera world space position from mainViewConstants instead of transform.

  • IL2CPP: Fixed a compiler error in unsafe code using generics. (1382279)

  • IL2CPP: Fixed a crash on Windows ARMv7 platform when parsing a GUID. (1371521)

  • IL2CPP: Fixed an error when building Windows Runtime projects with Script Debugging Enabled. (1379777)

  • IL2CPP: Fixed an issue where blittable types nested in generic types are indeed blittable were not correct. (1368711)

  • IMGUI: Fixed an issue when deleting a material from the Particle System's Inspector the inspector would break. (1379541)

  • iOS: Fixed a crash when switching to autorotation with the only available option being a reverse portrait. (1374229)

  • iOS: Fixed game objects' colors in light mode issue. (1379817)

  • Kernel: Fixed an issue where low bit set in NativeArray buffer pointer assumes NativeArray is created by NativeList.AsDeferredJobArray, which is not always the case. In some cases NativeArray can be created by NativeArray.GetSubArray, where pointer would have lowest bit set for odd byte aligned offset. (1294627)

  • Linux: Fixed an issue where the mouse scroll wheel inputs were ignored when providing inputs through RDP. (1372701)

  • Mono: Ensure Mono DllMap insert of System.Native entry is respected. (1379834)

  • Package Manager: Fixed an issue where the Read More info box link for Experimental package versions did not opens the correct documentation URL. (1385105)

  • Physics: Ensure that HingeJoint2D correctly returns its reaction torque and that the joint break-limits use the absolute magnitude of the reaction torque. (1384707)

  • Physics: Fixed an issue where multi-selecting Articulation Bodies would set some properties to the same value. (1379145)

  • Profiler: Fixed an issue where Mesh cpu data was counted twice (1339862)

  • Scene Manager: Fixed an aligned scene and instantiation behavior issue when loading a new scene between Editor and Build. (1046181)

  • Shadergraph: Fixed how graph errors were displayed when variant limits were reached. (1355815)

  • Shaders: Fixed a crash when accessing ShaderKeywordSet data outside of IPreprocessShaders or IPreprocessComputeShaders callbacks. (1383907)

  • Shaders: Fixed a rare OOB access when using Material.CompilePass. (1383915)

  • Shaders: Fixed an issue to correctly configure build target platform for custom shader targets. (1368666)

  • Shaders: Fixed an issue where counting variants based on usage will no longer make UI unusable for shaders with many variants. (1378555)

  • UI Toolkit: Fixed a wrong warning about PanelSettings not having Theme Style Sheet set when project was loading. (1382287)

  • UI Toolkit: Fixed an issue when applying opacity to text underlay, outline and face. (1379601)

  • UI Toolkit: Fixed an issue where users that don't use '.' as its decimal separator can now input decimal values in the UI Builder when the field allows doing so. (1354172)

  • UI Toolkit: Fixed the "Vector" option not being available for the background image property in the UI Builder. (1379889)

  • URP: Fixed a broken soft shadow filtering issue. (1374960)

  • URP: Fixed an issue where shadow rendering was not working correctly with shader stripping in WebGl. (1381881)

  • URP: Fixed an issue with MSAA falling back to the incorrect value when sample count 2 was not supported on some Android GPUs.

  • Version Control: Fixed a capitalization issue of Pending Changes and File History tab names.

  • Version Control: Fixed migrated projects not downloading correctly from Unity Hub

  • Version Control: Fixed the amount of spacing after the Item column title in the Pending Changes tab.

  • Version Control: Fixed the project view context menu and icons that were missing after Collaborate project migration.

  • Version Control: Removed pin striping from line items in File History tab.

  • VFX Graph: Fixed an issue where automatically offset contexts when a new node was inserted were overlapping.

  • VFX Graph: Fixed an issue with the first release of the VFX Bounds helper.

  • Video: Fixed a crash when aspect ratio was too big. (1347100)

Known Issues in 2021.2.7f1

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

  • Asset Importers: Editor hangs on exit when importing Maya files and exiting the Editor (1378586)

  • Build Pipeline: Windows build fails when using Deltatre Magma Engine (1382217)

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

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

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

  • Inspector Framework: In Record and Preview mode, right clicking Scale does not bring up Animation related features (1365369)

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

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

  • Linux: Linux Editor crashes at "CompareObjectUndo" when rapidly selecting and deselecting vertices in UModeler (1383598)

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

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

  • Metal: GameObject's colors are rendered differently in the iOS build compared to the colors in the Editor (1379817)

  • OpenGL: Unity crashes when entering "-force-opengl" or "-force-glcore" in the Advanced Project Settings (1374768)

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

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

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

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

  • Scene Management: Crash on UndoManager::CheckConsistencyOfAffectedTransforms after undoing script instantiated Prefabs (1382649)

  • Scene Management: Crash when calling hideFlags after removing missing nested prefab (1381563)

  • Scene Management: Editor crashes when simultaneously editing multiple GameObjects (1383949)

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

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

  • Scripting: [MacOS] An Unhandled exception is thrown in the Editor.log and Console window when trying to build AssetBundles (1383700)

  • Serialization: [CacheServer] Editor crashes when "IP Address" in Project Settings is empty (1373314)

  • ShaderGraph: Some lit Shaders are having huge count of variants which leads to project build prevention (1378545)

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

  • Windows: Editor crashes or freezes with 'Copying file failed' error when importing a file from WinRAR Archiver (1325310)

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

2021.2.7f1 Release Notes

Changes

Fixes

  • 2D: Fixed a reordering of Sorting Layers List issue in the Tag Manager. (1376779)

  • Graphics: [VFX] Fixed an issue where there was a useless ApplyShader call with sleeping VFX systems. This has been removed. (1346028)

  • iOS: Fixed a crash when orientation in Awake was set under some circumstances. (1371559)

  • iOS: Fixed an iOS hanging and crashing issue when a call came in. (1368258)

  • License: Fixed a license client issue when a connection was refused on pipe by forcing a relaunch. (1377916)

  • macOS: Fixed an issue where Mac standalone player builds would fail if using a custom icon and building an Xcode project.

  • macOS: Fixed an issue where switching between development and release players would cause player builds to fail. (1367944)

  • Package Manager: Fixed an issue where the BuiltIn documentation link did not open the right editor version url. (1376379)

  • UI Toolkit: Fixed an alignment of custom property drawers and nested property fields issue. (1350566)

  • UI Toolkit: Fixed an issue where the canvas document styling was broken after Save. (1378420)

  • UI Toolkit: Fixed an issue where the duplicate mouse entered and left events on composite root elements during the AtTarget propagation phase. (1367771)

  • UI Toolkit: Fixed an issue where the Editor was using of the UI Builder package instead of the built-in version.

  • UI Toolkit: Fixed an issue where transitions sometimes did not animating after the first transition. (1367510)

  • UI Toolkit: Fixed an TextField IndexOutOfRangeException issue when entering playmode. (1374412)

  • Visual Scripting: Fixed a regression where AOT Stubs were not being generated correctly, causing AOT builds to fail when run.

Known Issues in 2021.2.6f1

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

  • Asset Importers: Editor hangs on exit when importing Maya files and exiting the Editor (1378586)

  • Build Pipeline: Windows build fails when using Deltatre Magma Engine (1382217)

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

  • IMGUI: Editor crashes or freezes with 'Copying file failed' error when importing a file from WinRAR Archiver (1325310)

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

  • Inspector Framework: In Record and Preview mode, right clicking Scale does not bring up Animation related features (1365369)

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

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

  • Linux: Linux Editor crashes at "CompareObjectUndo" when rapidly selecting and deselecting vertices in UModeler (1383598)

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

  • Metal: Consistent Gfx.WaitForPresentOnGfxThread 5-10ms spikes when using Metal API (1378985)

  • Metal: GameObject's colors are rendered differently in the iOS build compared to the colors in the Editor (1379817)

  • OpenGL: Unity crashes when entering "-force-opengl" or "-force-glcore" in the Advanced Project Settings (1374768)

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

  • Progressive Lightmapper: Unity 2021.2 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() (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: Crash on UndoManager::CheckConsistencyOfAffectedTransforms after undoing script instantiated Prefabs (1382649)

  • Scene Management: Crash when calling hideFlags after removing missing nested prefab (1381563)

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

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

  • Scripting: [MacOS] An Unhandled exception is thrown in the Editor.log and Console window when trying to build AssetBundles (1383700)

  • Serialization: [CacheServer] Editor crashes when "IP Address" in Project Settings is empty (1373314)

  • ShaderGraph: Some lit Shaders are having huge count of variants which leads to project build prevention (1378545)

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

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

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

2021.2.6f1 Release Notes

Improvements

  • Asset Import: It is now possible to control the execution order of AssetPostprocessor.OnPostprocessAllAssets by defining the dependencies using the attributes RunAfterClassAttribute, RunBeforeClassAttribute, RunAfterAssemblyAttribute, RunBeforeAssemblyAttribute, RunAfterPackageAttribute and RunBeforePackageAttribute.

  • Serialization: Improved the use of SerializationCache.

  • Shaders: Shader binary compression is now utilizing more than one core. (1375627)

Fixes

  • 2D: Fixed a 2D URP Template Global Light with shadow settings enabled issue that was breaking batching.

  • 2D: Fixed an issue where Tilemap.SetTiles was not setting a default color of White for the set Tiles. (1380847)

  • Android: Fixed an issue were Touches were not registered when Samsung S Pen was used to touch screen. (1370814)

  • Android: Fixed an issue where IBeginDragHandler.OnBeginDrag and IDragHandler.OnDrag were triggered when using Samsung S-Pen. (1364109)

  • Android: Fixed an issue where the Stylus input was not treated as a touch rather than mouse in the older input system. (1246579)

  • Android: Fixed ClassNotFoundException errors mentioning classes in com.google.android.play.core.assetpacks package when play.core dependency was not added to the project. (1379427)

  • Android: Fixed leaked Java local reference issue when new Java object was created. (1366122)

  • Editor: Fixed an issue when double clicking on a folder in ActivityWindow the animation with folder name was rendered in a wrong place. (1366893)

  • Editor: Fixed an issue where last opened project was not loaded during license activation in batchmode if no project path was specified explicitly (-createproject, -projectpath, -openfile flags). (1337076)

  • Editor: Fixed an issue where the model preview window did not render UVs due to back face culling being turned on. (1379783)

  • Editor: Remove all usage of Search template since it is a 22.1 feature. This was removed from menus and asset code.

  • GI: Fixed an issue where light probe did not produce valid output when punctual light overlapped it. (1242829)

  • GI: Fixed an issue where setting baked light probe coefficients to an empty array caused a crash. (1342068)

  • GI: Fixed an issue where switching a texture importer to Lightmap type would change the appearance of the texture preview when in Linear color space. (1352673)

  • Graphics: Fixed a D3D12 error that was displayed in the Console Window when using ray payloads smaller than 16 bytes in size in ray tracing shaders.

  • Graphics: Fixed an issue were the correct pass was not set for the current active sub shader. (1307728)

  • Graphics: Fixed an issue where mip map streaming did not work after setting a material with streamable textures on a renderer. (1302707)

  • Graphics: Fixed an issue where there was missing GraphicsBuffer versions of DrawProceduralIndirect script APIs. (1372936)

  • Graphics: Fixed the Mac Metal editor or standalone player sometimes freezing while being resized when Vsync is disabled. (1375973)

  • IL2CPP: Fixed a crash in stack trace building code an when exception was thrown in async methods. (1377750)

  • IL2CPP: Fixed an incorrect exception filter handler on try blocks with multiple catch blocks (1335434)

  • IL2CPP: Fixed an incorrect ordering of some field reads when Smaller (faster) builds were enabled. (1378235)

  • IL2CPP: Fixed the order of operations for Thread Volatile Read and Write. (1373882)

  • Input: Fixed an issue where Windows editor and Windows player would freeze during startup when the new input system was enabled and a USB device with 65535 / 0xffff usages was connected to the computer. (1373945)

  • iOS: Fixed an issue where an extra frame would not be rendered on iOS when "Render Extra Frame on Pause" was enabled in iOS player settings. (1362184)

  • Linux: Fixed an issue where undocking editor windows would cause the entire main window to scroll on Linux. (1359135)

  • Networking: Fixed an issue where UnityWebRequest gave a warning when setting the Accept-Encoding header. (1355007)

  • Profiler: Fixed an issue where Gfx Used and Reserved Memory were not from counters available in release players. The underlying code in memory manager which counts the value was compiled out due to performance reasons and the counter value can not be set. (1339707)

  • Profiler: Remove subscription to counters in native profiler plugins to reduce overhead when platform profiler is attached (1378190)

  • Scene/Game View: Fixed a SceneView Zoom issue across multiple tabs when a mouse wheel was used. (1377063)

  • Scene/Game View: Fixed an issue MonoBehaviour icons were not rendered in Scene View when selected. (1379500)

  • Scene/Game View: Fixed an issue where Component Tools targeting a Tool Context did not displaying correctly in the Tools Overlay.

  • Scripting: Fixed CultureInfo.CurrentCulture setter that was crashing when it was called before ever querying the existing current culture. (1375944)

  • Scripting: Fixed CultureInfo.CurrentCulture throwing an exception on some locales (for instance, en-DE). (1375955)

  • Scripting: Fixed [RuntimeInitializeOnLoadMethod] in classes both namespaced and nested. (962800)

  • Serialization: Fixed an issue with fields on SerializeReference instances within Prefab losing their override when entering play mode. (1383439)

  • Shaders: Fixed a rare crash when a shader uses more than 128 keywords. (1374696)

  • Shaders: Fixed build failing when a shader from always included list has 1M variants before stripping (1379096)

  • Shaders: Fixed incorrect keyword state used for frame debugger when a shader was compiled asynchronously. (1375713)

  • Shaders: Fixed LocalKeyword.type, LocalKeyword.isOverridable and LocalKeyword.isValid that crashed Unity when called on an unitialized LocalKeyword. (1376999)

  • uGUI: Fixed an issue where the localPosition was validated each time an object was reset. (1367658)

  • UI Toolkit: Fixed a USS variable resolution issue with ScalableImage url. (1383151)

  • UI Toolkit: Fixed an issue when loading a project that contained a dialog that was embedded in the editor, the dialog's CreateGUI callback was invoked after the Awake and OnEnable callbacks. (1326173)

  • UI Toolkit: Fixed an issue where DropdownField's menu would have an offset in runtime under certain hierarchies. (1345802)

  • Universal Windows Platform: Fixed an issue were Application.internetReachability did not correctly detect the internet being unreachable when there was a LAN connection but no way to the actual Internet. (1351079)

  • Universal Windows Platform: Fixed an issue where strong assembly names were removed when building from Unity. (1375938)

  • Universal Windows Platform: Fixed an issue where the Screen.currentResolution.refreshRate did not return the actual screen refresh rate. (1373342)

  • Universal Windows Platform: Fixed packaging app fails with error "Merge failure for shared merged PRI file : error 0x80070490" when building a fat app package for both x64 and ARM64. (1375766)

  • Video: Fixed a crash on MediaEncoder_CUSTOM_Internal_AddFrame_Injected when pushing a frame into MediaEncoder that has been disposed. (1368301)

  • Windows: Fixed an issue where there were missing window resize events when on demand rendering was used. (1324843)

  • XR: Fixed crash on Oculus Quest devices related to foveated rendering. (1382093)

Known Issues in 2021.2.5f1

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

  • Build Pipeline: Windows build fails when using Deltatre Magma Engine (1382217)

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

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

  • Linux: Editor crashes at "__assert_fail_base.cold" when opening a project (Linux) (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)

  • Scene/Game View: Icon attached to MonoBehaviour script disappears when Selecting the GameObject (1379500)

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

  • Serialization: [CacheServer] Editor crashes when "IP Address" in Project Settings is empty (1373314)

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

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

2021.2.5f1 Release Notes

Features

  • Input System: Added support for PS5 DualSense controllers on Mac and Windows.

  • Version Control: Added empty state and success message for Pending Changes tab.

  • Version Control: Added metrics for Branches tab functionalities.

  • Version Control: Added option to "Add to ignore file" in context menu in the project view.

Improvements

  • Editor: Added an Information Entry when the player data is rebuilt with 'Development' checkbox off. The message will be 'Rebuilding Data files because BuildOptions.Development is not set.' (1364982)

  • Input System: Improved creating single vs multi-touch touchscreen bindings in the Input Action Asset editor by making both options visible in the input action dropdown menu. Now it's not neccessary to be aware of the touch\*/press path binding syntax. (1357664)

  • Scripting: Added TextAsset.GetData that returns a NativeArray view into the data without memory allocations. (1376503)

Changes

  • HDRP: Depth of Field is now disabled in orthographic cameras - it was using the hidden perspective settings. (1372582)

  • HDRP: Integrate a help box to inform users of the potential dependency to directional lights when baking.

  • HDRP: Maximum light count per fine prunned tile (opaque deferred) is now 63 instead of 23.

  • Input System: When exceptions occur in user code inside of Input System callbacks, the exception message is now printed first and details about the callback second to avoid hiding exception details.

  • Package: Updated OpenXR package version to 1.3.0. Full package release notes available here:
    https://docs.unity3d.com/Packages/[email protected]/changelog/CHANGELOG.html

  • Package: Updated Recorder package to version 3.0.2. Full package release notes available here:
    https://docs.unity3d.com/Packages/[email protected]/changelog/CHANGELOG.html

  • Package: Updated Searcher package version to 4.9.1. Full package release notes available here:
    https://docs.unity3d.com/Packages/[email protected]/changelog/CHANGELOG.html

  • Package: Updated Tutorial Framework version to 2.1.1. Full package release notes available here:
    https://docs.unity3d.com/Packages/[email protected]/changelog/CHANGELOG.html

  • Version Control: Changed the default metadata columns shown in the Incoming Changes screen.

  • Version Control: Removed pinstriping in the Gluon Incoming Changes window.

  • Version Control: Removed the "Nothing to download" bar from the Incoming Changes window when there are no items to download.

  • Version Control: Updated the alignment of sorting arrows to the right of the column.

  • XR: Added SRP batcher support for late latching.

Fixes

  • Android: Fixed an issue where Resource.Load did not work when running universal.apk were created from AAB which was built with Split Application Binary option that was enabled. Note: In universal.apk, Bundletool includes only install-time delivered asset packs, so resource loading can still fail if Unity creates fast-follow delivered core data asset pack. (1363907)

  • Audio: Fixed a crash that would occur when removing a custom filter from a game object and then stopping the associated audio source. (1363271)

  • DX12: Fixed linear colorspace screenshots being broken when swapchain resolution mismatched with window resolution. (1379073)

  • Editor: Fixed an issue where PropertyField methods was not including ReorderableList children by default. (1336112)

  • Editor: Fixed an issue where the game view maximized instead of tab being switched when clicking on a tab docked in the same window as the Game View window while in playmode in the Linux Editor. (1350901)

  • GI: Fixed rare infinite loop issue when baking reflection probes while shaders were asynchronously compiling. (1376248)

  • Graphics: Fixed a crash when PreviewRenderUtility.BeginPreview() was not properly followed by EndPreview(). (1338040)

  • Graphics: Fixed a crash when using ray tracing shader passes that are part of a fallback shader. (1369861)

  • Graphics: Fixed an issue when changing volume profiles at runtime with a script. (1364256)

  • Graphics: Fixed an issues on vulkan library on initialization and on AMD gpus. (1373442)

  • Graphics: Fixed serialization of DebugStateFlags where the internal Enum were not being serialized.

  • HDRP: Fixed a build-time warning regarding light loop variants. (1372256)

  • HDRP: Fixed a crash issue when adding an area light on its own.

  • HDRP: Fixed a regression that was introduced in the diffuse denoiser.

  • HDRP: Fixed an exception when the user did not set one of the renderers of a given LOD. (1372965)

  • HDRP: Fixed an infinite import loop of materials when there is no HDMetaData generated by the ShaderGraph.

  • HDRP: Fixed an issue where pyramid blur was being corrupted when hardware DRS was on. (1372245)

  • HDRP: Fixed an issue with area light support for hair.

  • HDRP: Fixed an issue with mixed cached shadow for area lights.

  • HDRP: Fixed and optimize distance shadowmask fade.

  • HDRP: Fixed compilation errors when using Elipse, Rectangle, Polygon, Checkerboard, RoundedPolygon, RoundedRectangle in a ray tracing shader graph. (1377610)

  • HDRP: Fixed emissive value when switching between HDR and LDR mode.

  • HDRP: Fixed film grain and dithering when using spatial upscaling methods for DRS.

  • HDRP: Fixed focus distance in path traced depth of field now takes into account the focus mode setting (volume vs camera).

  • HDRP: Fixed geometry scale issue with the Eye Shader.

  • HDRP: Fixed light unit conversion after changing mid gray value.

  • HDRP: Fixed motion vector buffer not accessible from custom passes in the BeforeTransparent, BeforePreRefraction and AfterDepthAndNormal injection points.

  • HDRP: Fixed outdated documentation about recursie ray tracing effects support.

  • HDRP: Fixed outdated documentation about supported GPUs for ray tracing.

  • HDRP: Fixed performance on PrepareLightsForGPU by burstifying light loop.

  • HDRP: Fixed public API to reset path tracing accumulation and check its status.

  • HDRP: Fixed rendertarget ColorMask in Forward with virtual texturing and transparent motion vectors.

  • HDRP: Fixed sky override layer mask having no effect.

  • HDRP: Fixed stencil buffer resolve when MSAA is enabled so that OR operator is used instead of picking the last sample.

  • HDRP: Fixed the bad blending between the sun and the clouds. (1373282)

  • HDRP: Fixed the point distribution for the diffuse denoiser sometimes not being properly intialized.

  • HDRP: Fixed Z axis orientation when sampling 3D textures in local volumetric fog.

  • Input System: Fixe an issue where any unhandled exception in InputManager.OnUpdate failed latter updates with InvalidOperationException: Already have an event buffer set! Was OnUpdate() called recursively?. Instead the system will try to handle the exception and recover into a working state.

  • Input System: Fixed "Default constructor not found for type UnityEngine.InputSystem.iOS.LowLevel.iOSStepCounter" any other potential exceptions due to classes, methods, fields and properties being stripped when managed stripping setting set to medium or high. (1368761)

  • Input System: Fixed a performance issue on entering/exiting play-mode where HID device capabilities JSON could be parsed multiple times for a single device. (1362733)

  • Input System: Fixed a problem where only using runtimes that are not XR supported causes a compile error. This fix adds back in ENABLE_VR checks to prevent this issue.

  • Input System: Fixed an issue that broke the VirtualMouseInput component in the editor. (1367553)

  • Input System: Fixed an issue where explicitly switching to an already active control scheme and device set for PlayerInput would cancel event callbacks for no reason when the control scheme switch would have no practical effect. This fix detects and skips device unpairing and re-pairing if the switch is detected to not be a change to scheme or devices. (1342297)

  • Input System: Fixed an issue where InvalidOperationException was thrown if an input for an action with multiple interactions is held while disconnecting the device. (1354098)

  • Input System: Fixed an issue where resetting an action via InputAction.Reset() while being in disabled state would prevent the action from being enabled again. (1370732)

  • Input System: Fixed current being null for sensors (Accelerometer.current, others). (1371204)

  • Input System: Fixed input action for Android gamepad's right stick will be correctly invoked when only the Y-axis is changing. (1308637)

  • Input System: Fixed action.ReadValue and others returning invalid data when used from FixedUpdate or early update when running in play mode in the editor. (1368559)

  • Input System: Generic gamepad short display button names where incorrectly mapped on Switch (A instead of B, etc).

  • Profiler: Fixed a crash when exiting Unity Editor related to UnsafeUtility.Malloc usage. (1377694)

  • Serialization: Fixed missed invocations of ISerializationCallbackReceiver.OnAfterDeserialization and asserts arising when that interface is implemented on structs inside a MonoBehaviour or ScriptableObject class, along with the presence of SerializeReference fields. (1372710)

  • Shadergraph: Fixed a ShaderGraph warning when connecting a node using Object Space BiTangent to the vertex stage. (1361512)

  • Shadergraph: Fixed a usability issue where in some cases searcher would suggest one collapsed category of results that user would have to manually expand anyway.

  • Shadergraph: Fixed an issue that caused exceptions to be thrown when using the up/down arrow keys with search list focused. (1358016)

  • Shadergraph: Fixed an issue that caused incorrect search results with non whitespaced queries for nodes with spaces in their name and for subgraphs. (1359158)

  • Shadergraph: Fixed an issue that caused search results to not be visible sometimes in the searcher window. (1366061)

  • Shadergraph: Fixed an issue that caused some searcher items to be irreversibly collapsed due to expand icon disappearing on collapsing those items.

  • Shaders: Prevent shader cache from growing infinitely. Shader cache is now organized into per asset folders. (1339314)

  • UI Toolkit: Fixed an issue where the element under pointer was not updated when pointer position varied very slowly (subpixel amounts on each update). (1356041)

  • Universal Windows Platform: Fixed a generated Visual Studio project issue when building to Universal Windows Platform with Visual Studio 2022. (1378086)

  • URP: Fixed a performance regression for 2D shaders where alpha discard was disabled. (1335648)

  • URP: Fixed an issue where installing the Adaptive Performance package caused errors to the inspector UI. (1368161)

  • URP: Fixed an issue where the Convert Renderering Settings would cause a freeze. (1353885)

  • URP: Fixed disabled debug lighting modes on Vulkan and OpenGL following a shader compiler fix.

  • URP: Fixed incorrect behavior of Reflections with Smoothness lighting debug mode.

  • URP: Fixed post processing with Pixel Perfect camera. (1363763)

  • Version Control: Fixed a console error when selecting an object in Scene view hierarchy or creating a new asset.

  • Version Control: Fixed NullReferenceException after closing the Plastic SCM window.

  • Version Control: Fixed UI overlays in Project view that was missing on changed assets when force checkout was disabled.

  • VFX Graph: Fixed a performance drop when Windows screen DPI setting was set to custom values (like 125%).

  • VFX Graph: Fixed an issue where there were extra nodes in Ribbon template. (1355602)

  • VFX Graph: Fixed the compilation error while using not exposed texture in ShaderGraph.

  • WebGL: Fixed a fullscreen mode issue on Safari. (1347304)

  • WebGL: Fixed AudioSource.loop property when using AudioSource.PlayScheduled() and AudioSource.PlayDelayed(). (1337312)

  • Windows: Fixed an issue where SystemInfo.operatingSystem did not recognize Windows 11. (1372750)

  • Windows: UnityCrashHandler.exe will no longer inherit all Windows handles from the editor/player when launched, which should eliminate some problems with it causing files to be locked unnecessarily.

  • XR: Fixed an issue where UnitySubsystemsManifest.json file was added to the app bundle instead of apk while building XR app for Android with Build App Bundle option. (1379905)

  • XR: Fixed for late latching pre drawcall performance regression and world space UI and terrain always drawn at origin. (1337356, 1337972, 1337973)

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)

Known Issues in 2021.2.3f1

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

  • Asset Import Pipeline: Crash on OnDemandScheduler::SetStandbyWorkerCount when opening a project with a symbolic link in it (1370389)

  • CodeEditors: Attaching an icon to a MonoBehaviour script disappears when Selecting the Game Object (1379500)

  • CodeEditors: Crash on stopping debugging (1355156)

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

  • Input: Touch Input doesn't work in Play Mode when running an Editor on a Touchscreen device (1341159)

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

  • 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 in (nvopencl64) clGetPlatformInfo after enabling Auto Generate checkbox at the end of GI Bake (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)

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

  • Scripting: Crash in CombineMeshFiltersForStaticBatching after switching active additively loaded scenes and entering Play mode (1377416)

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

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

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

  • Templates: Editor crashes when exiting and keeping a tutorial project (1338299)

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

Features

  • Version Control: Added visual overview bar to the incoming changes tab
    Added progress dialog for the migration process
    Added Branches tab that shows a list of all branches in the repository
    Added option and dialog to create a child branch from selected branch.
    Added option to switch to another branch
    Added option and dialog to rename a branch
    Added option to delete a branch
    Added a preference to save if the window should open the Branches tab by default
    Added metrics for Plastic SCM installation window usage

Improvements

  • Graphics: UX Improvements on the material editor

  • IL2CPP: Use intrinsics for System.Runtime.CompilerServices.Unsafe methods

  • Package: 2021.2/backport-udp-2.2.3 to 2021.2/staging

  • Scripting: Add GameObject link to Warning message: "SendMessage cannot be called during Awake, CheckConsistency, or OnValidate.".

  • Stadia: Adds missing Copy/Paste functionality (1361998)

  • Undo System: Improved performance of undo for pasting multiple objects

Changes

  • 2D: Updated 2D Template to use new package format structure.

  • 2D: Updated 2D URP Template to use new package format structure.

  • Graphics: Mark OpenGL ES 2.0 as deprecated in Graphics API selection UI

  • Package: com.unity.purchasing has been updated to 4.1.1

  • Package: Updates com.unity.cinemachine to 2.8.2

  • uGUI: Updated the context menu order and grouped all non-TMP game objects and components under legacy.

  • Version Control: Updated status bar notification icons
    Updated texts for workspace modes selection and checkin comment box

Fixes

  • 2D: Fixed 2D URP project template opens "Untitled" scene instead of "SampleScene". (1368664)

  • AI: Fixed issue where the method SamplePosition did not consider detail mesh for sampling. (1325627)

  • Android: Fixed a bug related to using a touchpad with Unity UI scroll rects. Touchpad scrolling is much more sensitive now on Android and Chrome OS. (1364582)

  • Audio: Fixed audio mixer (and potentially other audio components) causing a crash on dedicated server. (1365720)

  • Editor: Fixed a console break when selecting a console message. (1369098)

  • Editor: Fixed disappearing ReorderableList elements when reordering. (1353883)

  • Editor: Fixed PackageManager memory leak when continuously opening the window. (1362559)

  • Editor: SerializedProperty.tooltip will now contain Tooltip attribute values when available. (1359356)

  • Editor: When performing an incremental build, Unity will clean intermediate build folders, if it detects that previous build was done with a different bee backend. (1371602)

  • Graphics: Added MSAA depth resolve Vulkan support.

  • Graphics: DX12 task executor no longer executes other jobs when waiting that could lead to deadlocks. (1366202)

  • Graphics: Fixed D3D12 validation error on render target and pipeline state sample count mismatch. (1371812)

  • Graphics: Fixed Graphics.CopyTexture behavior when the specified region is not aligned with compression block size. (1366297)

  • Graphics: Fixed high memory usage when running Unity in batch mode and importing a high number of assets. (1337474)

  • Graphics: Fixed incorrect compression of 8k ETC textures using the Crunch compressor. (1346908)

  • Graphics: Reverted an unintended API change. (1352178)

  • Graphics: Vulkan on EmbeddedLinux spamming "GetGfxDevice() should only be called from main thread".

  • IL2CPP: Correct an error during code conversion for an abstract method that provides an interface method implementation in an abstract base class. (1361812)

  • IL2CPP: Fixed multicast invoke calls to generic methods. Fixes runtime exceptions when de-serializing generic classes. (1374185)

  • IMGUI: Fixed GUILayout.Label changes colour when hovered over with mouse. (1358117)

  • iOS: Fixed erroneous ads enabling.

  • Linux: Key presses are now consistent with the "Use Physical Key" option in Input Manager settings. (1330732)

  • Mono: Fixed issue where System dlls were being treated as if they were plugin dlls which would cause them to get incorrectly removed from the build. (1373389)

  • Package Manager: Always keep the package manager toolbar active during refresh operations.

  • Package Manager: Fixed the issue when the list don't scroll to selected item when using arrow key sometimes. (1371678)

  • Package Manager: Implement asset's Re-Download button to fix issue when using multiple Unity versions and have one asset version cached. (1371056)

  • Package Manager: Removed special character in users initials to be in sync with Hub and Asset store. (1377478)

  • Particles: Added "enabled" script API to the ParticleSystemForceField, to turn a force field on/off. (1366533)

  • Particles: Removed slow type lookup code from SetParticles and GetParticles. (1373296)

  • Physics: Improved stability of Rigidbody2D XY constraints when X or Y constraint are used independent of each other. (1373134)

  • Physics: Stopped PhysicsShapeGroup2D producing GC waste when adding new physics shapes even when physics shape capacity wasn't reached. (1377116)

  • Profiler: Update Profile Analyzer package version to 1.1.1, which includes two bug fixes. Release notes available at https://docs.unity3d.com/Packages/com.unity.performance.profile-analyzer@latest/index.html?subfolder=/changelog/CHANGELOG.html.

  • Search: Enable Show Package Results for the find provider (find:). (1377480)

  • Search: Fixed New table view columns should be based on the selected search group. (1371705)

  • Search: Fixed NullReferenceException after switching Description column format to Performance metric. (1364701)

  • Search: Fixed search picker fails to filter sprite assets. (1371778)

  • Stadia: Fixes Backspace and Tab not working within TextMeshPro input field. (1362018)

  • Stadia: Fixes IMGUI's TextField not receiving text input. (1222926)

  • Universal Windows Platform: Fixed build time scaling non-linearly based on the number of build output files. (1374725)

  • Universal Windows Platform: Fixed issue where UWP UnityWebRequests were not properly working with https. (1375004)

  • Universal Windows Platform: Fixed Screen.dpi returning 0. (1376703)

  • Version Control: Fixed inverted text for the force checkout option
    Fixed typing capital O in checkin comment would open the selected item
    Fixed loading indicator not centered on Plastic SCM installation window
    Fixed installing Plastic SCM would sign out user from the plugin
    Removed extra refresh button on Gluon's Incoming Changes tab
    Fixed loading indicator not centered on Plastic SCM installation window
    Fixed missing Plastic SCM window option when user is not signed in on Unity Hub
    Removed meta file warning message for the deleted Beta folder
    Fixed Plastic SCM menu missing from Project view context menu

  • Video: Fixed a crash caused by importing, reimporting or transcoding a video file in the Editor (Mac Only). (1330537)

  • WebGL: Obsoleted the old Emscripten JS string marshalling function Pointer_stringify(). Instead, use the function UTF8ToString(). (1369748)

  • WebGL: Removed the assertion with touch events that assumes that browser would create new Touch event objects for each generated touch event. This does not hold at least for Firefox for Android. This fix takes into account that TouchEvent.changedTouches and TouchEvent.targetTouches are not subsets of the "full" TouchEvent.touches array in Firefox when updating the touch list. (1354245)

  • Windows: Fixed development builds not working on machines that don't have VC++ runtime installed. (1367532)

  • XR: Fixed XR plugin interface depth issue. (1376203)

  • XR: Removed disable of showHologram support for HoloLens devices. (1375195)

  • XR: Updated the verified AR Foundation related packages to 4.2.1. Please see the AR Foundation package changelog for details.

Known Issues in 2021.2.2f1

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

  • Asset Bundles: Building process of the AssetBundles is slow when there is a huge filecount. (1358059)

  • Asset Import Pipeline: Crash on OnDemandScheduler::SetStandbyWorkerCount when opening a project with a symbolic link in it (1370389)

  • CodeEditors: Crash on stopping debugging (1355156)

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

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

  • Global Illumination: [GPU PLM] Crash in (nvopencl64) clGetPlatformInfo after enabling Auto Generate checkbox at the end of GI Bake (1379762)

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

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

  • IL2CPP: System.Runtime.Serialization.Formatters.BinaryFormatter doesn't work when Project is build with IL2CPP Scripting Backend (1374185)

  • Input: Touch Input doesn't work in Play Mode when running an Editor on a Touchscreen device (1341159)

  • Input: [macOS] Text input lags by one keystroke when inputting text in the Editor (1376732)

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

  • MacOS: [Mac] Performance regression in Editor UI (1376273)

  • Mono: Microsoft.Extensions.Logging Nuget Package causes errors in console when built into UWP with .NET Standard 2.1 (1373389)

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

  • Scene/Game View: Tool handles are invisible in Scene View when certain objects are selected (1374532)

  • Scripting: Crash in CombineMeshFiltersForStaticBatching after switching active additively loaded scenes and entering Play mode (1377416)

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

  • Templates: Editor crashes when exiting and keeping a tutorial project (1338299)

  • uGUI: UI handles in scene view are detached from UI elements (1376302)

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

Improvements

  • Physics: Change "Collider2D.GetShapeHash()" so that it calculates the hash incrementally rather than when entirely when it is called. This results in the time take being constant rather than scaling as the number of physics shapes increases.

  • Visual Scripting: Eliminating domain reload cost for users when not using Visual Scripting

API Changes

  • Apple TV: Added: Added identifier for 2nd generation Apple TV 4K.

  • Apple TV: Changed: Changed identifiers for Apple TV HD and first generation Apple TV 4K.

  • Editor: Added: EditorStyles.iconButton is now public so custom editor windows can implement help, settings and other icon buttons

  • iOS: Added: Added identifiers for all iPhone 13 models, 6th generation iPad Minis, 9th generation iPads.

  • Shaders: Added: It is now possible to query tags on each subshader and pass (1363534)

  • URP: Added: URP global setting for stripping off shader variants.

  • URP: Added: URP global setting for stripping post processing shader variants.

Changes

  • HDRP: Changed the max distance for Light Anchors to avoid unstability with high values. (1362802)

  • HDRP: In path tracing, camera ray misses now return a null value with Minimum Depth > 1.

  • Package: com.unity.purchasing has been updated to 4.1.0.

  • URP: Main light shadow, additional light shadow and additional light keywords are now enabled based on urp setting instead of existence in scene. This allows better variant stripping.

Fixes

  • 2D: Fixed a case where quads generated in the Skinning Editor would be created with the wrong size and position. (1361053)

  • 2D: Fixed an issue where an error would show up when destroying a Sprite Skin component while deep profling. (1364910)

  • 2D: Fixed an issue where copying mesh and bone data from a .psb containing a single sprite would throw an exception. (1351543)

  • 2D: Fixed an issue where IK Solvers would not be updated when previewing an animation clip. (1354389)

  • 2D: Fixed artifacts on images when flatten for PSDImporter.

  • 2D: Fixed case where colliders do not extend to the end of the sprite texture when Sprite Borders are enabled. (1348701)

  • 2D: Fixed case where Edge and Polygon colliders have missing edges on certain open-ended shapes. (1362440)

  • 2D: Fixed case where enabling Fill Tessellation and setting profile's fill offset to positive causes errors. (1363215)

  • 2D: Fixed case where Sprite Shapes appear only when their pivot is revealed in the Scene view. (1356204)

  • 2D: Fixed exception "PsdInvalidException: Unrecognized layer section type" when importing certain files.

  • 2D: Fixed render texture size error in the Skinning Editor. (1357552)

  • 2D: Removed memory requirement check since we cannot properly determine if there will be enough memory to import the file in PSDImporter. (1338690)

  • 2D: [RuleTile] Fixed error in RuleTileEditor when removing all Rules and adding a new Rule

  • AI: Fixed crash caused by the Navigation system on editor shutdown (1367374)

  • Android: Asset packs located in Packages should be properly supported (1370382)

  • Android: Fixed bug where Display.systemWidth, Display.systemHeight and Screen.resolutions[] is not updated when folding/unfolding a Galaxy Fold device (1345508)

  • Android: Fixed crash when using Application.Quit with Optimized Frame Pacing. (1341467)

  • Animation: Fixed a potential crash when generating asset previews, if destructive methods are called in user callbacks. (1343886)

  • Asset Bundles: Fixed crash when reloading an AssetBundle after recompiling scripts in playmode. (1333402)

  • Asset Import: Configure button now immediately enabled when switching Animation type to Humanoid. (1197249)

  • Editor: Backported fix for a bug which prevented the access token to be refreshed after it expired. This issue required the user to close and reopen the editor every time the access token expired to get it refreshed.

  • Editor: Drag-and-drop in Editor windows no longer raises errors about unfreed allocations (1367401)

  • Editor: Fixed a crash on Apple silicon devices when using crunch compression (1344991)

  • Editor: Fixed erroneous "Unfreed allocations" error messages in the console. (1346970)

  • Editor: Fixed launching a Linux standalone player whose folder is in $PATH (1339398)

  • Editor: Fixed Mask Field not being wide enough for long layer names. (1366623)

  • Editor: Fixed number fields not reverting to zero after becoming empty. (1349798)

  • Editor: Fixed warning when instantiating a read-only scene template with new dependencies. (1368721)

  • Editor: Inspector AnimationCurve field does not try to show both the context menu and the curve editor when right-clicked now. (1312594)

  • Editor: Recent Mac Metal editor change delayed frame updates by 1, affecting selection feedback - this is now fixed. (1374546)

  • Editor: Recent Mac Metal editor change delayed frame updates by 1, affecting undo/redo update time - this is now fixed. (1374538)

  • GI: Fixed crash when generating lighting which calls print function with incorrect parameters. (1368383)

  • Graphics: Descriptor sets were not validated properly under certain circumstances for Vulkan (1300203)

  • Graphics: Fixed alpha dilation filtering when a 16 bit-per-component texture with transparent pixels is imported. (1355265)

  • Graphics: Fixed incorrect NativeArray de-allocation error when using the results of Texture2D.GetPixelData in multiple jobs per frame. (1359263)

  • Graphics: Fixed incorrect texture settings for externally created textures (1358700)

  • Graphics: Fixed player error and memory leak when player window is hidden (1361670)

  • Graphics: Fixed read/write access on NativeArray after an AsyncGPUReadback request is fulfilled (1295472)

  • Graphics: Resolved an issue where AssetPreview.GetAssetPreview would sometimes return a texture in the incorrect color space when the project itself was set to Linear color space. (1364124)

  • HDRP: Fixed emissive value when switching between HDR and LDR mode.

  • HDRP: Fixed performance on PrepareLightsForGPU by burstifying light loop.

  • Input: Recent Mac Metal editor change delayed frame updates by 1, affecting keyboard input lag - this is now fixed. (1375664)

  • iOS: Added support for iPhones, iPads and Apple TV released in 2021. (1367775)

  • Package: Fixed a usability issue where in some cases searcher would suggest one collapsed category of results that user would have to manually expand anyway, now searcher auto-expands the single suggested category
    Fixed searcher bug that caused incorrect search results with non whitespaced queries for nodes with spaces in their name and for subgraphs [1375249]
    Fixed bug that causes search results to not be visible sometimes in the searcher window [1375251]
    Fixed bug that causes exceptions to be thrown when using the up/down arrow keys with search list focused [1375248]
    Fixed bug that causes some searcher items to be irreversibly collapsed due to expand icon disappearing on collapsing those items [1375250]

  • Package Manager: Dragging and dropping Assets in projects that reference the package that they are part of (i.e. most projects that are used to test packages within Unity) will now move the Assets instead of copying them. (1374942)

  • Particles: Fixed particle face-culling when rendering into Cubemaps. (1340494)

  • Particles: Fixed stuttering slow-motion preview when using Custom Data. (1365360)

  • Physics: Fixed an issue with edge selection when editing the PolygonCollider2D or EdgeCollider2D are large Transform scales. (1361571)

  • Prefabs: Fixed Prefab sorting issue that re-arranged order of prefabs due to AddedComponents not being handled properly (1252436)

  • Profiler: Custom Profiler counters using a custom category or a category of Audio or Video now display correctly in the chart view. (1365365)

  • Profiler: Prevented an ArgumentOutOfRangeException occurring in the Module Editor when enabling deep profiling after deleting a module. (1335309)

  • Scene/Game View: Backport for lightmap exposure field negative value fix. (1370679)

  • Scene/Game View: Fixed 2D toggle not correctly positioned when starting a new 2D project (URP) (1368728)

  • Scene/Game View: Fixing GridSize value when using a linked field (1369312)

  • Scene/Game View: Fixing Increment Snapping linked property not working (1351800)

  • Scripting: Fixed assembly corruption (by AssemblyUpdater) in some scenarios where types moved to a different assembly. (1369442)

  • Shadergraph: Fixed a bug that caused the Scene Depth Node in Eye space to not work correctly when using an orthographic camera. (1311272)

  • Shadergraph: Fixed missing shader keyword stage during keyword copying.

  • Shaders: Fixed an issue with Editor using some default data until a shader is imported or compiled. (1369645)

  • UI Toolkit: Exposed ProgressBar.lowValue and ProgressBar.highValue. (1357268)

  • UI Toolkit: Fixed minor instabilities in the layout that would cause text to wrap (1332695)

  • UI Toolkit: Fixed performance test issue for UI Toolkit renderer repaints. (1337832)

  • UI Toolkit: Fixed right-click menu not appearing on Foldout header for hierarchical PropertyFields. (1306190)

  • UI Toolkit: Fixed scissor clipping on hidden elements. (1340827)

  • UI Toolkit: Fixed setting cursor value in :hover selector does not update cursor (1351689)

  • UI Toolkit: Fixed the unstable ellipsis of text (1294350)

  • UI Toolkit: UXML factory types are now preserved automatically (1336612)

  • URP: Added "Conservative Enclosing Sphere" setting to fix shadow frustum culling issue where shadows are erroneously culled in corners of cascades (1153151)

  • URP: Fixed a regression bug where XR camera postion can not be modified in beginCameraRendering (1365000)

  • URP: Fixed an issue where screen space shadows has flickering with deferred mode (1354681)

  • URP: Fixed for rendering thumbnails. (1348209)

  • URP: Fixed ShaderGraph needing updated normals for ShadowCaster in URP.

  • VFX Graph: Compilation error while using not exposed texture in ShaderGraph (1367167)

  • Virtual Texturing: Fixed issue where VT-only textures were rendered as default color in the Player when VT was disabled (1280281)

  • Visual Scripting: AOT prebuild works properly when building a project in batchmode.

  • Visual Scripting: Fixed il2cpp crash caused by infinite recursion when generating AotStubs

  • Visual Scripting: Fixed jitter on fuzzy finder.

  • Visual Scripting: Fixed missing icons when the "Transition End Arrow" is on.

  • Visual Scripting: Fixed missing textures after switching platform.

  • Visual Scripting: Fixed variable duplication not working properly.

  • Visual Scripting: Fixed Welcome Screen not opening the proper graph.

  • Visual Scripting: Restoring the public icon set api.

  • WebGL: Fixed a regression that prevented users from building .jspre plugins in Release mode. (1369085)

  • WebGL: Fixed crash on Oculus Browser when the EXT_multisampled_render_to_texture extension is enabled. (1370782)

  • Windows: Removed error.log generation for crash uploads in favor of editor.log and dmp files. (1278602)

  • XR: Fixed all cameras stop rendering when VR headset is off.

  • XR: Updated XR Interaction Toolkit to 1.0.0-pre.6 and removed it from being a discoverable pre-release package since a 1.0.0 version will not be released in the 2021 Editor version.

Known Issues in 2021.2.1f1

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

  • Asset Bundles: Building process of the AssetBundles is slow when there is a huge filecount. (1358059)

  • Asset Import Pipeline: Crash on OnDemandScheduler::SetStandbyWorkerCount when opening a project with a symbolic link in it (1370389)

  • CodeEditors: Crash on stopping debugging (1355156)

  • Customer QA Onboarding: Entering values into value fields in the Inspector window is delayed (1374222)

  • Customer QA Onboarding: [macOS] Text input lags by one keystroke when inputting text in the Editor (1376732)

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

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

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

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

  • IL2CPP: System.Runtime.Serialization.Formatters.BinaryFormatter doesn't work when Project is build with IL2CPP Scripting Backend (1374185)

  • Input: The first Keyboard Input is Ignored and stored for later when renaming Assets causing all Keyboard Inputs to become mixed (1375664)

  • Input: Touch Input doesn't work in Play Mode when running an Editor on a Touchscreen device (1341159)

  • Inspector Framework: Long Layer names are not fully visible in the drop-down list when selecting it in the Inspector window from Script component (1366623)

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

  • MacOS: [Mac] Performance regression in Editor UI (1376273)

  • Mono: .NETStandard 2.1 in the editor is missing System.Memory, System.Buffers at runtime (1367105)

  • Mono: Microsoft.Extensions.Logging Nuget Package causes errors in console when built into UWP with .NET Standard 2.1 (1373389)

  • Mono: NullReferenceException causes freeze when thrown in the Player (1364311)

  • Profiling: Profiler's timeline view loses context frames when frames go out of Frame Count bounds (1367470)

  • Scene Management: GameObjects, Parameters, and Windows doesn't update correctly on the last steps when doing Undo and Redo (1374538)

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

  • Scene/Game View: Tool handles are invisible in Scene View when certain objects are selected (1374532)

  • Scripting: Crash in CombineMeshFiltersForStaticBatching after switching active additively loaded scenes and entering Play mode (1377416)

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

  • Shader System: Shaders are ignored when executing Build Asset Bundles method from console with -nographics argument (1369645)

  • Templates: Editor crashes when exiting and keeping a tutorial project (1338299)

  • uGUI: Poor performance when loading or unloading a large Scene (1375646)

  • Universal Windows Platform: UnityWebRequest fails on UWP with HTTPS (1375004)

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

API Changes

  • Shaders: Added: Added a possibility to query preprocessed shader data for a given variant (1364378)

Fixes

  • Android: Further improve build times, when sequential build is done with no changes in project. Previously Unity was moving apk/aab from gradle project to final location, thus forcing the gradle to rebuild apk/aab on sequential builds, Unity will perform a copy instead now. Our tests show that sequential build times improved by 50%, for ex., dropping from 12 seconds to 5 seconds. (1361602)

  • Android: Workaround a problem where using logcat would leak pipes on OSX. The underlying problem seems to be with C# Process class, where if you redirect streams and dispose process, the pipes would remain opened. This will be investigated separatly. (1303618)

  • Animation: Fixed an issue where an assert was triggered upon rebuilding an animation legacy component. (1330001)

  • Asset Bundles: Improved performance of Asset Bundle building when many bundles exist. (1358059)

  • Asset Pipeline: Fixed an issue where MonoScripts in plugins that were dependent on plugins in other folders could fail to import when reimporting all assets. (1345854)

  • Asset Pipeline: Fixed exception that Rider would catch when Disposing instances of the ArtifactInfo class. (1359723)

  • Asset Pipeline: Improved opening time of Import Activity Window. (1343709)

  • Audio: Fixed exposing multiple send levels in the audio mixer not working correctly. Note: previously created mixers with exposed send levels will cause a warning to be logged on editor startup and the send levels will have to be re-exposed. (1285638)

  • Editor: Fixed windows editor sometimes getting into a "script assemblies are locked" state after invoking a modal dialog from a C# script. (1367358)

  • GI: Environment lighting should not be affected by the Cast Shadows flag on the Mesh Renderer. (1348581)

  • Graphics: Fixed a crash in ray tracing shaders when different ray payload structures are used throughout shaders that are used in a ray tracing dispatch. (1351293)

  • Graphics: Fixed an issue were TextureIDs could leak upon recreating RenderTextures with explicit stencil views. (1365351)

  • Graphics: Fixed inconsistent behavior of Async Readbacks in the scene view. (1369329)

  • Graphics: Fixed issue where memory would leak from mesh due to mismatching memory labels. (1362505)

  • IL2CPP: Avoid copying the profile.json file output by IL2CPP into the final application package for iOS. (1357923)

  • IL2CPP: Fixed crash in player when Faster (smaller) builds is enabled. (1365032)

  • IL2CPP: Fixed incorrect metadata section size checks (1370667)

  • IL2CPP: Implement support for ConditionalWeakTable which fixes memory a leak. (1338754)

  • iOS: Stop dark mode native mobile input's background from going transparent when it's empty. (1367091)

  • Linux: Fixed Unity splash screen not responding to resize events. (1360542)

  • Mono: Fixed a crash that would occur when a recursive struct was used in user code. (1248911)

  • Mono: Fixed crash that would occur when a generic field was in a struct during burst compilation. (1345245)

  • Mono: Fixed Superluminal symbol integration. (1373568)

  • Particles: Fixed auto-upgrade of Collision Module plane colliders when using Prefab overrides. (1354906)

  • Physics: Fixed the ArticulationDrive.forceLimit to actually use forces instead of impulses. Projects with custom set force limit should review values, and consider dividing them by the simulation delta. (1370338)

  • Profiler: Fixed Timeline view's display of surrounding context frames when the recorded frame count exceeds the amount specified in Preferences/Analysis/Profiler/Frame Count. (1367470)

  • Scene/Game View: Fixed for Scale Handle center handle inconsistencies. (1365337)

  • Scene/Game View: Fixed GUI.Window not working when invoked from Editor.OnSceneGUI. (1358677)

  • Scene/Game View: Fixed SceneViewLighting overlays not being displayed. (1366159)

  • Search: Fixed NullReferenceException is thrown when typing in the Hierarchy window search bar (1360676)

  • Search: Fixed search indexation incremental update of removed components or properties. (1370415)

  • Search: Fixed search item cannot be picked in table view using SearchService.ShowPicker(...) (1371140)

  • Serialization: Prevented, at serialization time, the addition of a SerializeReference instance which is a generic inflated types. (1364524)

  • Shaders: Exceptions in IPreprocessShaders will now fail the build (1357383)

  • Shaders: Fixed a crash when loading shaders with complex fallbacks that contain GrabPasses (1360664)

  • Shaders: Fixed a crash when trying to use a non-UAV texture as ComputeShader UAV property. (1365411)

  • Shaders: Fixed Compile and show code button failing to write the file if the size is over 2 GB (1357761)

  • Shaders: Fixed uintBitsToFloat not doing a conversion from bool argument to uint (1334240)

  • Terrain: User can no longer create brushes so immense that the editor emits an error about not being able to create a RenderTexture that large. (1321932)

  • UI Toolkit: Added more asset conversion types to the Package Asset Converter tool. (1366279)

  • UI Toolkit: Fixed 3 cases of inconsistencies on binding data to UI Toolkit fields. (1353710)

  • UI Toolkit: Fixed element sometimes entering hover state when window is resized. (1290545)

  • UI Toolkit: Fixed incorrect pointer enter events and pointer leave events in playmode using the DefaultEventSystem. (1313220)

  • UI Toolkit: Fixed UXML layout breaking when an asset used in it is deleted from the project. (1351363)

  • UI Toolkit: Fixed VisualElement's editor data bindings not able to be bound to SerializedProperty of type "ulong" to "long" fields. (1303154)

  • Video: Fixed errors being spammed in the Console upon opening imported video in the Inspector tab when Target Platform is set to UWP. (1357597)

  • WebGL: Fixed Firefox crashing on startup. (1360161)

  • XR: Fixed depth/stencil discards not working on Quest GLES. (1350657)

Known Issues in 2021.2.0f1

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

  • Asset Bundles: The build of AssetBundles can be slow when there is a very large filecount. (Z58059](https://issuetracker.unity3d.com/issues/building-process-of-the-assetbundles-is-slow-when-the-file-count-is-huge))

  • Asset Import Pipeline: There is a ArtifactInfo.Internal_Destroy exception thrown when in Play mode while using Rider debugger. (1359723)

  • Asset Import Pipeline: There is a crash in OnDemandScheduler::SetStandbyWorkerCount when opening a project with a symbolic link in it. (1370389)

  • Global Illumination: Scene gets brighter in Standalone player if it was open in the Editor at build time. (1375015)

  • Global Illumination: Progressive Lightmapper falls back to CPU if only light color was changed. (1356714)

  • IL2CPP: System.Runtime.Serialization.Formatters.BinaryFormatter doesn't work when Project is built with IL2CPP Scripting Backend. (1374185)

  • Recent Mac Metal editor change delayed frame updates by 1, affecting selection feedback, keyboard inout and undo/redo. (1375664)

  • Input: Touch Input doesn't work in Play Mode when running an Editor on a Touchscreen device. (1341159)

  • Mono: Microsoft.Extensions.Logging Nuget Package causes errors in console when built into UWP with .NET Standard 2.1. (1373389)

  • Mono: NullReferenceException can cause a freeze when thrown in the Player. (1364311)

  • Profiling: GUIStyle errors are thrown when entering Play mode with docked Profiler and the "Maximize On Play" option Enabled. (1364443)

  • Profiling: Profiler's timeline view loses context frames when frames go out of Frame Count bounds. (1367470)

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

  • Scripting: Increased Script Assembly reload time (1323490)

  • Shader System: Shaders are ignored when executing Build Asset Bundles method from console with -nographics argument (1369645)

  • uGUI: Performance regression when loading or unloading a large Scene. (1375646)

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

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

Features

  • 2D: Added a new template to allow users to start a new project with 2D Renderer set up.

  • 2D: Added support for users to create and define scriptable tools for the Tile Palette window.

  • Android: Added a default texture compression format option to Player Settings.

  • Android: Added support for building and running Android apps on Chrome OS devices with x86 and x86-64 CPUs.

  • Android: Added support on Android for split-screen, pop-up and freeform windows.

  • Android: Changed so users can now include custom asset packs into the build by adding assets to the directory ending with '.androidpack'.

  • Android: When building Android App Bundle with Split App Binary enabled, Unity will create asset packs.

  • Asset Import: Added an artifact file dependency system to the AssetImportContext. For more information, see AssetImportContext.GetArtifactFilePath and AssetImportContext.GetOutputArtifactFilePath.

  • Asset Pipeline: Added ArtifactDifference Reporting messages to the Artifact Browser.

  • Asset Pipeline: Added Accelerator authentication support using Unity ID.

  • Asset Pipeline: Added Import Activity Window. This allows you to look at import times, previous revisions, list dependencies, see importers used and import duration over time.

  • Asset Pipeline: Support for importing models and textures in parallel in external processes (off by default, enable in Project Settings ->; Editor ->; Refresh.

  • Burst: Added a new optimization mode, Balanced. This is now the default optimization mode, and trades off slightly lower maximum performance for much faster compile times.

  • Burst: Added an OptimizeFor option to [BurstCompile], allowing users to specify whether they want to prioritize runtime speed, runtime size, or compilation time.

  • Burst: Added Embedded Linux as a new target platform for Burst.

  • Burst: Added Embedded Linux toolchain resolution mechanism.

  • Burst: Added experimental half precision floating point type f16.

  • Burst: Added experimental support for Arm Neon intrinsics half precision floating point.

  • Burst: Added experimental support to the Burst compiler package for some ArmV8.2A intrinsics (dotprod, crypto, RDMA).

  • Burst: Added source location metadata into hash cache.

  • Burst: Added support for basic vld1 ARM Neon intrinsics.

  • Burst: Added support for calling Burst code directly from C# without using function pointers.

  • Burst: Added support for creating profiler markers from Burst code.

  • Burst: Added support for having [return: MarshalAs(UnmanagedType.U1)] or [return: MarshalAs(UnmanagedType.I1)] on external functions with a bool return type.

  • Burst: Added support for new intrinsics.

  • Burst: Added support for the C# 8.0 construct default(T) is null

  • Burst: Added support for the latest LLVM 11 code generation benefits to the Burst compiler package.

  • Burst: Added the option to call BurstCompiler.CompileFunctionPointer() in Burst code.

  • Burst: Added warnings about delegates being used by BurstCompiler.CompileFunctionPointer that are not decorated as expected. In most cases, Burst will automatically add the C-declaration attribute in IL Post Processing, but if the usage of CompileFunctionPointer is abstracted away behind an open generic implementation, then Burst will not be able to automatically correct the delegate declaration, and thus this warning will be displayed.

  • Burst: Added workarounds for issues where Windows Native Debuggers restrict the number of messages and DLLs that can be sent to the debugger when attaching.

  • Burst: Apple silicon support.

  • Burst: Assemblies are now allowed to have an [assembly: BurstCompile()] attribute which allows you to specify compile options that apply assembly wide. For example, [assembly: BurstCompile(OptimizeFor = OptimizeFor.FastCompilation)].

  • Burst: Burst 1.6 release cycle is for 2021.2.

  • Burst: Exceptions thrown from Burst can now contain a callstack.

  • Burst: Made it possible to get a pointer to UTF-8 encoded string literal data in HPC# code via StringLiteral.UTF8().

  • Burst: The Burst compiler package now fully supports ARMv7 and ARMv8-A Neon intrinsics.

  • Burst: To support modding, added support for loading additional burst compiled libraries in Play mode and standalone builds.

  • Burst: Unity now automatically adds the [UnmanagedFunctionPointer(CallingConvention.Cdecl)] attribute to any delegates that are used for BurstCompiler.CompileFunctionPointer&lt;&gt;(). An error occurs if a delegate has the attribute but is not Cdecl.

  • Core: Added Screen.mainWindowPosition, Screen.mainWindowDisplayInfo, Screen.GetDisplayLayout() and Screen.MoveMainWindowTo() APIs. See Scripting API documentation for more information.

  • Editor: Added a Diagnostics section to the Preferences window to help with remote troubleshooting. You shouldn't interact with this section unless instructed to by Unity Support.

  • Editor: Added support for two new menu states, "disabled" and "checked", in Unity Search.

  • Graphics: Added Graphics Buffer Support in VFX Graph.

  • Graphics: Added a new tool to set the bounds of a VFX Graph system.

  • Graphics: Added anisotropic filtering to the built-in inline samplers.

  • Graphics: Added support for DX12 on Hololens with OpenXR.

  • Graphics: Added support of direct link event.

  • IL2CPP: Added new option for "IL2CPP Code Generation" which enables faster and smaller builds by using better sharing of generics code and additional runtime overhead.

  • Input System: Released 1.1 of the Input System package with fixes and improvements. Details at https://github.com/Unity-Technologies/InputSystem/blob/develop/Packages/com.unity.inputsystem/CHANGELOG.md.

  • License: Introduced licensingIpc Editor CLI.

  • macOS: Added deep linking support.

  • Mobile: Adapted the scaler profiles so you can easily define and change Adaptive Performance Scalers with predefined profiles.

  • Mobile: Added a new adaptive view distance scaler to change the Camera.main view distance automatically.

  • Mobile: Added boost mode for Samsung devices. This increases CPU and GPU performance for short periods of time.

  • Mobile: Added Boost mode to boost the CPU and GPU for short periods of time.

  • Mobile: Added predefined scalar profiles that you can use to easily define and change Adaptive Performance scalers.

  • Mobile: Added Startup Boost mode which enables boost mode during engine startup.

  • Mobile: Added the ability to enable boost mode during engine startup. This increases CPU and GPU performance for a short period of time as the application starts.

  • Mobile: Added the ability to request information about which and how many cores are available on the device.

  • Mobile: Added the Adaptive Performance feature API. This checks which Adaptive Performance features are available on the current platform.

  • Mobile: Added the Adaptive view distance scaler. This scaler changes the Camera.main view distance automatically.

  • Mobile: Added the Feature API to check which Adaptive Performance feature is available on the current platform.

  • Mobile: Integrated Adaptive Performance into the Unity Profiler.

  • Mobile: Integrated the Profiler so you can Profile Adaptive Performance easily from the Unity Profiler.

  • Mobile: Requested cluster info to have details on which and how many cores are available on the device.

  • Mono: Enabled Brotli compression for Windows with the Mono runtime.

  • Mono: Upgraded to a recent version of Mono (~6.12), which brings most bug fixes from the upstream Mono project.

  • Package: (Recorder) Added support for recording accumulation, for motion blur and path tracer (HDRP).

  • Package: (Recorder) Integrated the AOV Recorder into the Recorder package.

  • Package: Added support for macOS arm64.

  • Package Manager: Added new UI support for features in the Package Manager window. Added an initial list of features.

  • Package Manager: Added option in the popup window, when Install for a Full Project Asset is clicked, to install the Asset into a new, temporary project.

  • Package Manager: Added the ability to install a package from a browser hyperlink, including experimental packages.

  • Package Manager: Added UI support for feature sets in the Package Manager window:

    • Added a Lock/Unlock mechanism on packages that are part of a feature set.

    • Reset a feature set dependencies to their default versions when the feature set was customized.

    • Added a warning message if a feature set dependencies are already installed with a different version before installing it.

    • Added a visual cue on feature sets when the dependency versions change.

    • Added feature set information to the Inspector.

    • Added analytics on feature sets.

  • Package Manager: Changed account menu in the top bar of the editor to show your initials instead of full name.

  • Package Manager: Changed the Package Manager window so that when users choose to continue from the UPM dialog warning that shows an entitlement error, then launch the Editor, the Package Manager window immediately opens to the first package with an entitlement error.

  • Package Manager: Swapped the advanced settings panel and the scoped registries management panel in project settings.

  • Package Manager: The Package Manager now supports packages with entitlements (subscription-based licensing).

  • Particles: Added a mesh weighting field to the list of meshes in a Particle System component, to control how likely Unity is to assign each mesh to a particle.

  • Physics: Added a new CustomCollider2D that allows custom 2D physics shapes to be used with a fully customizable and featured 2D Collider.

  • Physics: Added an Enable All and Disable All button to the Physics Project Settings' Layer Collision Matrix, which allows enabling or disabling all layer collisions.

  • Physics: Added Physics Profiler counters to the list of available counters in the Profiler Module editor window.

  • Physics: Added the ability to read low-level 2D physics shapes (PhysicsShape2D) from any 2D Collider into a new shape container (PhysicsShapeGroup2D).

  • Physics: Exposed a set of functions to enable you to modify the contact properties of a collision before the solver receives them.

  • Profiler: Added ProfilerModule API to extend the Profiler window with custom modules.

  • Profiler: Added the File Access Profiler and Asset Loading Profiler modules to the Unity Profiler.

  • Profiler: The connection drop down has been revamped into a tree view that groups player connections int0 three main categories. Local, any player that is running local to the machine, this includes devices connected via cable. Remote any player that is running anywhere else on the network that is reachable. Direct connection, this is for connecting directly via IP address or any player that has automatically connected. There options are further searchable using the new search bar.
    Any connections to players which exist from before this feature will still appear though they will appear under the category of "Connection Without Id".
    Further to this there no exists an option that can be used to supply a custom connection name for the profiler which will make it easier for the user to find their desired connection. This is set through the Preferences->;Anaylsis option or via the command line "-connection-id" when launching a player from the command line.

  • Scene/Game View: Added support for component tools to the EditorToolContext.

  • Scene/Game View: Introduced new Overlays feature. Tools and contextual views are now available directly in the Scene View, and are completely customizable.

  • Search: Added a new explicit provider to search performance metrics.

  • Search: Added new extended search picker workflow and API.

  • Search: Added search expression language to evaluate multiple search queries and apply set operations, transformation or other user defined operations.

  • Search: Added search table support to build advanced reports using complex search expressions.

  • Shaders: Added support for specifying package requirements for SubShaders and Passes to ShaderLab.

  • Shaders: Introduced keyword space separation.
    Shaders, compute shaders and materials now operate in separate local keyword spaces. All keywords declared in a shader or in a compute shader using any of the multi_compile* or shader_feature* directives are local. Material and Compute Shader classes now operate with local keywords only.
    Global keyword space contains global keywords. Global keywords are converted to local keyword space of a shader or compute shader prior to rendering. When a shader or a compute shader declares a keyword that has the same name as a global keyword, turning this global keyword on or off will affect variant selection.

  • Terrain: Added a new instancing mode for Terrain details, which uses the material specified on the prototype prefab to render detail objects with instanced draws.

  • UI: Added preference to enable or disable extended Dynamic Hints.

  • UI Toolkit: Added a context action in the UI Builder Hierarchy to export an element to a UXML file.

  • UI Toolkit: Added a contextual action to unpack a template in a document in the UI Builder.

  • UI Toolkit: Added contextual actions to unpack a template completely in UI Builder.

  • UI Toolkit: Added runtime access to the PanelSettings object and the UIDocument component. Runtime UIToolkit rendering no longer requires the UIToolkit package.

  • UI Toolkit: Added support for negative transform scaling on x and y axes, enabling mirroring to be performed. When crossing zero, the geometry will be regenerated to flip the winding.

  • UI Toolkit: Added support for rendering antialiased vector shapes without MSAA in UI Toolkit.

  • UI Toolkit: Added support for up to 7 levels of stencil-based masking.

  • UI Toolkit: Added the DynamicColor usage hint that allows border/background/text color to change dynamically without having to regenerate the geometry.

  • UI Toolkit: Added transform-origin, rotate, scale and translate to the supported properties by UI Toolkit.

  • UI Toolkit: Added Transitions properties to the UI Toolkit.

  • UI Toolkit: Attribute overrides can be added, edited and removed in a template instance using UI Builder.

  • UI Toolkit: ListView now supports dynamic item height as a virtualization method. For more information, see ListView and CollectionVirtualizationMethod.

  • UI Toolkit: Updated the UIElementsGenerator tool to the latest version.

  • Version Control: Added auto sign in when logged into Unity account.

  • Version Control: Added workspace migration from Collab to Plastic which can be done with or without Plastic installed.
    Added notification status icons.
    Added light and dark mode versions of the avatar icon.

  • Version Control: Improvements to Plastic SCM:

    • Added support for inviting other members. This option is available from the gear / settings icon.

    • Added support for signing in with Cloud Edition. This is available during the onboarding screen if you have never signed in.

    • Added support for turning off Plastic in their project. This option removes the Plastic metadata from your directory. This option is available under Assets >; Plastic SCM >; Turn off Plastic SCM

    • Added notification on the Plastic SCM tab title to indicate incoming changes. Users will no longer need to have the Plastic SCM window visible to know there are incoming changes.

    • Auto configuration of SSO

    • Added date column in incoming changes

  • WebGL: Added support for compressed audio in WebGL.

  • WebGL: Added the Debug Symbols player setting to create release builds with embedded function symbols for improved profiling and error stack traces.

  • WebGL: Added the texture subtarget build setting to WebGL.

  • WebGL: Enabled ETC/ETC2/ASTC/BC4/BC5/BC6/BC7 compressed texture formats for WebGL in editor, build and runtime.

  • XR: Added support for controller late latching, which can reduce latency between rendering and tracked input (head and hand-held controller) in XR. Can be used with the Mesh Renderer and the Skinned Mesh Renderer.

  • XR: Reduced render latency in URP with Late Latching.

Improvements

  • 2D: Added folder support for SpriteAtlas V2 in 2D.

  • 2D: Cached internal reflection to speed up Sprite editing data access.

  • 2D: Improved performance for setting multiple Tiles on a Tilemap.

  • 2D: Improved performance of RuleTile caching.

  • 2D: Improved performance when importing large number of textures.

  • 2D: Improved the placement of Tiles generated from Sprites with Textures sliced using the Isometric Slicing option in the Sprite Editor.

  • 2D: Prereleased the SpriteShape and PSDImporter package

  • 2D: Updated icons for the Tile Palette Rotate and Flip tools.

  • 2D: Updated the 2D template to use the latest verified 2D packages.

  • 2D: Updated the 2D URP template starting folder structure for better clarification of usage.

  • 2D: Updated the Skinning Editor tooltips text.

  • AI: Added the RasterizeModifierBox profiler marker for the NavMesh builder step that processes ModifierBox sources.

  • Android: Added a new Android/Chrome OS player setting, "Chrome OS Input Emulation". If un-checked, this option disables Chrome OS's default behavior of converting mouse and touchpad events into touchscreen events. This allows an app to implement more complete support for these input devices. Also, fixed a bug with Android/Chrome OS touchpad scrolling.

  • Android: Added boot-config/command-line switch platform-android-cpucapacity-threshold. This specifies which CPU cores to treat 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.

  • Android: Added support for custom cursors to Android to support Player Settings and C# functions on Android version 7.0 and later.

  • Android: Allow low-level configuration of Unity threads (priority, affinity)

  • Android: Changed the device scanning operation of the Android Extension to be async when receiving an USB device changed event. (1349380)

  • Android: If a hardware keyboard is available, Unity now uses it within UI systems, instead of always bringing up a virtual, on-screen keyboard.

  • Android: Made a large part of the Android Build Pipeline incremental which means sequential builds with zero changes are now much faster. That also means Unity no longer creates builds from scratch, but instead updates the files which dependencies have changed. If you use the IPostGenerateGradleAndroidProject callback, note that it might be operating on files which were modified by IPostGenerateGradleAndroidProject from a previous build.

  • Android: Unity gradle projects now have a new entry in gradle.properties, unityTemplateVersion. Unity increments this property whenever Unity gradle template files change. That way if you build on top of the old folder and the unityTemplateVersion is different, Unity throws an error, saying that you need to update your gradle files or build to an empty folder.

  • Android: When generating manifest files, there are new files in Library\Bee\artifacts\Android\Manifest, LibraryManifestDiag.txt, LauncherManifestDiag.txt. They contain information about why a specific permission is added to manifest.

  • Asset Bundles: Added profile marker for CRC checks.

  • Asset Import: Documented the MonoImporter class.

  • Asset Import: Improved FBX model importing speed.

  • Asset Import: Improved import performance of ASCII FBX files.

  • Asset Import: Improved import performance of FBX files.

  • Asset Import: Improved import speed for FBX files that use the ASCII file format.

  • Asset Import: Improved import speed for model files containing more than 1 mesh.

  • Asset Import: Improved import speed of FBX models by skipping unused data.

  • Asset Import: Improved import speed of models that contain multiple meshes.

  • Asset Import: Improved import speed of Sketchup models.

  • Asset Import: Improved model import speed by multithreading mesh triangulation.

  • Asset Import: Improved model import times for models that contain animations.

  • Asset Import: Improved Model Importer material tab display performance. (1295743)

  • Asset Import: Improved model importing performance for files that contain lots of curves.

  • Asset Import: Improved the model import times slightly for models that contain animations.

  • Asset Import: Increased the speed of Asset Import when using mikktspace tangent generation on meshes containing degenerate triangles.

  • Asset Import: Optimized the texture import mipmap calculation when using Kaiser filtering. For example, importing 16GB of textures with mostly Kaiser mip filters is reduced from 127 seconds to 109 seconds.

  • Asset Import: Reduced peak memory usage during Model Importing.

  • Asset Import: Updated Sketchup SDK to version 2020.2.

  • Asset Pipeline: Added a new UI in the AssetImporter inspectors that display all AssetPostprocessors methods that were used in the last import of the selected asset.

  • Asset Pipeline: Added summary in the editor log about what happened during a refresh (import).

  • Asset Pipeline: Added warnings and an Automatic Fix button where main object names do not match the corresponding filename.

  • Asset Pipeline: Improved directory enumeration by multi-threading it.

  • Asset Pipeline: Improved project startup times. Projects with 900,000 files will load at least 30 seconds faster.

  • Asset Pipeline: Improved speed of Editor startup by fixing Asset handling related code.

  • Asset Pipeline: Improved startup performance for 900,000 file project by 18 seconds.

  • Asset Pipeline: Improved upload and download path.

  • Asset Pipeline: Optimized the UnityEngine.Hash128.ToString method.

  • Asset Pipeline: The Asset Pipeline no longer displays a warning when it is not possible to move import worker log files.

  • Asset Pipeline: Unity prefetches Asset Databases to improve Editor startup time and reduce cost of page faults.

  • Audio: Added a new Attenuation transition type to AudioMixer so that it can perform equal power panning for group attenuations when transitioning between snapshots. (1322673)

  • Audio: Added voice priority display in the audio pane of profiler.

  • Audio: Added VU metering information from audio mixer groups in the audio pane of profiler to make it easier to compare it against volume and audibility levels.

  • Audio: Improved the way Unity displays audio mixers inside the Audio Profiler window when the Groups and Channels and Groups view modes are enabled.
    Previously, Unity applied the column-based sorting from the Channels view mode to the other view modes, which resulted in inconsistent sorting of channels and groups below mixers, and in mixers changing their order dynamically. This made the Audio Profiler window hard to read.
    Unity now shows the names of the mixers in the Profiler where it previously only showed the ambiguous Master groups of the mixers below the Audio Listener group.
    The triangle shape after the titles of the column headers in the Detailed and Clip views was changed to an arrow that more clearly indicates the sorting order. The arrow is now placed before the title instead of after it to avoid cutting the title off when you resize the columns manually.

  • Audio: Target mixer groups are now displayed in the audio profiler.

  • Bug Reporter: The Crash Handler window now includes the following UI changes:

    • Stack trace field

    • Go to crash logs button

    • Report a Bug... button

    • Open Unity Hub button
      Note that clicking the Open Unity Hub button restarts the Editor.

  • Build Pipeline: "Scripts Only Build" is now automatic for platforms using the new incremental build pipeline. The checkbox is removed for such platforms, and Unity will automatically detect if it can do a Scripts Only Build based on which changes there are in the project.

  • Build Pipeline: Changed Linux so that it uses the incremental player build pipeline.

  • Build Pipeline: Improved linking speed for big projects

  • Build Pipeline: Improved the performance of the build pipeline by giving concurrent shader cache folders read access.

  • Build Pipeline: MacOS Standalone player builds now use the new incremental build pipeline, which allows faster subsequent player builds by only rebuilding parts which have changed.

  • Build Pipeline: Modified Windows Standalone player builds so that they only rebuild parts that have changed since the previous build to improve build speed.

  • Build Pipeline: Removed prompt to save an untitled scene if it is not included in the build.

  • Build Pipeline: WebGL now uses the incremental Player build pipeline.

  • Burst: Automatically add [UnmanagedFunctionPointer(CallingConvention.Cdecl)] to any delegates that are used for BurstCompiler.CompileFunctionPointer<;>;() or error if the delegate has the attribute and it is not Cdecl.

  • Burst: Improved codegen.

  • Core: Modified the Dynamic Heap Allocator to reduce the time it takes to intantiate chunks in a Build. (1272168)

  • Core: Reduced the number of memory alllocations and improved the tracking of core allocations.

  • Documentation: Added a pop-up to Obsolete API labels in the Script Reference, explaining why something is obsolete, and pointing to the new API where possible.

  • Documentation: Improved documentation for GeometryUtility.TestPlanesAABB to explain false positives.

  • DX12: *Binded dynamic lightmaps resources (Enlighten) to ray tracing shaders: unity_DynamicLightmap, unity_DynamicDirectionality and unity_DynamicLightmapST. *Enabled DYNAMICLIGHTMAP_ON shader keyword for when these resources are used by Renderers.

  • DX12: Added the ability to set D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION flag when adding Renderers to a RayTracingAccelerationStructure. This will allow implementation of robust colored ray traced shadows.

  • DX12: Optimized uniform setup in ray tracing shaders, and added a special case for the UnityPerMaterial cbuffer.

  • Editor: Added a context menu to the Console window which has an option to use monospace font. (1276112)

  • Editor: Added ability to reorder UnityEvent callbacks.

  • Editor: Added missing USB device detection and reporting for Linux Editors.

  • Editor: Added new devices to the Device Simulator:

    • Apple iPad Air 2

    • Apple iPad Air (4th generation)

    • Apple iPhone 12 mini

    • Apple iPhone 12

    • Apple iPhone 12 Pro

    • Apple iPhone 12 Pro Max

    • Apple iPhone SE (2nd generation)

    • Google Pixel 5

    • Huawei P40 Pro

    • OnePlus 7 Pro

    • Samsung Galaxy Z Fold2 5G

    • Samsung Galaxy Note10

    • Samsung Galaxy Note10+ 5G

    • Samsung Galaxy Note20 Ultra 5G

    • Samsung Galaxy S8

    • Samsung Galaxy S9

    • vivo NEX 3 5G

    • Xiaomi Mi A3.

  • Editor: Added new features for Menu Items in the context of Editor Modes.

  • Editor: Added Open in Property Editor menu item to the Inspector's kebab menu. (1334342)

  • Editor: Added profiler markers around test setup, teardown, and execution.

  • Editor: Added Texture import overrides to the Build Settings window so you can reduce imported texture size and change the compression settings to speed up asset imports and platform switches.

  • Editor: Added the Play Unfocused option to the Game view, to stop the Game view from focusing when entering Play mode. Also added an option to Edit > Preferences > General to enable or disable automatically creating a Game view on entering Play mode.

  • Editor: Added the ability to cut, copy, and paste Assets in ProjectWindow. (1264821)

  • Editor: Added the ability to search Settings by their properties.

  • Editor: Added the option to constrain scale proportions to the Transform component. You can set this option as default in Editor preferences.

  • Editor: Added the renderer type to the UpdateRendererBoundingVolumes profile marker tooltip.

  • Editor: Allowed the importing of LOD meshes with indices that have preceding zeroes. By specifying a range, e.g., LOD1-3 will assign the mesh to all LOD levels in the range.

  • Editor: Avoid stall entering playmode if a scene contains sequential GameObject file ID hints. (1308128)

  • Editor: Cached the translation results, reducing GC pressure.

  • Editor: Changed the popup menu behaviour to only trigger a GUI.changed event if it has changed.

  • Editor: If the assembly containing code that is stalling the editor is available, it's now displayed in the popup progress bar.

  • Editor: Improved Gizmos performance in Editor.

  • Editor: Improved import times of SketchUp models (*.skp).

  • Editor: Improved loading times for scenes with lots of GameObjects at the top level in the Hierarchy.

  • Editor: Improved mac editor process guard in order to catch all types of exceptions and early handle cases before shutting down.

  • Editor: Improved model importing performance.

  • Editor: Improved performance importing models with Blendshapes if the Import Blendshapes setting is unchecked.

  • Editor: Improved the Frame Debugger, so you can clear display color, depth, and stencil values. The compute shader displays the display shader name, keywords, and thread group size. Indirect draws display shader and property information. The Mesh preview now displays correctly on HDRP. Displays SRP Batcher draws with the names of meshes they render.

  • Editor: Improved the performance of the model importer by multi-threading the mesh triangulation step.

  • Editor: Improving UTF documentation (DSTR-120).

  • Editor: Increased speed of filtering operations when you only run a subset of tests.

  • Editor: Inspector number fields support more math expressions now: functions (sqrt, sin, cos, tan, floor, ceil, round), distribution over multi-selection (L, R) and can refer to current value to change it across multi-selection (+=3, *=2).

  • Editor: Now shaders will have SHADER_API_(DESKTOP|MOBILE) define set according to the target build platform.

  • Editor: Optimized BC7 ("high quality" compression setting on PC/Console platforms) texture compression. Performance is 2-3 times faster. This optimization uses a new texture compressor (bc7e). An option is available in Editor Settings to switch to the old one (ISPC) if needed.

  • Editor: Optimized drag selection in Editor scenes.

  • Editor: Reduced the per-test overhead of running tests in the editor.

  • Editor: Reduced the time taken to rebuild the test tree and to scan for assets a test created but did not delete.

  • Editor: Removed the Enable Code Coverage option from Preferences/General, and moved it into the Code Coverage package.

  • Editor: Reorganized Quality Project Settings, to make it clearer which options are relevant to which parts of Unity. (1307483)

  • Editor: The Frame Selected command now ignores Audio Source and Reverb Zone components.

  • Editor: The Texture Import Settings window indicates which platforms have override settings. The window shows this with a blue line on the platform tabs.

  • Editor: UI polish of Build Settings window (improved logical sort of installed platforms).

  • Editor: Updated ASTC texture compressor to improve compression time by about 10%.

  • Editor: Updated ASTC texture compressor to reduce compression time.

  • Editor: Updated the Inspector property context menu 'Revert to Prefab' to work with multiple selected objects.

  • Editor: Updated the Renderer component so that you can click on a Material inside the Renderer component to highlight the Sub Meshes with that Material in the Scene View.

  • Editor: Updated the target window of a Dynamic Hint to be focused before displaying the Dynamic Hint, if available.

  • Editor: You can now drag multiple GameObjects to the Project Window to create multiple prefabs at once.

  • Editor: Create Empty Parent now matches the 'selection rect' for Rect Transforms.

  • GI: Added support for asynchronous environment sky updates to Enlighten Realtime Global Illumination to reduce the likelihood of frame hitches when the sky changes.

  • GI: Added support for rectangular area lights to Enlighten Realtime Global Illumination.

  • GI: Clarified the Indirect Bounce Shadow warning in the Light Inspector to indicate that Enlighten Realtime Global Illumination only supports this feature for Directional lights.

  • GI: Ensured that analytics data about cancelled bakes are logged when the Editor closes while baking lighting. (1354238)

  • GI: Extended support for the Lit Clustering Scene View exposure control so that it is available for lightmaps created with Enlighten Baked Global Illumination.

  • GI: Hid the Show Inactive Objects and Isolate Selection checkboxes on the Static Emissives tabs of the Light Explorer because these options are not applicable to materials. (1331750)

  • GI: Improved clarity in the GI Profiler by indicating whether the project's render pipeline supports Enlighten Realtime Global Illumination.

  • GI: Improved performance by running GICache trimming jobs every 30 seconds. (1289849)

  • GI: Improved usability by including memory-related logs in the Editor log.

  • GI: Lightmap analytics events now include bakes that fell back from GPU to CPU Lightmapper.

  • GI: Reduced ringing in lightmaps filtered with Intel Open Image Denoise.

  • GI: Removed the Compress Lightmaps option and replaced it with a configurable Lightmap Compression setting in the Lighting Settings Asset. (1230918)

  • GI: Removed unnecessary thread logging for Enlighten Realtime Global Illumination to improve performance.

  • GI: Upgraded Radeon Denoiser support to to version 1.7.0 in order to improve results generated in HDR mode.

  • Graphics: Added an error message that appears when a custom render texture uses a Material with an invalid or unsupported shader. (1304355)

  • Graphics: Added ASTC texture format support for single channel textures.

  • Graphics: Added support for async readback when using OpenGL ES 3.0 (and later) and GL core.

  • Graphics: Added support for Color and Depth Load/Store actions to the Frame Debugger.

  • Graphics: Added support for VFX.CameraBuffersFallback preferences. Select from one of 3 options:

    • None: Use no fallback and keep outdated buffer info from the last rendered frame.

    • Prefer Main Camera (Default): Use the buffer from the Main camera when available, and the Scene camera otherwise.

    • Prefer Scene Camera: Use the buffer from the Scene camera when available, even if the Main camera is being rendered.

  • Graphics: Added the 2D Lights tab to the Light Explorer window.

  • Graphics: Added the ability to remove shader Passes that contain ray tracing shaders (for example, ClosestHit, AnyHit) when ray tracing is not supported by the system or graphics API.

  • Graphics: Added two new functions in RayTracingAccelerationStructure - UpdateInstanceID and GetInstanceCount. The ray tracing instance ID can be accessed in HLSL code using InstanceID() intrinsic.

  • Graphics: Changed Renderer components so that you can use .bounds and .localBounds setter APIs to set custom world space or local space bounds.

  • Graphics: Changed the default specular reflection to use a RenderTexture with dimensions CUBE (instead of a Cubemap). (1281013)

  • Graphics: Changed the gear icon for the more menu on the Asset Settings Provider.

  • Graphics: Enhanced the error reporting from the command buffer in order to improve GPU-side (Metal) error logging.

  • Graphics: Fixed comments in shader examples from CommandBuffer.SetRayTracingShaderPass and RayTracingShader.SetShaderPass that point to incorrect functions.

  • Graphics: Improved ASTC decompression performance.

  • Graphics: Improved error logging for the CopyTexture function.

  • Graphics: Improved the application of outstanding pending changes to RendererScene after a camera render.

  • Graphics: Optimized render sorting to speed up performance.

  • Graphics: Optimized Material.FindPass. The improved speed depends on how many passes the Material has.

  • Graphics: Removed the redundant calls that Unity made when it set shader program parameters.

  • Graphics: Set up unity_MotionVectorsParams built-in shader variable in Ray Tracing shaders.

  • Graphics: Split texture postprocessor re-imports by texture type to reduce the amount of re-imports when changing a texture postprocessor script.

  • Graphics: Unity can now preload shaders after it loads the first Scene, and can distribute the preloading process across multiple frames.

  • Graphics: Unity now opens the Render Pipeline Asset dialog when changing asset for Quality Settings and Graphics Settings (Project Settings >; Quality, Project Settings >; Graphics) notifying that this may take a significant amount of time. You can choose to Continue or Cancel.

  • Graphics: VFX : Optimization while sending event to a VisualEffect by script.

  • Graphics: Virtual Texturing is now more robust when switching between color spaces.

  • Graphics: You can now access Mesh and SkinnedMeshRenderer geometry data from Compute Shaders similar to Mesh.GetVertexBuffer and SkinnedMeshRenderer.GetVertexBuffer.

  • IL2CPP: Added an intrinsic for Span get_Item/indexer to improve Span Indexer performance when accessing a large number of Span items.

  • IL2CPP: Added full support for System.Reflection.MemberInfo.GetCustomAttributesData.

  • IL2CPP: Added optimizations to Enum.HasFlag.

  • IL2CPP: Changed IL2CPP's internal build system to use bee on Android to prepare for improved player build performance.

  • IL2CPP: Changed il2cpp's internal buildsystem on Windows & Mac to prepare for improved player build performance.

  • IL2CPP: Corrected the source file hash so that a managed debugger can determine when a source file has changed and provide a proper warning.

  • IL2CPP: Improved the performance for invoking delegates.

  • IL2CPP: Improved the performance of IL2CPP conversion by using a new data model.

  • IL2CPP: Reduced executable size by reducing generic metadata output.

  • IL2CPP: Reduced the number of internal metadata allocations that relate to array method naming.

  • IL2CPP: Switch IL2CPP densehash map and set to sparsehash map and set for lower runtime memory usage.

  • IL2CPP: Updated IL2CPP to run on .NET 5.

  • IL2CPP: Updated IL2CPP to use the new bee distribution format.

  • IMGUI: Improved overall layout and repaint performance.

  • Input: Added Use Physical Keys setting in the Input Manager to map Input.KeyCode to physical keys.

  • iOS: Changed depth RenderSurfaces to have private storageMode. (1339864)

  • iOS: Changed how plug-ins handle the wrong CPU type when creating an XCode project. CPU types that aren't supported are now ignored.

  • iOS: The generated Xcode project now uses the new build system.

  • Kernel: Added Memory Settings to the Project Settings window. This gives you control of the internal memory setup in Unity. You can adjust the memory setup for individual projects.

  • Kernel: Improved code quality and amount of allocations in some of our base abstraction layers.

  • Kernel: Improved the performance of parallel sorting code.

  • Kernel: Improved the stability of player connection by implementing several changes:

    • Increased the number of frames to receive messages.

    • Fixed issue where player connection could corrupt message queue and required reconnecting to app.

    • Improved handling for app disconnection (for example, when the app crashes; when the app is forced to disconnect; or when the app loses connection).

    • Improved support for suspending apps on mobile platforms.

  • License: Improved license validation by syncing the access token with the licensing client every time the token changes.

  • macOS: Fixed the append mode for building Xcode projects.

  • macOS: The generated Xcode project now uses the new build system.

  • macOS: When generating Xcode project, it is now possible to pick the build config used for run action (can be changed in Xcode). Debug build config now has frame capture automatically enabled.

  • Mobile: The Android Patch/Patch & Run Build Setting works for all types of changes, and is automatic. Previously, it could only be used with Script Only builds.

  • N/A (internal): Altered default texture compression for EmbeddedLinux to now be configurable from the player settings.

  • Networking: Improved UnityWebRequest on iOS to allow system to call upload data instead of using the operation queue.

  • Package: Enabled alpha channel capture in projects that use HDRP in the Recorder package.

  • Package: Improved the migration tools so that Unity allows projects to migrate to the recent Visual Scripting version.

  • Package: To open the Visual Scripting editor, you can now click the open inspector button and double click a graph in the project browser.

  • Package: Updated names of UI elements in the Visual Scripting package to be consistent with new naming schemes.

  • Package: Updated the user interface of the Visual Scripting package.

  • Package: Visual Scripting now creates a warning message when you add more than one Input unit to a SuperUnit.

  • Package: Visual Scripting now creates a warning when an Input System Package event references an action that is the wrong type for that event.

  • Package: Visual Scripting: Migration tools are improved to let users migrate their project to the latest version of the Visual Scripting package.

  • Package Manager: Added new labels to package versions to clarify when a package is installed as a dependency.

  • Package Manager: Added support for opt-in caching of Git LFS files when you download Git packages. To enable caching, set either of the following environment variables: UPM_ENABLE_GIT_LFS_CACHE or UPM_GIT_LFS_CACHE_PATH. The latter lets you override the default cache location.

  • Package Manager: Changed how string literals are translated by using string.Format at definition time.

  • Package Manager: Fixed the Add package from git URL option so that if you use a revision and a package path in the wrong order, you can't clone the repository.

  • Package Manager: Improved logging by adding logs for cache misses and tarball download steps.

  • Package Manager: Improved performance when browsing "My Assets".

  • Package Manager: Improved the error message when a Git dependency cannot be resolved because the path querystring and revision fragment are in the wrong order.

  • Package Manager: Improved the wording on the warning message when a user is using a different version of a package than the recommended version.

  • Package Manager: Included the Terrain Tools package in the Worldbuilding 3D feature set.

  • Package Manager: Increased the amount of information logged in upm.log at various levels.

  • Package Manager: Optimized Git package download times for repositories using submodules (with Git 2.28.0 or higher installed only).

  • Package Manager: Optimized Git package download times, most notably for repositories with a larger history.

  • Particles: Added a warning when users select the same shader for both the main Material slot and the Trail Material slot. This is because GPU Instanced Mesh particles must not use the same shader for particle geometry and trail geometry.

  • Particles: Added an exception when too much particle data is sent to SetCustomParticleData.

  • Physics: Added icon for Articulation Body Anchor Transform tool.

  • Physics: Added new Physics Profiler metrics.

  • Physics: Added units of measurement to the Articulation Body properties in the scripting documentation.

  • Physics: Improved Articulation Body anchor limit gizmos.

  • Physics: Rearranged the ArticulationBody properties. Moved Damping and Friction after Mass.

  • Prefabs: Added a warning to the PrefabAssetImporter editor if there are SerializeReference missing types within the Prefab. Also disabled applying modifications from the instance in case the Prefab asset contains missing types. Editing the Prefab asset in isolation preserves MissingType information.

  • Prefabs: Disabled editing for missing Prefabs instances.

  • Prefabs: Improved the Hierarchy so that you can see which Prefab instances have non-default overrides. (1323680)

  • Prefabs: Updated documentation for Object.DontDestroyOnLoad

  • Profiler: Added missing memory labels sizes to the memory snapshot format, in order to give real value to the prexisting label list. Api for access this data will be found inside the memory profiler package.

  • Profiler: Added profiler memory stats data. Data is similar to the Profiler Module data found in the Profiler Window

  • Profiler: Added profiler target data to memory snapshot format. Data consists of elements such as Unity version, product name, total gfx memory, total physical memory, etc.

  • Profiler: Encoded managed heap section type inside the snapshot format, for retrieval via the memory profiler package.

  • Profiler: Improved the Memory Profiler module UI to clearly show how the high level memory stats contribute towards the total memory usage.

  • Profiler: Modified native connection reporting for the Memory Profiler in order to properly report connections between Assets.

  • Profiler: Tethered Android devices no longer require manually calling ADB commands in the CLI, in order to be picked up as connection targets by the Editor. Multiple tethered android devices are now supported.

  • Scene/Game View: Added Shortcut Manager entries for "Toggle Selection Outline" and "Toggle Selection Wireframe."

  • Scene/Game View: Extended the PlaceObject method to support SceneView grids and 2D.

  • Scene/Game View: Improved API documentation for Overlays feature, including multiple new code examples.

  • Scene/Game View: Improved the EditorToolContext UI.

  • Scene/Game View: Improved the documentation for EditorTool.

  • Scene/Game View: Improved the documentation for HandleUtility.PickGameObject.

  • Scene/Game View: Refreshed icons for Scene View toolbars.

  • Scripting: Certificate validation callbacks from .Net libraries pass now also previously identified root certificates along (i.e. the full validated chain if any). (1191987)

  • Scripting: Changed the Managed Stripping Level to be minimal for new projects when targeting the IL2CPP backend.

  • Scripting: Enabled user code to build against .NET Standard 2.1 and .NET Framework 4.8.

  • Scripting: Ensure players using the Mono scripting runtime backend always use a JIT (Just-In-Time) friendly set of class libraries, even if the ".NET Standard 2.0" API Compatibility Level is chosen. This provides consistency for Mono players no matter what API Compatibility Level is chosen in the player settings.

  • Scripting: Improved runtime performance of many UnityEngine math scripting APIs when using the IL2CPP scripting back-end: Color, Color32, Math, Matrix4x4, Quaternion, Vector2, Vector2Int, Vector3, Vector3Int, Vector4.

  • Scripting: Improved runtime performance of UnityEngine math scripting APIs (Matrix4x4, Quaternion, Vector2, Vector2Int, Vector3, Vector3Int, Vector4) when using the Mono scripting back-end.

  • Scripting: Improved search UI and indexing.

  • Scripting: Improved the Editor experience for setting up Unity version defines with assembly definition files.

  • Scripting: In this Unity version, you can schedulw managed jobs from non-main control threads.

  • Scripting: Multithreaded asset garbage collection and increased speed by up to 2.5x.

  • Scripting: OnChangedCallback is invoked when elements are duplicated in ReorderableList. (1307386)

  • Scripting: Reduce and optimize regex usage to improve performance

  • Scripting: Renamed ".NET Standard" to ".NET Standard 2.1" in the Api Compatibility Level options.

  • Scripting: Updated C# language version to 9.0 for compilation and IDE's
    We will support a subset of the language features from:
    https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9
    These is the features that we support:

    • Pattern matching enhancements

    • Function pointers

    • Target-typed new expressions

    • Static anonymous functions

    • Target-typed conditional expressions

    • Extension GetEnumerator support for foreach loops

    • Lambda discard parameters

    • Attributes on local functions

    • New features for partial methods.

  • Scripting: CompiliationPipeline.GetAssemblies now correctly includes .NET Compiler Platform (Roslyn) analyzers in ScriptCompilerOptions.

  • Search: Improved asset indexer performances and index size.

  • Search: Improved asset search performance by ~4x.

  • Search: Share the same search debouncing threshold with the Project Browser and the Search window. (1298380)

  • Search: Use a single Search Provider to search for any indexed object.

  • Serialization: Improved the way that SerializeReference handles missing types. Instances where the type is missing are replaced with null. Other instances are editable and if there are fields that previously referred to the missing type which are still null, the missing type is preserved.

  • Serialization: Objects referenced from SerializeReference fields now have stable IDs, which reduces the risk of conflicts when multiple users collaborate on a scene file. Additionally, it also improves support for Undo and Prefab modes, especially when SerializeReference is used inside arrays and lists. In addition, references now come with a new format with backward compatibility support for older assets.

  • Shadergraph: Added View Vector Node doc.

  • Shaders: Improved caching of the Shader import artifacts when a shader is reverted or has no changes after a reimport.

  • Shaders: Reduced memory consumption when loading shaders.

  • Shaders: Removed the fixed shader keyword limits. The number of Global keywords is now limited to UInt32, the number of local shader keywords is now limited to UInt16.

  • Terrain: Improved the worst-case performance while painting on high-resolution (2k x 2k or higher) Terrain heightmaps. (1283138)

  • Terrain: Terrain brushes that sample empty regions at the edge of a terrain now sample the nearest terrain's edge. This corrects brush preview off the edge of a terrain, and corrects the bug of melting terrain edges for the following brushes: Smooth Height, Contrast, Sharpen Peaks, Slope Flatten, Hydrolic, Thermal, Wind, Pinch, Smudge and Twist.

  • Tests: Improved the logging in iOS automation so that existing log messages are clarified, and added new ones.

  • UI: Added a visualization for the raycast padding around a Graphic object.

  • UI: Improved tooltips so that when a tooltip is displayed, hovering another UI control that can display a tooltip makes the new tooltip appear immediately.

  • UI: Reused PropertyFields backing fields when possible.

  • UI: Updated the icons for Terrain's tool selection.

  • UI Toolkit: Added a new RuntimeDefault theme with less overhead for runtime usage.

  • UI Toolkit: Improved UI Toolkit event debugger. Improvements include optimizations, adjustable UI, settings, event and callback filtering, and event replay.

  • UI Toolkit: Improved USS validation to support more complex properties.

  • UI Toolkit: Made performance improvements to reduce the number of managed heap allocations while rendering sprites in the UI Toolkit.

  • UI Toolkit: Modified buttons to be focusable.

  • UI Toolkit: Modified TransitionEvents to be collapsed when relevant.

  • UI Toolkit: Set UIDocument's execution order to -100 to ensure root visual element is created when user's OnEnable runs.

  • UI Toolkit: Usage hints can now be changed on a VisualElement without having to remove it from the hierarchy to help preserve styling and layout.

  • Undo System: Added the Undo history UI.

  • Version Control: Added Checkin and Update confirmation notification.

  • Version Control: Improved load time performance.

  • Version Control: Made stability and performance improvements to the Version Control package (com.unity.collab-proxy).

  • Video: Improved the automatic selection of target material texture properties in VideoPlayer. It detects [MainTexture] attributes, then detects them by the _MainTex naming convention.

  • Virtual Texturing: Updated tile requests to be returned via PopRequests more frequently.

  • Virtual Texturing: Updated InvalidateRegion calls to generate new tile requests in their "importance" order. The importance is defined as a combination of the tile's screen space size and the the number of frames since the tile has been requested. This makes completing tile requests contribute more to the rendering result when InvalidateRegion is called continuously.

  • Web: Updated UnityWebRequest's libCurl backend (used on most platforms).

  • WebGL: Added support for Screen Orientation Locking and Auto-Rotating for mobile browsers which supports the Screen Orientation API.

  • WebGL: Refactored unityInstance.Quit() in UnityLoader.js and call QuitCleanup from both unityInstance.Quit() and Application.Quit().

  • WebGL: Updated WebGL compiler to Emscripten 2.0.19 and removed support for the obsolete asm.js linker target.

  • Windows: Changed Alt + Enter to default to native resolution which makes the image more crisp and reduces the chance of letterboxing.

  • XR: Added support for adding new reference objects at runtime. Added support for ARCore session recording and playback.

  • XR: Removed "Preview" text from UI display element.

API Changes

  • 2D: Added: Added a Vector3Int constructor accepting two integers for x and y, with z set to 0.

  • 2D: Added: Added GetAnimationFrameCount, GetAnimationFrame, GetAnimationTime, SetAnimationFrame and SetAnimationTime to get and change the animation timings for Tiles on the Tilemap.

  • 2D: Added: Added GetTilesRangeCount and GetTilesRangeNonAlloc to get the positions and Tiles between a given start and end positions in a Tilemap.

  • 2D: Added: Added SetTile/s API using a TileChangeData struct to allow users to set a Tile at a position with color and transform at once instead of invoking 3 calls to do so.

  • 2D: Added: Allow user to register for notification when the SpriteRenderer's Sprite property has changed.

  • 2D: Added: New API to query SpriteAtlas information IsIncludedInBuild and GetMasterAtlas.

  • 2D: Added: Support for default sprite mask material in URP and public api method to retrieve the default 2d mask material.

  • Android: Added: Added AndroidJavaObject.CloneReference to enable having multiple references to the same Java object. (1277152)

  • Android: Added: New APIs to manage fast-follow and on-demand delivered asset packs. The APIs wrap Google's PlayCore functionality.

  • Android: Added: TargetDevices player setting, so users can select if they want their Android application to run on all devices, just Android phones, tablets, and TV devices, or just Chrome OS devices.

  • Animation: Changed: Marked obsolete AnimationMixablePlayable.Create(PlayableGraph graph, int inputCount, bool normalizeWeights) due to unused parameter normalizeWeights. Added new method AnimationMixablePlayable.Create(PlayableGraph graph, int inputCount). (1332215)

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

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

  • Asset Import: Added: Added removeConstantScaleCurves in Model Importer. (1252606)

  • Asset Import: Added: AssetPostprocessor.OnPreprocessCameraDescription and AssetPostprocessor.OnPreprocessLightDescription.

  • Asset Import: Added: New public methods MonoImporter.SetIcon/GetIcon and PluginImporter.SetIcon/GetIcon.

  • Asset Pipeline: Added: Added a method to the TextureImporter to get the source texture width and height.

  • Asset Pipeline: Added: AssetDatabase.SaveAssetIfDirty() to save a specific asset, rather than making a call to AssetDatabase.SaveAssets().

  • Build Pipeline: Added: Added the BuildOptions.CleanBuildCache flag to force the incremental player build pipeline to do a clean rebuild of everything.

  • Build Pipeline: Added: Callback function BuildPlayerProcessor.PrepareForBuild. This callback can be implemented by users who wish to produce artifacts before the build starts, or to add StreamingAssets to a build without first putting them in the project assets folder.

  • Build Pipeline: Deprecated: PackedAsset.file has been deprecated. Instead, to find the matching report file for a particular asset the recommended way is to do a filename lookup in the report.

  • Burst: Added: Intrinsics: Neon - Added support for basic vld1 APIs.

  • Editor: Added: API on the QueryEngine to better control filtering.

  • Editor: Added: Callback to run validation step on materials using a ShaderGUI: `ValidateMaterial(Material).

  • Editor: Added: Introduced Control modifier key to ShortcutManager.

  • Editor: Added: Make DraganDrop API to allow user to cusmize drop in legacy window (ProjectBrowser, hierarchy, sceneview).

  • Editor: Added: Making hyperLinkClicked public. It is now possible to subscribe to the event EditorGUI.hyperLinkClicked to handle click on a TextField with <;a>;<;/a>; tag.

  • Editor: Changed: AndroidArchitecture.x86 and AndroidArchitecture.x86_64 have been renamed with capital X's. They are now AndroidArchitecture.X86 and AndroidArchitecture.X86_64.

  • Editor: Changed: Decorated EditorGUIUtility.GetIconForObject/SetIconForObject obj parameter with [NotNull].

  • Editor: Changed: PlayerSettings BuildTargetGroup dependent properties now receive NamedBuildTarget in the API.

  • Editor: Changed: Visibility of EditorGUIUtility.GetIconForObject/SetIconForObject from internal to public.

  • Editor: Obsoleted: Obsoleted internal method MonoImporter.CopyMonoScriptIconToImporters with [Obsolete] and a WarningMessage when called.

  • GI: Added: Added two new callbacks. Unity calls LightProbes.needsRetetrahedralization whenever the current registered probes and tetrahedralization are out of sync. Unity calls LightProbes.tetrahedralizationCompleted after (re-)tetrahedralization is done.

  • GI: Added: Added LightingSettings.lightmapCompression, which makes it possible for users to select a quality level for lightmap compression.

  • GI: Added: Made it possible to opt out of generating a scene's automatic ambient probe and default reflection probe.

  • GI: Deprecated: Deprecated LightmapSettings.textureCompression and replaced it with LightingSettings.lightmapCompression.

  • Graphics: Added: "Expand/Collapse All" buttons to Rendering Debugger window menu.

  • Graphics: Added: A new API for compiling shaders from editor code and obtaining reflection info was added to ShaderData.Pass.

  • Graphics: Added: A new player setting "Upload Cleared Texture Data" was added to revert to the old default behavior of uploading initialised data to video memory when creating a texture from script.

  • Graphics: Added: Added a blitter utility class. Moved from HDRP to RP core.

  • Graphics: Added: Added a class for drawing shadow cascades: UnityEditor.Rendering.ShadowCascadeGUI.DrawShadowCascades.

  • Graphics: Added: Added a realtime 2D texture atlas utility classes. Moved from HDRP to RP core.

  • Graphics: Added: Added an option to change the visibilty of the Volumes Gizmos (Solid, Wireframe, Everything), available at Preferences >; Core Render Pipeline.

  • Graphics: Added: Added class for drawing shadow cascades UnityEditor.Rendering.ShadowCascadeGUI.DrawShadowCascades.

  • Graphics: Added: Added CommandBuffer.SetGlobalInteger().

  • Graphics: Added: Added common include file for meta pass functionality. (1211436)

  • Graphics: Added: Added Editor window that allow showing an icon to browse the documentation.

  • Graphics: Added: Added Fallback Material to DrawSettings.

  • Graphics: Added: Added helper for Volumes (Enable All Overrides, Disable All Overrides, Remove All Overrides).

  • Graphics: Added: Added IndentLevelScope (for VolumeComponentEditor child class only) to handle indentation of the field and the checkbox.

  • Graphics: Added: Added new API function inside DynamicResolutionHandler and new settings in GlobalDynamicResolutionSettings to control low res transparency thresholds. This should help visuals when the screen percentage is too low.

  • Graphics: Added: Added new API functions with no side effects to [DynamicResolutionHandler](https://docs.unity3d.com/Packages/[email protected]/api/UnityEngine.Rendering.DynamicResolutionHandler.html) to retrieve resolved dynamic resolution scale (DRS) and to apply DRS on a size.

  • Graphics: Added: Added new API to customize the rtHandleProperties of a particular RTHandle. This is a temporary work around to assist with viewport setup of Custom post process when dealing with DLSS or TAAU.

  • Graphics: Added: Added new API to replace the use cases of the ShadowAuto, DepthAuto and VideoAuto GraphicsFormat enum members (which will be deprecated in the future).

  • Graphics: Added: Added new utils functions to access and set data on SphericalHarmonicsL2.

  • Graphics: Added: Added OverridablePropertyScope (for VolumeComponentEditor child class only) to handle the Additional Property, the override checkbox and disable display and decorator attributes in one scope.

  • Graphics: Added: Added project-wide settings for RenderPipeline with RenderPipelineGlobalSettings.

  • Graphics: Added: Added some getters for the Streaming Virtual Texturing settings.

  • Graphics: Added: Added the method DrawHeadersto the [VolumeComponentsEditors](https://docs.unity3d.com/Packages/[email protected]/api/UnityEditor.Rendering.VolumeComponentEditor.html).

  • Graphics: Added: Added UNITY_PREV_MATRIX_M and UNITY_PREV_MATRIX_I_M shader macros to support instanced motion vector rendering.

  • Graphics: Added: Added VolumeComponentMenuForRenderPipelineAttribute to specify a volume component only for certain RenderPipelines.

  • Graphics: Added: Added IAdditionalData interface to identify the additional datas on the core package.

  • Graphics: Added: Allowing Rendering Layer Names to not collide in UI. Includes a new API RenderPipelineAsset.prefixedRenderingLayerMaskNames to fetch a unique list of rendering layer mask names for UI needs.

  • Graphics: Added: AssetPostprocessor.OnPostprocessTexture3D ( Texture3D )
    AssetPostprocessor.OnPostprocessTexture2DArray ( Texture2DArray ).

  • Graphics: Added: Automatic spaces to enum display names used in Rendering Debugger and add support for InspectorNameAttribute.

  • Graphics: Added: Calculating correct rtHandleScale by considering the possible pixel rounding when DRS is on.

  • Graphics: Added: DebugUI.Flags.IsHidden to allow conditional display of widgets in Rendering Debugger.

  • Graphics: Added: DebugUI.Foldout.isHeader property to allow creating full-width header foldouts in Rendering Debugger.

  • Graphics: Added: DefaultFormat is extended with the new DepthStencil and Shadow values. You can use SystemInfo.GetGraphicsFormat with these new values to get the default GraphicsFormat for a DepthStencil or Shadow RenderTexture on a platform.

  • Graphics: Added: Documentation links to Light Sections.

  • Graphics: Added: Introduce the RendererList API.

  • Graphics: Added: Made GetQualitySettings() method public. This method is used by internal code to implement undo functionality in the Unity Editor.

  • Graphics: Added: Method to generate a Texture2D of 1x1 with a plain color.

  • Graphics: Added: Mouse & touch input support for Rendering Debugger runtime UI, and fix problems when InputSystem package is used.

  • Graphics: Added: New API functions inside DynamicResolutionHandler to get mip bias. This allows dynamic resolution scaling applying a bias on the frame to improve on texture sampling detail.

  • Graphics: Added: New API in DynamicResolutionHandler to handle multicamera rendering for hardware mode. Changing cameras and resetting scaling per camera should be safe.

  • Graphics: Added: New API to detect when Unity renders with a different type of Render Pipeline : RenderPipelineManager.activeRenderPipelineTypeChanged.

  • Graphics: Added: New Depth/Stencil formats to GraphicsFormat: D16_UNorm, D24_UNorm, D24_UNorm_S8_UInt, D32_SFloat, D32_SFloat_S8_UInt.

  • Graphics: Added: New draw API as a set of Graphics.RenderX() functions. All the old draw API Graphics.DrawX() functions work as before but many of them can be easily converted to the new API to gain from the added functionality. Some added functionality of the new API:

    • Support custom per-instance data for RenderMeshInstanced(), per-instance motion vector and rendering layer mask definitions, and easy light probe setup

    • Support for multi-command indirect draws & future proofing for hardware implementation on supported platforms

    • Custom world bounds for all mesh rendering (e.g. to support mesh deformation in vertex shaders).

  • Graphics: Added: New methods on CoreEditorDrawers, to allow adding a label on a group before rendering the internal drawers.

  • Graphics: Added: New SRPLensFlareData Asset.

  • Graphics: Added: New utility function GraphicsFormatUtility.GetDepthStencilFormat. This function lets you easily select the right format on each platform for a certain amount of depth and/or stencil bits.

  • Graphics: Added: Red, Green, Blue Texture2D on CoreEditorStyles.

  • Graphics: Added: Reminder if the data of probe volume might be obsolete.

  • Graphics: Added: Rendering.SupportedRenderingFeatures.reflectionProbesBlendDistance to provide SRPs with the ability to enable the blend distance fields in the ReflectionProbe inspector.

  • Graphics: Added: RenderTexture.depthStencilFormat and RenderTextureDescriptor.depthStencilFormat properties. You can now set the exact Depth/Stencil buffer format on a RenderTexture using the depthStencilFormat property. Before, each platform backend would decide what format is used without any control or visibility. The existing APIs that take a number of depth bits will still select the same format as before on each backend. When upgrading RenderTexture assets from an older project, all Depth/Stencil buffers that had more than 16bits will be converted to D24_UNorm_S8_UInt. On high end platforms, this could result in 24bits for depth instead of 32bits resulting in visual artifacts. You need to change the Depth/Stencil format on the RenderTexture asset if that is the case.

  • Graphics: Added: Sampling noise to probe volume sampling position to hide seams between subdivision levels.

  • Graphics: Added: ScriptableRenderContext.SubmitForRenderPassValidation added to validate whether RenderPass API calls inside the context are eligible for execution.

  • Graphics: Added: SpeedTree8MaterialUpgrader, which provides utilities for upgrading and importing SpeedTree 8 assets to scriptable render pipelines.

  • Graphics: Added: Support for additional properties for Volume Components without custom editor.

  • Graphics: Added: Support for Lens Flare Data Driven (from images and Procedural shapes), on HDRP.

  • Graphics: Added: SystemInfo. supportsMultisampleResolveDepth to query platforms Multisample resolve of depth attachments support.

  • Graphics: Added: This PR adds a API function checking is all the systems of an Visual Effect are sleeping.

  • Graphics: Added: Unified the scope of the [Material Editor](https://docs.unity3d.com/2021.2/Documentation/ScriptReference/MaterialEditor.html) headers.

  • Graphics: Added: Unity.External.NVIDIA APIs to expose NVIDIA-specific plugin functionality (for controlling DLSS and other features). These APIs are available by enabling the NVIDIA native package on the package manager.

  • Graphics: Added: ReflectionProbe.UpdateCachedState() to update the internal data related to reflection probe used by the culling system.

  • Graphics: Changed: Exposed UseSceneFiltering API as public.

  • Graphics: Changed: Renamed Texture2D.Resize to Reinitialize. (1312670)

  • Graphics: Changed: RenderBufferStoreActions.Resolve and RenderBufferStoreActions.StoreAndResolve can now be set using the RenderTarget API.

  • Graphics: Changed: VFX.VFXManager.PrepareCamera and VFX.VFXManager.ProcessCameraCommand now can take an optional parameter for camera XR settings.

  • Graphics: Deprecated: Deprecated ShadowAuto, DepthAuto and VideoAuto graphics formats and introduce a new alternative api. (See the Upgrade Guide for details.).

  • Graphics: Deprecated: Most of BatchRenderGroup API will be fully deprecated in 2022.2 (and replaced by a new API).

  • Graphics: Obsoleted: ReflectionProbe.defaultReflectionSet has been deprecated in favor of ReflectionProbe.defaultReflectionTexture.

  • Graphics: Removed: Removed GraphicsFormatUtility.GetDepthStencilFormat(int) after being public for two alpha releases.

  • HDRP: Added: "Conservative" mode for shader graph depth offset.

  • HDRP: Added: Ability to animate many physical camera properties with Timeline.

  • HDRP: Added: Ability to control focus distance either from the physical camera properties or the volume.

  • HDRP: Added: Added a better support for LODs in the ray tracing acceleration structure.

  • HDRP: Added: Added a built-in custom pass to draw object IDs.

  • HDRP: Added: Added a complete solution for volumetric clouds for HDRP including a cloud map generation tool.

  • HDRP: Added: Added a custom post process injection point AfterPostProcessBlurs executing after depth of field and motion blur.

  • HDRP: Added: Added a dialog box when you import a Material that has a diffusion profile to add the diffusion profile to global settings.

  • HDRP: Added: Added a Falloff Mode (Linear or Exponential) in the Density Volume for volume blending with Blend Distance.

  • HDRP: Added: Added a Force Forward Emissive option for Lit Material that forces the Emissive contribution to render in a separate forward pass when the Lit Material is in Deferred Lit shader Mode.

  • HDRP: Added: Added a minimum motion vector length to the motion vector debug view.

  • HDRP: Added: Added a parameter to control the vertical shape offset of the volumetric clouds. (1358528)

  • HDRP: Added: Added a property on the HDRP asset to allow users to avoid ray tracing effects running at too low percentages. (1342588)

  • HDRP: Added: Added a property to control the fallback of the last bounce of a RTGI, RTR, RR ray to keep a previously existing side effect on user demand.

  • HDRP: Added: Added a setting in the HDRP asset to change the Density Volume mask resolution of being locked at 32x32x32 (HDRP Asset >; Lighting >; Volumetrics >; Max Density Volume Size).

  • HDRP: Added: Added a shortcut to HDRP Wizard documentation.

  • HDRP: Added: Added a slider that controls how much the volumetric clouds erosion value affects the ambient occlusion term.

  • HDRP: Added: Added a slider to control the fallback value of the directional shadow when the cascade have no coverage.

  • HDRP: Added: Added an example in the documentation that shows how to use the accumulation API for high quality antialiasing (supersampling).

  • HDRP: Added: Added an option to have double sided GI be controlled separately from material double-sided option.

  • HDRP: Added: Added an option to render screen space global illumination in half resolution to achieve real-time compatible performance in high resolutions. (1353727)

  • HDRP: Added: Added browsing of the documentation of Compositor Window.

  • HDRP: Added: Added color and intensity customization for Decals.

  • HDRP: Added: Added dependency to mathematics and burst, HDRP now will utilize this to improve on CPU cost. First implementation of burstified decal projector is here.

  • HDRP: Added: Added info box when low resolution transparency is selected, but its not enabled in the HDRP settings. This will help new users find the correct knob in the HDRP Asset.

  • HDRP: Added: Added light unit slider for automatic and automatic histrogram exposure limits.

  • HDRP: Added: Added new AOV APIs for overriding the internal rendering format, and for outputing the world space position.

  • HDRP: Added: Added new API in CachedShadowManager.

  • HDRP: Added: Added pivot point manipulation for Decals (inspector and edit mode).

  • HDRP: Added: Added shader graph unit test for IsFrontFace node.

  • HDRP: Added: Added slides to control the shape noise offset.

  • HDRP: Added: Added support for internal plugin materials and HDSubTarget with their versioning system.

  • HDRP: Added: Added support for reflection probes as a fallback for ray traced reflections. (1338644)

  • HDRP: Added: Added support for the camera bridge in the graphics compositor

  • HDRP: Added: Added support for Unlit shadow mattes in Path Tracing. (1335487)

  • HDRP: Added: Added support of motion vector buffer in custom postprocess.

  • HDRP: Added: Added TargetMidGrayParameterDrawer.

  • HDRP: Added: Added the receiver motion rejection toggle to RTGI (1330168)

  • HDRP: Added: Added the support of volumetric clouds for baked and realtime reflection probes.

  • HDRP: Added: Added three animation curves to control the density, erosion, and ambient occlusion in the custom submode of the simple controls.

  • HDRP: Added: Added tooltips for content inside the Rendering Debugger window.

  • HDRP: Added: Added two toggles to control occluder rejection and receiver rejection for the ray traced ambient occlusion (1330168)

  • HDRP: Added: Added UV manipulation for Decals (edit mode).

  • HDRP: Added: Added ValidateMaterial callbacks to ShaderGUI.

  • HDRP: Added: Added View Bias for mesh decals.

  • HDRP: Added: Added warning for when a light is not fitting in the cached shadow atlas and added option to set maximum resolution that would fit.

  • HDRP: Added: API to allow OnDemand shadows to not render upon placement in the Cached Shadow Atlas.

  • HDRP: Added: Area Light support for Hair and Fabric master nodes.

  • HDRP: Added: Deferred shading debug visualization.

  • HDRP: Added: Documentation for volumetric clouds.

  • HDRP: Added: Exposed update upon light movement for directional light shadows in UI.

  • HDRP: Added: Global settings check in Wizard.

  • HDRP: Added: Help URL for volumetric clouds override.

  • HDRP: Added: Lens Flare Samples.

  • HDRP: Added: Localization on Wizard window.

  • HDRP: Added: LTC Fitting tools for all BRDFs that HDRP supports.

  • HDRP: Added: Mixed RayMarching/RayTracing mode for RTReflections and RTGI.

  • HDRP: Added: New checkbox to enable mip bias in the Dynamic Resolution HDRP quality settings. This allows dynamic resolution scaling applying a bias on the frame to improve on texture sampling detail.

  • HDRP: Added: New control slider on RTR and RTGI to force the LOD Bias on both effects.

  • HDRP: Added: Path tracing support for AxF material.

  • HDRP: Added: Path tracing support for stacklit material.

  • HDRP: Added: Scale Mode setting for Decals.

  • HDRP: Added: Speed Tree 8 shader graph as default Speed Tree 8 shader for HDRP.

  • HDRP: Added: Support for Fabric material in Path Tracing.

  • HDRP: Added: Support for lighting full screen debug mode in automated tests.

  • HDRP: Added: Support for mip bias override on texture samplers through the HDAdditionalCameraData component.

  • HDRP: Added: Support for multi volumetric cloud shadows.

  • HDRP: Added: Support for screen space shadows (directional and point, no area) for shadow matte unlit shader graph.

  • HDRP: Added: Support for surface gradient based normal blending for decals.

  • HDRP: Added: Support for tessellation for all master node in shader graph.

  • HDRP: Added: Support for volumetric clouds in planar reflections.

  • HDRP: Added: Support of interpolators for SV_POSITION in shader graph.

  • HDRP: Added: Toggle to render the volumetric clouds locally or in the skybox.

  • HDRP: Added: Way for fitting a probe volume around either the scene contents or a selection.

  • IL2CPP: Removed: Removed IIl2CppProcessor interface.

  • IL2CPP: Removed: Removed IUnityLinkerProcessor.OnBeforeRun and IUnityLinkerProcessor.OnAfterRun interface methods.

  • iOS: Added: Added iOS.Device.iosAppOnMac flag to check if app built for iOS is running on Mac equipped with Apple Silicon chip.

  • iOS: Changed: EditorUserBuildSettings.symlinkLibraries renamed to EditorUserBuildSettings.symlinkSources, both Android and iOS will use this property.

  • iOS: Deprecated: ScreenOrientation.Landscape as it was a synonym for ScreenOrientation.LandscapeLeft, and not "some Landscape orientation", which is confusing. (1320447)

  • Linux: Added: LinuxServer value added to RuntimePlatform enum.

  • macOS: Added: OSXServer value added to RuntimePlatform enum.

  • Package: Added: (Recorder) Added public API for AOVRecorderSettings.

  • Package Manager: Added: Added a new AddAndRemove method to the UnityEditor.PackageManager.Client API which can be used to add and/or remove multiple packages to/from the project in a single operation.

  • Physics: Added: Expose ArticulationBody.collisionDetectionMode property to set various collision detection modes, like Discrete, Continuous and etc.

  • Physics: Added: Expose the improved patch friction mode that will distribute the normal force over the friction anchors and thus match analytical results closer.

  • Physics: Added: Exposed a new property in RaycastHit called colliderInstanceID, which returns the instance ID of the collider the ray collided with.

  • Physics: Added: ForceMode argument to ArticulationBody.Add force and related functions.

  • Physics: Added: Property for retrieving ArticulationBody components during a collision event. Articulation bodies can be retrieved by Collision.articulationBody.

  • Physics: Added: Property for retrieving either ArticulationBody or Rigidbody components to collision events under Collision.body.

  • Plugins: Added: New IUnityLog interface for message logging to Unity console and log in native plugins.

  • Plugins: Added: New IUnityProfilerV2 interface with Profiler Counters API in native plugins.

  • Prefabs: Added: Exposed FindAllInstancesOfPrefab to scripting.

  • Prefabs: Added: New API for source prefab apply/revert context menu hook on a property field.

  • Prefabs: Added: New API to define a C# scoped region in which prior to every inspector/editor imgui property being drawn a callback can be called with the associated Rect and SerializedProperty.

  • Prefabs: Changed: The classes PrefabStage and PrefabStageUtility have been moved out of the experimental namespace UnityEditor.Experimental.SceneManagement to the namespace UnityEditor.SceneManagement, leaving nothing left in UnityEditor.Experimental.SceneManagement. The move is supported by the API updater. Note that the Timeline package needs to be at least version 1.3.0 to compile with this change all later versions can be fixed by the API Updater.

  • Profiler: Added: Added Profiler.EmitSessionMetaData api to pass generic metadata to the Profiler associated with profiling session.

  • Profiler: Added: API to create GPU sampling ProfilerMarker.

  • Profiler: Added: New C# custom Categories API.

  • Profiler: Changed: Added GPU profiling capabilities to ProfilerRecorder API.

  • Scripting: Added: Added FileUtil.GetPhysicalPath and FileUtil.GetLogicalPath methods to convert logical paths to physical and vice versa.

  • Scripting: Added: APIs for the AsyncReadManager, to enable chaining and canceling of reads.

  • Scripting: Added: Component.GetComponentInParent(Type t, bool includeInactive) method to match GameObject. (1331778)

  • Search: Added: Added SearchService.ShowPicker API to pick any search item result.

  • Serialization: Added: Expand SerializationUtility class to allow checking for missing type instances and removing them from a SerializeReference Host.

  • Serialization: Added: New SerializationUtility class for access to Managed Reference Ids.

  • Serialization: Added: Support "get" on SerializedProperty.managedReferenceValue.

  • Services: Added: Added new com.unity.services.core package that is used for common behaviour of Game Service packages

  • Services: Changed: Updating analytics dashboard to point to new location.

  • Shadergraph: Added: Added LinearGrey and Red as default texture mode options for [Texture2D properties](https://docs.unity3d.com/Packages/[email protected]/api/UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty.DefaultType.html?q=%20linearGrey).

  • Shadergraph: Added: Added a checkbox to toggle theDisable Global Mip Bias setting for [Sample Texture 2D](https://docs.unity3d.com/Packages/[email protected]/manual/Sample-Virtual-Texture-Node.html) and Sample Texture 2D array nodes.

  • Shadergraph: Added: Added a new [Dropdown Node](https://docs.unity3d.com/Packages/[email protected]/manual/Sub-Graph-Dropdown-Node.html) that makes it possible to control compile time branching in Sub Graphs from their parent graph.

  • Shadergraph: Added: Added a new [target](https://docs.unity3d.com/Packages/[email protected]/manual/Graph-Target.html) for the Built-In Render Pipeline which includes Lit and Unlit sub-targets.

  • Shadergraph: Added: Added a ShaderGraph animated preview framerate throttle.

  • Shadergraph: Added: Added a [Split Texture Transform Node](https://docs.unity3d.com/Packages/[email protected]/manual/Split-Texture-Transform-Node.html) which makes it possible to use or override a texture's tiling and offset values.

  • Shadergraph: Added: Added a [Tiling and Offset Node](https://docs.unity3d.com/Packages/[email protected]/manual/Tiling-And-Offset-Node.html) for modifying Texture2D input.

  • Shadergraph: Added: Added a [Calculate Level Of Detail Texture 2D](https://docs.unity3d.com/Packages/[email protected]/manual/Calculate-Level-Of-Detail-Texture-2D-Node.html) node, which maps to the HLSL intrinsic functions CalculateLevelOfDetail and CalculateLevelOfDetailUnclamped.

  • Shadergraph: Added: Added a [Gather Texture 2DNode ](https://docs.unity3d.com/Packages/[email protected]/manual/Gather-Texture-2D-Node.html) for retrieving four samples (red component only) for the bilinear interpolation of Texture2D samples.

  • Shadergraph: Added: Added ability to define custom vertex-to-fragment interpolators.

  • Shadergraph: Added: Added an HLSL file that implements a version of the Unity core LODDitheringTransition function for crossfading between levels of detail.

  • Shadergraph: Added: Added Categories to the [Blackboard](https://docs.unity3d.com/Packages/[email protected]/manual/Blackboard.html), which makes it easier to organize shader [properties](https://docs.unity3d.com/Manual/SL-Properties.html) and [Keywords](https://docs.unity3d.com/Packages/[email protected]/manual/Keywords.html) in the Shader Graph tool. The Material Inspector for URP and HDRP also includes these categories for materials created with Shader Graphs.

  • Shadergraph: Added: Added custom interpolator documentation

  • Shadergraph: Added: Added custom interpolator thresholds on Shader Graph project settings page.

  • Shadergraph: Added: Added information about selecting and unselecting items to the Blackboard article.

  • Shadergraph: Added: Added many node synonyms for the Create Node search so that it's easier to find nodes.

  • Shadergraph: Added: Added selection highlight and picking shader passes for URP target.

  • Shadergraph: Added: Added stage control functionality for ShaderGraph [Keywords](https://docs.unity3d.com/Packages/[email protected]/manual/Keywords.html) to make it possible to have fragment-only or vertex-only keywords.

  • Shadergraph: Added: Added Tessellation Option to PositionNode settings, to provide access to the pre-displaced tessellated position.

  • Shadergraph: Added: Added the [Eye Index](https://docs.unity3d.com/Packages/[email protected]/manual/Eye-Index-Node.htm), [Instance ID](https://docs.unity3d.com/Packages/[email protected]/manual/Instance-ID-Node.html), and [Vertex ID](https://docs.unity3d.com/Packages/[email protected]/manual/Vertex-ID-Node.html) nodes to Shader Graph.

  • Shadergraph: Added: Added visible errors for invalid stage capability connections to shader graph.

  • Shadergraph: Added: Added [SpeedTree Sub Graph Assets](https://docs.unity3d.com/Packages/[email protected]/manual/SpeedTree8-SubGraphAssets.html) to support SpeedTree 8: SpeedTree8Wind, SpeedTree8ColorAlpha, and SpeedTree8Billboard.

  • Shadergraph: Added: Added [Branch On Input Connection](https://docs.unity.cn/Packages/[email protected]/manual/Branch-On-Input-Connection-Node.html node. This node supports conditional branching in Sub Graphs.

  • Shadergraph: Added: Added Dropdown node to each dropdown property for configuring branch control.

  • Shadergraph: Added: Added Sprite option to Main Preview, which is similar to Quad but does not allow rotation. Sprite is used as the default preview for URP Sprite shaders.

  • Shadergraph: Added: Added Use Custom Binding option to properties. When this option is enabled, you can connect a property to a [Branch On Input Connection](https://docs.unity3d.com/Packages/[email protected]/manual/Branch-On-Input-Connection-Node.html) node.

  • Shadergraph: Added: Adding control of anisotropic settings on inline Sampler state nodes in ShaderGraph.

  • Shadergraph: Added: It is now possible to mark textures as \[MainTexture\] and colors as \[MainColor\].

  • Shadergraph: Added: The [Texture2D](https://docs.unity3d.com/Packages/[email protected]/api/UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty.DefaultType.html) Bump option is now called Normal Map, and properties with this option enabled take the [NormalMap] tag.

  • Shaders: Added: Added a missing API to check shader compilation warnings.
    Added a missing API to get information about individual shaders. (1340374)

  • Shaders: Added: Added UnityEngine.Rendering.GlobalKeyword struct to represent keywords in the global keyword space.
    Added UnityEngine.Rendering.LocalKeyword struct to represent keywords in the local keyword space.
    Added UnityEngine.Rendering.LocalKeyword struct to represent the keyword space of a particular shader or compute shader.
    Added ComputeShader.enabledKeywords and Material.enabledKeywords to query or set all enabled keywords simultaneously.
    Added ComputeShader.keywordSpace and Shader.keywordSpace to query the local keyword space of the corresponding shader.
    Added optimized Material.EnableKeyword, Material.DisableKeyword, Material.IsKeywordEnabled, ComputeShader.EnableKeyword, ComputeShader.DisableKeyword and ComputeShader.IsKeywordEnabled overloads that work with the new LocalKeyword struct.
    Added optimized CommandBuffer.EnableKeyword, CommandBuffer.DisableKeyword, Shader.EnableKeyword, Shader.DisableKeyword and Shader.IsKeywordEnabled overloads that work with the new GlobalKeyword struct.
    Added Shader.enabledGlobalKeywords property to query the global keyword state.
    Added Shader.globalKeywords property to query the existing global keywords.

  • Shaders: Added: CommandBuffer.EnableKeyword,CommandBuffer.DisableKeyword can now be used to enable a local shader keyword.

  • Shaders: Added: LocalKeyword.isOverridable property to check whether a given local shader keyword can be overridden by global shader keyword state.

  • Shaders: Added: LocalKeyword.type can now be used to understand why the local shader keyword was added to the local keyword space of a shader or compute shader.

  • Shaders: Added: Material.SetKeyword, ComputeShader.SetKeyword, Shader.SetKeyword and CommandBuffer.SetKeyword can now be used to set the shader keyword state directly.

  • Shaders: Added: UnityEngine.Rendering.ShaderKeywordType Plugin is a new type for keywords registered by shader compiler plugins.

  • Shaders: Deprecated: ShaderKeyword.GetGlobalKeywordName, ShaderKeyword.GetName and ShaderKeyword.GetKeywordType.

  • Terrain: Added: Added DetailPrototype.NoiseSeed and its GUI in terrain Detail wizards, so that the random seed for detail object placement can be specified. (1291809)

  • Terrain: Added: Added TerrainData.ComputeDetailInstanceTransforms that returns an array of DetailInstanceTransform structs containing the exact same transforms of details that Unity uses for rendering.

  • Terrain: Changed: IOnInspectorGUI ShowBrushGUI overloads removed and replaced with a single ShowBrushGUI call with default parameters.

  • Terrain: Changed: TerrainAPI namespace is no longer part of an experimental namespace and has been renamed TerrainTools.

  • Terrain: Changed: TerrainPaintTool GetDesc changed to GetDescription.

  • Terrain: Changed: TerrainUtility moved to UnityEngine.TerrainUtils namespace.

  • Terrain: Changed: TerrainUtility.TerrainMap moved to UnityEditor.TerrainUtils.TerrainMap. TerrainMap.TileCoord moved to UnityEditor.TerrainUtils.TerrainTileCoord.

  • Terrain: Changed: UnityEditor.TerrainAPI.TerrainPaintUtilityEditor.BrushPreview changed to UnityEditor.TerrainTools.TerrainBrushPreviewMode.

  • UI: Added: GetPersistentListenerState added to UnityEvent.

  • UI Toolkit: Added: Added visualTreeAssetSource property to VisualElement to allow identifying the VisualTreeAsset a visual tree was cloned from.

  • UI Toolkit: Added: Animated drag and drop support to ListView. Use reorderMode property.

  • UI Toolkit: Added: DestroyItem callback to ListView to have a counterpart for makeItem.

  • UI Toolkit: Added: Display options to ListView: showAddRemoveFooter, showFoldoutHeader, headerTitle.

  • UI Toolkit: Added: Expose ScrollView.mode property.

  • UI Toolkit: Added: New public UI Toolkit APIs:

    • Dropdownfield.choices

    • BasePopupField.choices

    • MaskField.choices

    • MaskField.choicesMasks.

  • UI Toolkit: Added: Tool for converting assets created with the package to use them without the package installation, and to convert them back to package versions.

  • UI Toolkit: Added: VirtualizationMethod property to collection views to allow to change between fixed height and dynamic height virtualization.

  • UI Toolkit: Changed: ListView's itemHeight is now a float and was renamed to fixedItemHeight to enforce the fact that it is only used with FixedHeight virtualization method.

  • UI Toolkit: Changed: ListView's Refresh() was split into RefreshItems() which simply rebinds reused items and Rebuild() which recreates all items from scratch.

  • UI Toolkit: Deprecated: CurveField.borderUssClassName and GradientField.borderUssClassName are now deprecated since the related visual element is not required to render a border anymore.

  • UI Toolkit: Deprecated: Deprecated OnKeyDown method in ListView. Use the event system instead, see SendEvent.

  • UI Toolkit: Obsoleted: ListView's onItemChosen and onSelectionChanged are now obsolete.

  • Universal: Added: 2D Light Texture Node. A Shader Graph node that enable sampling of the Light Textures generated by the 2D Renderer in a lit scene.

  • Universal: Added: Added View Vector node to mimic old behavior of View Direction node in URP.

  • Universal: Added: Depth and DepthNormals passes to particles shaders.

  • Universal: Added: Enabled deferred renderer in UI.

  • Universal: Added: Fixed an error where multisampled texture being bound to a non-multisampled sampler in XR. (1297013)

  • Universal: Added: SpeedTree 8 Shader Graph but did not set it as the default when importing or upgrading Speed Tree 8 assets. Because URP doesn't yet support per-material culling, this Shader Graph does not yet behave in the same way as the existing handwritten SpeedTree 8 shader for URP.

  • Universal: Added: Support for light layers, which uses Rendering Layer Masks to make Lights in your Scene only light up specific Meshes.

  • Universal: Added: Support for SSAO in Particle and Unlit shaders.

  • Universal: Added: _SURFACE_TYPE_TRANSPARENT keyword to URP shaders.

  • URP: Added: "Allow Material Override" option to Lit and Unlit ShaderGraph targets. When checked, allows Material to control the surface options (transparent/opaque, blend mode, etc).

  • URP: Added: Added a help button on material editor to show the shader documentation page.

  • URP: Added: Added GetUniversalAdditionalLightData, a method that returns the additional data component for a given light or create one if it doesn't exist yet.

  • URP: Added: Added Lights 2D to the Light Explorer window.

  • URP: Added: Added Motion Vector render pass for URP.

  • URP: Added: Added Render Settings Converter to the Render Pipeline Converter, this tool creates and assigns URP Assets based off rendering settings of a Builtin project.

  • URP: Added: Added support for default sprite mask shaders for the 2D Renderer in URP.

  • URP: Added: Blending and box projection for reflection probes.

  • URP: Added: Decal support. This includes new Decal Projector component, Decal renderer feature and Decal shader graph.

  • URP: Added: Fixed incorrect shadow fade in deferred rendering mode.

  • URP: Added: Light cookies support to directional, point and spot light. Directional light cookie is main light only feature.

  • URP: Added: New UI for Render Pipeline Converters. Used now for Built-in to Universal conversion.

  • URP: Added: New URP Debug Views under Window/Analysis/Rendering Debugger.

  • URP: Added: Optional Depth Priming. Allows the forward opaque pass of the base camera to skip shading certain fragments if they don't contribute to the final opaque output.

  • URP: Added: Possibility to rename light layer values.

  • URP: Added: Sections on Light Inspector.

  • URP: Added: Store Actions' option that enables bandwidth optimizations on mobile GPU architectures.

  • URP: Added: Support for controlling Volume Framework Update Frequency in UI on Cameras and URP Asset as well as through scripting.

  • URP: Added: Two new URP specific scene templates, Basic which has a camera and directional light, then Standard which has the addition of a global volume with basic post effects setup.

  • URP: Added: URP global setting for stripping off shader variants.

  • URP: Added: URP global setting for stripping post processing shader variants.

  • URP: Added: URP Global Settings Asset to the Graphics Settings - a common place for project-wide URP settings.

  • URP: Added: VFX: Basic support of Lit output.

  • URP: Added: VFX: Fix light cookies integration.

  • URP: Added: XR: Added Late Latching support to reduce VR latency (Quest).

  • URP: Changed: Reorder camera inspector to be in the same order as HDRP.

  • Version Control: Added: VCS support can now be added to Unity with managed code only as opposed to implementing native plugin. See UnityEditor.VersionControl.VersionControlObject and related classes.

  • VFX Graph: Added: Added HDRP Decal output context.

  • VFX Graph: Added: Added Is Inside subgraph into VFX Graph additions package.

  • VFX Graph: Added: Added new setting in "Preferences ->; Visual Effects" to control the fallback behavior of camera buffers from MainCamera node when the main camera is not rendered.

  • VFX Graph: Added: Added support for Texture2D Arrays in Flipbooks.

  • VFX Graph: Added: Material Offset setting in inspector of the rendered outputs.

  • VFX Graph: Added: Motion vectors enabled for particle strips.

  • VFX Graph: Added: New tool : Signed Distance Field baker.

  • VFX Graph: Added: New tool to help set VFX Bounds.

  • VFX Graph: Added: Placement option (Vertex, Edge, Surface) in Sample Mesh & Skinned Mesh, allows triangle sampling.

  • VFX Graph: Added: Provide explicit access to spawnCount in graph

  • VFX Graph: Added: Restore "Exact Fixed Time Step" option on VisualEffectAsset.

  • VFX Graph: Added: Sample vertices of a transformed skinned mesh with Position (Skinned Mesh) and Sample Skinned Mesh operator.

  • VFX Graph: Added: Structured Graphics Buffer support as exposed type

  • VFX Graph: Added: Support 2D Renderer in URP for Unlit.

  • VFX Graph: Added: Support of direct link event to initialize context (which support several event within the same frame)

  • VFX Graph: Added: The VFX editor automatically attach to the current selection if the selected gameobject uses the currently edited VFX asset.

  • VFX Graph: Added: Two new buttons are available in the editor's tool bar. One will display a popup panel to handle attachement and one to lock/unlock the current attachement.

  • Video: Added: Advanced video encoding controls for H.264 (for Windows only) and VP8.

  • Windows: Added: WindowsServer value added to RuntimePlatform enum.

  • XR: Added: New API to the XRMeshSubsystem which allows a transform to be associated with each mesh. This provides a potential optimization for plugins that include a transform with each mesh, allowing them to avoid transforming each vertex into session-space.

  • XR: Removed: Removed the Windows XR SDK Plug-in from Unity. Microsoft now supports Windows MR devices using OpenXR in Unity 2021, and recommends using Unity's OpenXR plugin.

Changes

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

  • 2D: Changed some PSDImporter settings to use checkboxes instead of drop-down menus.

  • 2D: Replaced usage of Triangle.Net with in house tessellation solution.

  • 2D: Updated com.unity.2d.sprite package license

  • 2D: Updated com.unity.2d.tilemap package license

  • 2D: Updated the SceneView overlays used by the Tile Palette to use UIToolkit/new Overlays framework instead of IMGUI. (1342226)

  • AI: Updated component-based workflow notice in the Navigation window.

  • Android: Allowed Android Player to use Vulkan on GPUs that are currently unknown to Unity on Android 11 or newer.

  • Android: Changed how Unity checks to see if an obb is compatible with an apk. Both the apk and obb now have unity_obb_guid file inside them and if the contents match between them, Unity treats them as being compatible.

  • Android: Changed the minimum supported Android version to 5.1 (API 22).

  • Android: Removed OpenGL ES 2.0 from Auto Graphics API. The preferred API is now Vulkan.

  • Android: Removed support for putting gradle resources in Assets/Plugins/Android/[res, assets]. you either need to use Android archive plug-ins, Android Library plug-ins, or move those files to Streaming Assets.

  • Android: Removed the overwrite comment in gradle files and manifest files '// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN'. Use templates if you want your changes to persist.

  • Android: When Auto Graphics API is enabled, Require ES3.1, Require ES3.1+AEP, Require ES 3.2 properties in Android Player Settings are now available.

  • Android: When you export an Android project, Unity no longer creates a symbols zip package because it was always missing libil2cpp.so symbols. After you build your project manually, zip unityLibrary/symbols package if you want to upload it to Google Play.

  • Asset Import: Unity will not attempt to relaunch Maya or 3DsMax after the first timeout. (1281786)

  • Asset Pipeline: Changed AssetPostprocessors calls so that they are ordered by their GetPostprocessOrder and then by their FullName (namespace.classname).

  • Build Pipeline: Unity no longer writes unsaved changes from open scenes into player builds. Instead, it asks to save changes to disk.

  • Burst: Added full support for Armv8.2 Neon intrinsics.

  • Burst: Altered the IL Post Processed 'direct call' Burst function pointers to defer until they are needed to be compiled.

  • Burst: Assigned rpmalloc as the native allocator on Windows to speed up concurrently executing LLVM work.

  • Burst: Changed how exceptions throw types and how messages are stored in Burst binaries to reduce overall binary size.

  • Burst: Changed how exceptions throw types, and how messages are stored in our Burst binaries to reduce binary size.

  • Burst: Changed how SLEEF global variables for trigonometric functions are pulled into Burst to reduce duplications.

  • Burst: Changed how Unity resolves function references in the compiler to improve resolving an existing function reference by 3x.

  • Burst: Changed the Burst minimum Editor version to 2019.4.

  • Burst: Changed the link step to not use response files if the command line was small enough, saving the cost of the round-trip to the disk.

  • Burst: Changed to inliner heuristics to improve build time and reduce executable size.

  • Burst: Disabled threading within the lld linker instances used for in-Editor and desktop cross compilation.

  • Burst: DOTS Runtime now shares the logging code path with the general case.

  • Burst: half <;->; float/double conversions now use native hardware where possible (Arm or AVX2).

  • Burst: Improved how Unity handles generic resolution in Cecil to cache the strictly resolved generic types and to save time in the compiler.

  • Burst: Improved the compiling process of a method when its assembly's dependencies have changed so that the Burst version of the method is immediately used.

  • Burst: Modified the IL Post Processed 'direct call' Burst function pointers so that they are not compiled until they are needed.

  • Burst: Named constant array data after the static field it belongs to in assembly.

  • Burst: Reduced the time it takes for Burst to check if any Burst-compilable code has changed to improve iteration speed.

  • Burst: Removed the ability to experiment with Unity.Burst.Intrinsics.Common.Pause.

  • Burst: Removed the entry-point name job/function-pointer that caused the throw in exception strings.

  • Burst: Removed the entry-point name of the job or function-pointer that caused an exception in exception strings to support the Burst compiler's requirement for deterministic results, which are not compatible with per-entry-point function derivations.

  • Burst: Restricted use of Burst in secondary Unity processes. Code normally Burst-compiled now runs under Mono.

  • Burst: Shared the logging code path of the general case with DOTS Runtime.

  • Burst: Upgraded Burst to use LLVM Version 11.0.1 by default, bringing the latest optimization improvements from the LLVM project.

  • Burst: Upgraded Burst to use LLVM Version 11.0.1 by default.

  • Editor: Added a new search field to filter dependencies.

  • Editor: Changed the behaviour of an Editor Window to ignore minimum and maximum sizes when being docked. Each window defines how it should adapt to the available space. (1269298)

  • Editor: Deleting an object reference array entry in the Inspector now removes that array element. Previously, this was a two-step process.

  • Editor: Made changes such that the default parent object is no longer simultaneously displayed for all loaded scenes. Now, when you use Set Default Parent Object, the scene to which the object belongs is set as active.

  • Editor: Modified includes and excludes in the Index Manager to keep the last selected file pattern in the enum field when you add another item.

  • Editor: Moved asset importing and cache server related preferences to the Asset Pipeline preferences window page.

  • Editor: Moved some main toolbar elements to the left align container.

  • Editor: Moved the UI widget used for Light Cookies from the standard Property Field to the ObjectField that provides texture preview and asset directory search capabilities, across HDRP and built-in.

  • Editor: Removed limitation on TooltipAttribute so you can apply it anywhere. In the Editor, currently only Tooltips on fields are visible.

  • Editor: Removed the dependencies help box.

  • Editor: Updated the Collaborate package to let users migrate to Plastic SCM.

  • GI: Removed Enlighten deprecation notices for Enlighten Realtime Global Illumination. Enlighten Baked Global Illumination is still deprecated.

  • Graphics: *Added the blend distance of the reflection probe to Unity_SpecCubeN_BoxMax.w
    *Added information about the relative importance between SpecCube 0 and SpecCube1 to unity_SpecCube1_BoxMin.w

  • Graphics: Added a macro layer for 2D texture sampling macros to Platform ShaderLibrary API headers. This layer starts with a PLATFORM_SAMPLE2D definition, and lets you inject sampling behavior on a render pipeline level. For example, being able to a global mipmap bias for temporal upscalers.

  • Graphics: Added an ArgumentException for Cubemap pixel access functions (GetPixel/GetPixels/GetPixels32/GetPixelData & SetPixel/SetPixels/SetPixels32/SetPixelData) when encountering an error.

  • Graphics: Added an ArgumentException for CubemapArray pixel access functions (GetPixel/GetPixels/GetPixels32/GetPixelData & SetPixel/SetPixels/SetPixels32/SetPixelData) when encountering an error.

  • Graphics: Added an ArgumentException for Texture2DArray pixel access functions (GetPixel/GetPixels/GetPixels32/GetPixelData & SetPixel/SetPixels/SetPixels32/SetPixelData) when encountering an error.

  • Graphics: Added an ArgumentException for Texture3D pixel access functions (GetPixel/GetPixels/GetPixels32/GetPixelData & SetPixel/SetPixels/SetPixels32/SetPixelData) when encountering an error.

  • Graphics: Added an ArgumentException for WebCamTexture pixel access functions (GetPixel/GetPixels/GetPixels32) when encountering an error. Calling these functions before the first frame update throws an exception instead of returning blank data.

  • Graphics: Altered LensFlare (SRP) so it can be disabled per element.

  • Graphics: Changed the menu path for Generate Shader Includes from Edit >; Render Pipeline >; Generate Shader Includes to Edit >; Rendering >; Generate Shader Includes.

  • Graphics: Changed the menu path for LookDev from Assets >; Create >; LookDev >; Environment Library to Assets >; Create >; Rendering >; Environment Library (Look Dev).

  • Graphics: Changed the menu path for the Graphics Compositor from Window >; Render Pipeline >; Graphics Compositor to Window >; Rendering >; Graphics Compositor.

  • Graphics: Changed the menu path for the Look Dev window from Window >; Render Pipeline >; Look Dev to Window >; Analysis >; Look Dev.

  • Graphics: Changed the menu path for the Render Graph Viewer from Window >; Render Pipeline >;* Render Graph Viewer* to Window >; Analysis >; Render Graph Viewer.

  • Graphics: Clamped the DynamicResolutionHandler.GetScaledSize function to only return a size value lower than its input size vlue.

  • Graphics: Improved IntegrateLDCharlie() to use uniform stratified sampling for faster convergence towards the ground truth.

  • Graphics: Improved load asset time for probe volumes.

  • Graphics: Improved the quality of RGBM encoded ASTC textures and removed functionality for these to fallback to ETC2.

  • Graphics: Improved the warning messages for [Volumes](https://docs.unity3d.com/Packages/[email protected]/manual/Volumes.html) and their Colliders.

  • Graphics: LensFlare (SRP) tooltips now refer to meters.

  • Graphics: LensFlare Element editor now has a Thumbnail preview.

  • Graphics: LWRP package has been deprecated. LWRP package was maintaned with the sole purpose of providing an upgrade path to URP. See URP 2021.2 documentation for notes on how to upgrade LWRP package to 2021.2.

  • Graphics: Made it possible to reduce the size of the resolver RenderTarget with [VirtualTexturing resolver](https://docs.unity3d.com/2021.2/Documentation/ScriptReference/Rendering.VirtualTexturing.Resolver.UpdateSize.html).

  • Graphics: Made occlusion Radius for lens flares in directional lights, be indepeThe occlusion radius of lens flares in directional lights is now independent of the camera's far plane.ndant of the camera's far plane.

  • Graphics: Moved Assets >; Create >; Shader >;Shader Variant Collection to Assets >; Create >; Shader Variant Collection.

  • Graphics: Moved menu item "Decal Projector" to GameObject > Decal Projector.

  • Graphics: Moved menu item "Density Volume" to GameObject > Volume > Density Volume.

  • Graphics: Moved menu item "Sky and Fog Volume" to GameObject > Volume > Sky and Fog Global Volume.

  • Graphics: New projects that use the 3D project template now use 1920x1080 as the default resolution for the Standalone build target.

  • Graphics: New projects that use the 3D project template now use ASTC texture compression for the Android build target.

  • Graphics: New projects that use the 3D project template now use DXT5nm-style normal maps for Android, iOS, and tvOS build targets.

  • Graphics: New projects that use the 3D project template now use normal quality lightmaps (RGBM-encoded) for Android, iOS, and tvOS build targets.

  • Graphics: Removed ability to resize unity_SpecCubeN_BoxMax and unity_SpecCubeN_BoxMin to encompass the bounds of the object itself, if an SRP is active.

  • Graphics: Removed the DYNAMIC_RESOLUTION snippet from the [Lens Flare](https://docs.unity3d.com/Packages/[email protected]/manual/lens-flare-data-driven-component.html) shader in order to simplify that shader.

  • Graphics: Removed the postprocessing package from the core packages list.

  • Graphics: Renamed D32_SFloat_S8_Uint and S8_Uint to D32_SFloat_S8_UInt and S8_UInt in the IUnityRenderingExtensions namespace. Native plug-ins that use the old names need to be updated to use the new name.

  • Graphics: Restricted DXT/BCn texture compression to textures with multiple-of-four width and height. This ensures the same behavior as the Texture Importer and requires multiple-of-four dimensions when compressing.

  • Graphics: Restricted NPOT (Non-Power-of-Two size) textures to a single mip level if the device does not fully support NPOT. Note that this restriction only affects WebGL 1 devices, and OpenGLES 2.0-based devices that do not support the OES_texture_npot extension.

  • Graphics: Serialized the Probe Volume asset as binary to improve footprint on disk and loading speed.

  • Graphics: Skinned Mesh Renderer GPU skinning job markers are now grouped together in captures, rather than all appearing in the root of the capture, making it easier to navigate.

  • Graphics: The Render Pipeline Debug window is now the Rendering Debugger window, and this new window is now accessible via Windows >; General.

  • Graphics: The Volume Gizmo Color is now in Colors >; Scene >; Volume Gizmo.

  • Graphics: The RTHandleSystem no longer requires a single number of samples for all MSAA textures. You can now set the number of samples independently for all textures.

  • Graphics: The Volume Gizmo now renders with an alpha value of 0.125.

  • Graphics: Updated the base class to handle additional properties

  • Graphics: Updated the icon for IES, LightAnchor and LensFlare.

  • Graphics: Updated the IMGUI Debugger to always display on top of other windows.

  • Graphics: ClearFlag.Depth does not implicitely clear stencil anymore. Added ClearFlag.Stencil.

  • HDRP: Added Material Validator option to the [Rendering Debugger]((https://docs.unity3d.com/Packages/[email protected]/manual/Render-Pipeline-Debug-Window.html).

  • HDRP: Added a debug setting to the [Rendering Debugger](https://docs.unity3d.com/Packages/[email protected]/manual/Render-Pipeline-Debug-Window.html) to list active XR views.

  • HDRP: Added a help box that warns the user when a decal atlas is oversized.

  • HDRP: Added a more consistent shading normal calculation for path tracing. This avoids impossible shading/geometric normal combinations. (1323455)

  • HDRP: Added an XR single-pass test mode to the [Rendering Debugger](https://docs.unity3d.com/Packages/[email protected]/manual/Render-Pipeline-Debug-Window.html).

  • HDRP: Added new sections to the Camera Inspector and improved field layout.

  • HDRP: Altered hair to use GGX LTC for area light specular.

  • HDRP: Augmented debug visualization for probe volumes.

  • HDRP: Cached the base types of the Volume Manager to improve memory and cpu usage.

  • HDRP: Changed 'Allow dynamic resolution' from Rendering to Output on the Camera Inspector.

  • HDRP: Changed custom render callback so when you use it, Global Camera shader constants are pushed automatically.

  • HDRP: Changed Density Volume for Local Volumetric Fog.

  • HDRP: Changed light reset to preserve type.

  • HDRP: Changed Link FOV to Physical Camera, and enabled the ability to show and hide everything on the Projection Section.

  • HDRP: Changed normal used in path tracing to create a local light list from the geometric to the smooth shading one.

  • HDRP: Changed some light unit slider value ranges to better reflect the lighting scenario.

  • HDRP: Changed the Channel Mixer Volume Component UI to show all the channels.

  • HDRP: Changed the convergence time of SSGI to 16 frames and the preset value.

  • HDRP: Changed the HDRP Render Graph to use the new RendererList API for rendering and (optional) pass culling.

  • HDRP: Changed the menu path for Check Scene Content from Edit >; Render Pipeline >; HD Render Pipeline >; Check Scene Content for Ray Tracing to Edit >; Rendering >; Check Scene Content for HDRP Ray Tracing.

  • HDRP: Changed the menu path for Edit >; Render Pipeline >; HD Render Pipeline >; Upgrade from Builtin pipeline >; Upgrade Project Materials to High Definition Materials to Edit >; Rendering >; Materials >; Convert All Built-in Materials to HDRP.

  • HDRP: Changed the menu path for Export HDRP Sky to Image from Edit >; Render Pipeline >; HD Render Pipeline >; Export Sky to Image to Edit >; Rendering >; Export HDRP Sky to Image.

  • HDRP: Changed the menu path for Render Selected HDRP Camera to log Exr from Edit >; Render Pipeline >; HD Render Pipeline >; Render Selected Camera to log Exr to Edit >; Rendering >; Render Selected HDRP Camera to log Exr.

  • HDRP: Changed the menu path for the HDRP Wizard from Window >; Render Pipeline >; HD Render Pipeline Wizard to Window >; Rendering >; HDRP Wizard.

  • HDRP: Changed the name of FOV Axis to Field of View Axis.

  • HDRP: Changed the NVIDIA install button to the standard FixMeButton.

  • HDRP: Changed the property Sorting Priority for the Materials with Transparent Surface type so that it is clamped on the UI from -50 to 50.

  • HDRP: Changed the resolution of the sky used for camera misses in Path Tracing to match the resolution of the render buffer. (1304114)

  • HDRP: Changed the storage format of volumetric clouds presets for easier editing.

  • HDRP: Changed the tooltip for color shadows and semi-transparent shadows. (1307704)

  • HDRP: Changed the top level menu for consistency between HDRP and URP by moving Edit/Render Pipeline/HD Render Pipeline/Upgrade from Builtin pipeline/Upgrade Scene Terrains to High Definition Terrains to Edit/Rendering/Materials/Convert Scene Terrains to HDRP Terrains.

  • HDRP: Changed the top level menu for consistency between HDRP and URP by moving Edit/Render Pipeline/HD Render Pipeline/Upgrade from Builtin pipeline/Upgrade Selected Materials to High Definition Materials to Edit/Rendering/Materials/Convert Selected Built-in Materials to HDRP.

  • HDRP: Changed where HDRP Global Settings are saved to their own asset (HDRenderPipelineGlobalSettings) and HDRenderPipeline's default asset refers to this new asset.

  • HDRP: Copied and referenced the default LookDev volume profile in the Asset folder instead of the package folder.

  • HDRP: Debug information for HDRP's [Render Graph](https://docs.unity3d.com/Packages/[email protected]/manual/render-graph-system.html) is now available in the [Rendering Debug Panel](https://docs.unity3d.com/Packages/[email protected]/manual/Render-Pipeline-Debug-Window.html).

  • HDRP: Density Volumes can now use a 3D RenderTexture as a mask, and that mask can use the RGBA format for RGB fog.

  • HDRP: Disabled specular occlusion for what we consider medium and larger scale ao >; 1.25 with a 25cm falloff interval.

  • HDRP: Disabled TAA jitter while using Frame Debugger.

  • HDRP: Disabled TAA sharpening on the alpha channel.

  • HDRP: Displayed an info box and disabled MSAA asset entry when ray tracing is enabled.

  • HDRP: Fixed a null ref exception which appeared while running playmode tests with the [Rendering Debugger](https://docs.unity3d.com/Packages/[email protected]/manual/Render-Pipeline-Debug-Window.html) window open.

  • HDRP: Fixed upscaling issue that is exaggerated by DLSS. (1347250)

  • HDRP: Hybrid duplicated reflection probes set to br ignored during light baking.

  • HDRP: Improved how the HDRP Wizard handles the Render Pipeline settings. The section Global contains data from the HDRP Settings section and the Render Pipeline Asset property in Project Settings >; Graphics. The section Current Quality contains data from the Render Pipeline Asset property in the Quality level that is currently in use.

  • HDRP: Improved labels for cloud scroll direction and cloud type.

  • HDRP: Improved lighting models for AxF shader area lights.

  • HDRP: Improved physically-based Depth of Field with better near defocus blur quality.

  • HDRP: Improved screen space global illumination.

  • HDRP: Improved shadow cascade GUI drawing with pixel perfect, hover, and focus functionalities.

  • HDRP: Improved the area cookie behavior for higher smoothness values to reduce artifacts.

  • HDRP: Improved the fly through ghosting artifacts in the volumetric clouds.

  • HDRP: Improved the performance and visual quality of the clamping approach for RTR and RTGI.

  • HDRP: Improved the RTGI denoising.

  • HDRP: Improved volumetric clouds (added new noise for erosion, reduced ghosting while flying through, altitude distortion, and ghosting when changing from local to distant clouds, fixed issue in wind distortion along the Z axis).

  • HDRP: Increased the minimum density of the volumetric clouds.

  • HDRP: It is now considered a miss when a ray hits the sky in the ray marching part of mixed ray tracing.

  • HDRP: Made debug panel mip bias functions internal, not public.

  • HDRP: Made LitTessellation and LayeredLitTessellation fallback on Lit and LayeredLit respectively, in DXR.

  • HDRP: Made various improvements to the volumetric clouds.

  • HDRP: Modified the history validation pass so that Unity only performs it once for each frame and not for every effect.

  • HDRP: Moved invariants outside of loop to speed up CPU in the light loop code.

  • HDRP: Moved MaterialHeaderScopes to Core.

  • HDRP: Moved menu item "C# Custom Pass" to Assets > Create > Rendering > HDRP C# Custom Pass.

  • HDRP: Moved menu item "C# Post Process Volume" to Assets > Create > Rendering > HDRP C# Post Process Volume.

  • HDRP: Moved menu item "Custom FullScreen Pass" to Assets > Create > Shader > HDRP Custom FullScreen Pass.

  • HDRP: Moved menu item "Custom Renderers Pass" to Assets > Create > Shader > HDRP Custom Renderers Pass.

  • HDRP: Moved menu item "Decal Shader Graph" to Assets > Create > Shader Graph > HDRP > Decal Shader Graph.

  • HDRP: Moved menu item "Diffusion Profile" to Assets > Create > Rendering > HDRP Diffusion Profile.

  • HDRP: Moved menu item "Eye Shader Graph" to Assets > Create > Shader Graph > HDRP > Eye Shader Graph.

  • HDRP: Moved menu item "Eye Shader Graph" to Assets > Create > Shader Graph > HDRP > Hair Shader Graph.

  • HDRP: Moved menu item "Fabric Shader Graph" to Assets > Create > Shader Graph > HDRP > Decal Fabric Shader Graph.

  • HDRP: Moved menu item "High Definition Render Pipeline Asset" to Assets > Create > Rendering > HDRP Asset.

  • HDRP: Moved menu item "Lit Shader Graph" to Assets > Create > Shader Graph > HDRP > Lit.

  • HDRP: Moved menu item "Post Process Pass" to Assets > Create > Shader > HDRP Post Process.

  • HDRP: Moved menu item "StackLit Shader Graph" to Assets > Create > Shader Graph > HDRP > StackLit Shader GraphShader Graph.

  • HDRP: Moved menu item "Unlit Shader Graph" to Assets > Create > Shader Graph > HDRP > Unlit Shader Graph.

  • HDRP: Moved some Volumetric clouds properties to the additional properties section. (1357926)

  • HDRP: Moved the Decal Gizmo Color initialization to preferences.

  • HDRP: Moved the supportRuntimeDebugDisplay option from HDRPAsset to HDRPGlobalSettings.

  • HDRP: Reduced the maximum distance per ray step of volumetric clouds.

  • HDRP: Refactored platform abstraction code for shader optimization.

  • HDRP: Removed an unnecessary RenderGraphBuilder.ReadTexturecall in the Set Final Target pass.

  • HDRP: Removed backplate from rendering of lighting cubemaps.

  • HDRP: Removed redundant checkboxes (Show Inactive Objects and Isolate Selection) from the Emissive Materials tab of the Light Explorer.

  • HDRP: Removed the Bilinear and Lanczos upscale filter.

  • HDRP: Removed the MaterialPass option from probe volume Evaluation modes.

  • HDRP: Removed the option for reflection probes to render SSAO, SSGI, SSR, ray tracing effects, or volumetric reprojection.

  • HDRP: Renamed the "Link Light Layer" property to "Custom Shadow Layer".

  • HDRP: Renamed the Cloud Offset property in the Volume component of Volumetric Clouds to Cloud Map Offset. (1358528)

  • HDRP: Renamed the Decal Projector to HDRP Decal Projector.

  • HDRP: Replaced the context menu with a search window when you add a custom pass.

  • HDRP: Restored the old version of the RendererList structs/API for compatibility.

  • HDRP: Split up the HDProjectSettings with the new HDUserSettings in UserProject. Now the Wizard working variable should not intefere with the versioning tool. (1330640)

  • HDRP: SurfacedReflectionTypeLoadExceptions in HDUtils.GetRenderPipelineMaterialList() to allow you to act on any reflection errors in the HDRP assembly.

  • HDRP: The Ambient Mode property of the Sky settings for the [Visual Environment](https://docs.unity3d.com/Packages/[email protected]/manual/Override-Visual-Environment.html) component is now Dynamic by default.

  • HDRP: The Render Pipeline Debug window is now the Rendering Debugger window, and this new window is now accessible via Windows >; General.

  • HDRP: The default black texture to use for mixed reality is now opaque. It's alpha value is now 1 whereas previously it was 0.

  • HDRP: The depth of field at half or quarter resolution is now computed consistently with the full resolution option. (1335687)

  • HDRP: The Film Grain effect does not affect the alpha channel now.

  • HDRP: The minimal Fog Distance value in the Density Volume is now 0.05.

  • HDRP: The URP Asset Inspector General section is now Rendering.

  • HDRP: Updated the HDRP config package so that it is embeded instead of copied locally. The Packages folder is versioned by Collaborate. (1276518)

  • HDRP: Updated the recursive rendering documentation.

  • HDRP: Updated the UI for the Frame Settings section: default values in the HDRP Settings section and the Custom Frame Settings property are always editable.

  • HDRP: Updated Virtual Texturing Resolver to now perform RTHandle resize logic in HDRP instead of in core Unity.

  • HDRP: Used the new API for updating Reflection Probe state (fixes garbage allocation). (1290521)

  • iOS: Changed default texture compression format from PVRTC to ASTC.

  • License: Disabled the package entitlement feature.

  • Mobile: Changed minimum iOS/tvOS version to 12.

  • Package: Changed the package display name from "Unity Recorder" to "Recorder" in the package manager.

  • Package: Fixed a wrong label for the WebM codec in the Recorder package.

  • Package: Prevented invalid GPU callback data from being written to a frame for the Recorded; this change skips the problematic frame and logs an error message.

  • Package: Removed legacy Recorders: MP4, EXR, PNG, WEBM and GIF Animation from the Recorder package.

  • Package: Visual Scripting: Changed NotEquals node in non-scalar mode to be consistent with Equals.

  • Package Manager: Changed location of the Git LFS cache enabled by setting the UPM_ENABLE_GIT_LFS_CACHE's environment variable to always be located under the global cache root, even when the cache root location is customized.

  • Package Manager: Changed the error and warning box to look like the info box.

  • Package Manager: Renamed the Import again button to Reimport.

  • Package Manager: Updated In App Purchasing package to include missing documentation.

  • Physics: Adjusted anchor position based on anchor/parentAnchor transforms to better fit the expected result.

  • Profiler: The Unity Profiler now only shows threads that have profiler markers generated since you opened the Profiler.

  • Profiler: This release contains stability and performance improvements of the Profile Analyzer package. For more information, see the [Profile Analyzer Changelog](https://docs.unity3d.com/Packages/[email protected]/changelog/CHANGELOG.html) page.

  • Scene/Game View: Changed the default shortcut for the Show Overlay menu option to Spacebar.

  • Scene/Game View: Fixed styling issues with the Overlays feature.

  • Scene/Game View: Moved Component Tools Overlay to the regular Tools Overlay.

  • Scene/Game View: Updated the new default shortcut for Toggle overlays to "`".

  • Scripting: Quaternion ToString() prints five decimal digits by default. (36265)

  • Scripting: Vector2, Vector3, Vector4, Bounds, Plane, Ray, Ray2D ToString by default prints two decimal digits (up from one). (1205206)

  • Search: ref:now only searches results that have a direct dependency on.

  • Search: Removed the resource Search Provider (res:).

  • Services: In the In-App Purchasing (IAP) Settings, when IAP package version 2 or less is installed, the "Migrate" button section is no longer available.

  • Shadergraph: Added borders to the Graph Inspector item style, to differentiate between separate items better.

  • Shadergraph: Adjusted the Blackboard article to clarify multi-select functionality.

  • Shadergraph: Changed BranchOnInputNode to choose NotConnected branch when generating a preview.

  • Shadergraph: Changed the "Create Node" action in ShaderGraph stack separator context menu to "Add Block Node" and added it to the main stack context menu.

  • Shadergraph: Condensed report errors and warnings to a single error for ShaderGraph SubGraphs.

  • Shadergraph: Fixed an issue to ensure that enum keywords may not have duplicate reference names or invalid characters. (1287335)

  • Shadergraph: Improved docs for SampleTexture2D, SampleTexture2DLOD, SampleTexture2DArray, SampleTexture3D, SampleCubemap, SampleReflectedCubemap, TexelSize, NormalFromTexture, ParallaxMapping, ParallaxOcclusionMapping, Triplanar, Sub Graphs, and Custom Function Nodes to reflect changes to texture wire data structures.

  • Shadergraph: Improved documentation for Swizzle Node.

  • Shadergraph: In Unity 2021.2, if you select more than 20 items in the Shader Editor, the Graph Inspector shows only the first 20 selected nodes.

  • Shadergraph: Modified the the shader permutation variant limit so that only ShaderGraph keywords count towards the limit; SubGraph keywords do not.

  • Shadergraph: Moved menu item "Blank Shader Graph" to Asset > Create > Shader Graph > Blank Shader Graph.

  • Shadergraph: Moved menu item "Sub Graph" to Asset > Create > Shader Graph > Sub Graph.

  • Shadergraph: Moved menu item "VFX Shader Graph" to Asset > Create > Shader Graph > VFX Shader Graph.

  • Shadergraph: Properties and Keywords are no longer separated by type on the blackboard. Categories now allow for any combination of properties and keywords to be grouped together as the user defines.

  • Shadergraph: Updated the Custom Function node to use the new ShaderInclude asset type instead of the TextAsset type. The node performs the .hlsl and .cginc checks.

  • Shadergraph: Updated/corrected View Direction doc.

  • Shadergraph: Vector2/Vector3/Vector4 property types will now be properly represented by a matching Vector2/Vector3/Vector4 UI control in the URP + HDRP Material Inspector as opposed to the fallback Vector4 field that was used for any multi-dimensional vector type.

  • Shaders: Added a shader warning for when reserved constants names with consecutive underscores are used.

  • Shaders: Increased the global keyword limit to 384.

  • Shaders: Shader compiler logs are now generated in a project's Logs folder instead of the Library folder.

  • Shaders: The methods Shader.DisableKeyword, Shader.IsKeywordEnabled, and CommandBuffer.DisableKeyword will no longer create a global keyword if the keyword does not exist.

  • Tests: Changed iOS automation code so that it uses Shell.ExecuteProgramAndGetStdout for process handling.

  • UI Toolkit: By default, rendering data of VisualElements with an opacity of zero is now generated and remains up-to-date, allowing animation in opacity without causing performance drops.

  • UI Toolkit: Marked the com.unity.ui package, which is incompatible with 21.2 and above, as deprecated.

  • UI Toolkit: Optimized some data access for Live Reload feature.

  • UI Toolkit: Optimized some data access for the Live Reload feature.

  • UI Toolkit: Removed additional overhead of attaching to panel for Live Reload when the option is turned off to improve performance in loading VisualTreeAssets.

  • UI Toolkit: URLs in UXML and USS files now support explicit GUID-based asset references. This allows assets referenced by UI assets to be renamed or moved within your project without breaking asset references. The UI Builder saves both UXML and USS files using this format. Note that this URL format is backward-compatible, but the URL query parameters are ignored in older Unity versions.

  • Universal: Added Depth and DepthNormals passes to particle shaders.

  • Universal: Deprecated GetShadowFade in Shadows.hlsl. Use GetMainLightShadowFade or GetAdditionalLightShadowFade instead.

  • Universal: Enabled subsurface scattering with global illumination for handwritten Universal ST8 shaders.

  • Universal: Improved shadow cascade GUI drawing with pixel perfect, hover and focus functionalities.

  • Universal: Material editor now uses the same MaterialHeaderScope as HDRP.

  • Universal: Modified URP profiling scopes. Remove low impact scopes from the command buffer to improve performance. Fixed the name and invalid scope for the context.submit() scope. Changed the default profiling name of ScriptableRenderPass to Unnamed_ScriptableRenderPass.

  • Universal: Moved menu item "2D Renderer" to Assets > Create > Rendering > URP 2D Renderer.

  • Universal: Moved menu item "Forward Renderer" to Assets > Create > Rendering > URP Forward Renderer.

  • Universal: Moved menu item "Lit Shader Graph" to Asset > Create > Shader Graph > URP > Lit Shader Graph.

  • Universal: Moved menu item "Pipeline Asset (2D Renderer)" to Assets > Create > Rendering > URP Asset (with 2D Renderer).

  • Universal: Moved menu item "Pipeline Asset" (Forward Renderer) to Assets > Create > Rendering > URP Asset (with Forward Renderer).

  • Universal: Moved menu item "Post-process Data" to Assets > Create > Rendering > URP Post-process Data.

  • Universal: Moved menu item "Renderer Feature" to Assets > Create > Rendering > URP Renderer Feature.

  • Universal: Moved menu item "Sprite Lit Shader Graph" to Asset > Create > Shader Graph > URP > Sprite Lit Shader Graph.

  • Universal: Moved menu item "Sprite Unlit Shader Graph" to Asset > Create > Shader Graph > URP > Sprite Unlit Shader Graph.

  • Universal: Moved menu item "Unlit Shader Graph" to Asset > Create > Shader Graph > URP > Unlit Shader Graph.

  • Universal: Moved menu item "Upgrade Project Materials to 2D Renderer Materials" to Edit > Rendering > Materials > Convert All Built-in Materials to URP 2D Renderer.

  • Universal: Moved menu item "Upgrade Project Materials to URP Materials" to Edit > Rendering > Materials > Convert All Built-in Materials to URP.

  • Universal: Moved menu item "Upgrade Project URP Parametric Lights to Freeform" to Edit > Rendering > Lights > Convert Project URP Parametric Lights to Freeform.

  • Universal: Moved menu item "Upgrade Scene Materials to 2D Renderer Materials" to Edit > Rendering > Materials > Convert All Built-in Scene Materials to URP 2D Renderer.

  • Universal: Moved menu item "Upgrade Scene URP Parametric Lights to Freeform" to Edit > Rendering > Lights > Convert Scene URP Parametric Lights to Freeform.

  • Universal: Moved menu item "Upgrade Selected Materials to URP Materials" to Edit > Rendering > Materials > Convert Selected Built-in Materials to URP.

  • Universal: Moved menu item "XR System Data" to Assets > Create > Rendering > URP XR System Data.

  • Universal: Moved the code that evaluates the fog from the vertex shader to the pixel shader. This improves the rendering of fog for big triangles and the fog quality. This can change the look of the fog slightly.

  • Universal: Optimized the Bokeh Depth of Field shader on mobile by using half precision floats.

  • Universal: Reduced the size of the fragment input struct of the TerrainLitPasses, LitGBufferPass, SimpleLitForwardPass, and SimpleLitGBufferPass lighting shaders.

  • Universal: Removed unused temporary depth buffers for Depth of Field and Panini Projection.

  • Universal: Renamed the Forward Renderer asset to the Universal Renderer asset. The Universal Renderer asset contains the Rendering Path property, which you can set to either the Forward Rendering Path or the Deferred Rendering Path.

  • Universal: Renamed UniversalRenderPipelineCameraEditor to URPCameraEditor.

  • Universal: Shadow fade now uses border value for calculating shadow fade distance and fall off linearly.

  • Universal: The DepthNormals passes sample the normal maps if the passes run on a Material now, otherwise the passes output the geometry normals.

  • Universal: The format of the SSAO texture is now R8 instead of ARGB32 on platforms that support the format.

  • Universal: The function to upgrade from LWRP to URP was removed. If you want to upgrade your ptoject from LWRP to URP, you must first upgrade to a previous URP version, and then upgrade to this version.

  • Universal: The method ClearFlag.Depth does not implicitly clear the Stencil buffer anymore. Use the new method ClearFlag.Stencil.

  • Universal: The Opacity as Density blending feature for the Terrain Lit shader is now disabled when the Terrain object has more than four Terrain Layers. This behavior is now similar to the Height-blend feature of the Terrain Lit shader.

  • Universal: The performance of the Bokeh mode of the Depth of Field effect is improved. The CPU performs certain caluculations instead of the GPU now.

  • Universal: The property Advanced Options >; Priority is renamed to Sorting Priority.

  • Universal: The UNITY_Z_0_FAR_FROM_CLIPSPACE macro now remaps the coordinates to the [0, far] range on all platforms consistently. Previously, Unity did not perform the remapping on OpenGL platforms, discarding the range [-near, 0].

  • URP: Added shadergraph support for VFX directly on Universal target.

  • URP: Changed 2D Lights to inherit from Light2DBase.

  • URP: Changed material upgrader to upgrade AnimationClips in projects that have curves bound to renamed material properties.

  • URP: Changed Pixel Snapping and Upscale Render Texture in the PixelPerfectCamera to a dropdown.

  • URP: Changed process to stripping shader variants per renderer feature instead of combined renderer features.

  • URP: Changed the default name of new URP assets.

  • URP: Changed the opaque pass depth to be copied instead of scheduling a depth prepass when MSAA is enabled and a depth texture is required.

  • URP: Improved PixelPerfectCamera UI/UX.

  • URP: Made 2D shadow casting more efficient.

  • URP: Modified the behavior of setting a camera's Background Type to "Dont Care" on mobile. "Dont Care" now fills the render target with arbitrary data at the beginning of the frame, which might be faster in some situations. Note that there are no guarantees for the exact content of the render target, so projects should only use "Dont care" if they are guaranteed to render to, or otherwise write every pixel every frame.

  • URP: Moved all 2D APIs out of the experimental namespace.

  • URP: Moved the advanced settings in eachg section of the the URP Asset Inspector to Show Additional Properties.

  • URP: Refactored some of the array resizing code around decal projector rendering to use new APIs in render core.

  • URP: Reversed UniversalRendererData and ForwardRendererData GUIDs to improve the upgrade experience from Unity versions 2019LTS, 2020LTS and 2021.1. Issues upgrading 2021.2 Alpha/Beta versions and are recommended to start with a fresh library if initial upgrade fails.

  • URP: Updated URP to no longer render via an intermediate texture unless actively required by a Renderer Feature. See the upgrade guide for compatibility options and how assets are upgraded.

  • URP: URP Asset Inspector - General section has been renamed to Rendering.

  • Version Control: Improved usage analytics around Editor and Plugin version. Made workspace migration adjustments.

  • Version Control: Made the following improvements for Plastic SCM:

    • Updated license to better conform with expected customer usage.

    • Updated documentation file to meet standards.

    • Updated third-party usage.

    • No longer requires downloading of the full Plastic client. Basic features work without additional installation. Features that require the full Plastic client will allow download and install as needed.

    • Usability improvements around checking in code.

    • Improved update workspace tab UX.

    • Plastic SCM context menu is now available even if the Plastic SCM window is closed.

  • Version Control: Simplified and decluttered UI.

  • VFX Graph: Allowed the remaking of existing links.

  • VFX Graph: Integrated Transform to VFXTypes : Circle, ArcCircle, Sphere, ArcSphere, Torus, ArcTorus, Cone, ArcCone.

  • VFX Graph: Moved menu item "Point Cache Bake Tool" to Window > VFX > Utilities > Point Cache Bake Tool.

  • VFX Graph: Moved menu item "Rebuild And Save All VFX Graphs" to Edit > VFX > Rebuild And Save All Visual Effect Graphs.

  • VFX Graph: Moved menu item "Visual Effect Defaults" to Assets > Create > VFX > VFX Defaults.

  • VFX Graph: Moved menu item "Visual Effect Graph" to Assets > Create > VFX > VFX Graph.

  • VFX Graph: Moved menu item "Visual Effect Graph" to Window > VFX > VFX Graph.

  • VFX Graph: Moved menu item "Visual Effect Subgraph Block" to Assets > Create > VFX > VFX Subgraph Block.

  • VFX Graph: Moved menu item "Visual Effect Subgraph Operator" to Assets > Create > VFX > VFX Subgraph Operator.

  • VFX Graph: Property Binder : Handle Remove Component removing linked hidden scriptable objectfields.

  • VFX Graph: Property Binder : Prevent multiple VFXPropertyBinder within the same game object.

  • VFX Graph: Sphere and Cube outputs are now experimental.

  • Virtual Texturing: Updated PopRequests to allow the destination list to have a different size than the texture stack's maxActiveRequests value.

  • WebGL: Eliminated the Python dependency from the Brotli compressor.

Fixes

  • 2D: 2D light is rendered in half in its Y-axis when two Sprite Shape objects with same Order In Layer are visible on the Screen (1274010)

  • 2D: Add null arguments checks for Sprite.GetPhysicsShape, Sprite.OverridePhysicsShape and Sprite.OverrideGeometry (1306258)

  • 2D: Call Tilemap.tilemapChanged callback when Tilemap component is reset or ResizeBounds is called. (1304936)

  • 2D: Fix crash when loading a scene with a GameObject with an invalid Tilemap and a TilemapCollider2D. (1314326)

  • 2D: Fix issue with the Sorting Group where the sorted renderers are not in hierarchical order when their sorting criteria are the same. (1309075)

  • 2D: Fix Sprite Preview in inspector becomes unrecognizable when Sprite size is big (1299189)

  • 2D: Fixed 2D Animation manual documentation.

  • 2D: Fixed 2D Animation package description.

  • 2D: Fixed 2D PSDImporter doesn't apply settings from Sprite Editor Window when changes made in Inspector. (1339799)

  • 2D: Fixed 2D PSDImporter package description.

  • 2D: Fixed an issue where Name and Texture fields were overlapping with each other in the Secondary Textures module of the Sprite Editor. (1284356)

  • 2D: Fixed Bone and Sprite influence lists to display correctly. (1349041)

  • 2D: Fixed duplication of Tilemap Selection Box when the Grid and the Tilemap are offset in transform. (1293341)

  • 2D: Fixed exception thrown when manually adding vertices in the Skinning Editor to a Sprite without mesh. (1340105)

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

  • 2D: Fixed extrusion of CompositeCollider2D when an offset distance has been set. (1328999)

  • 2D: Fixed GridSelection on a Tile Palette losing its target when the Tile Palette is saved. (1327582)

  • 2D: Fixed initial rendering animated tiles when a CompleteObjectUndo is registered for a Tilemap while in Play mode.

  • 2D: Fixed issue when the size of a GridSelection is set to negative values. (1318891)

  • 2D: Fixed issue where Tilemap does not preserve transform changes or color when inserting or deleting cells. (1315084)

  • 2D: Fixed issue with setting a Spritesheet with padding between Sprites on a Tile Palette having a positional offset when there should not be one.

  • 2D: Fixed issue with sprite mask debug color when sprite renderers are batched. (1328538)

  • 2D: Fixed mouse position calculation after SceneView overlay changes.

  • 2D: Fixed MouseDrag including previous mouse positions from initial drag.

  • 2D: Fixed MouseDrag not including final mouse position after drag.

  • 2D: Fixed NullReferenceException from being thrown when doing a Grid Select on a Grid which is not enabled. (1295122)

  • 2D: Fixed offset placement of Tile placed when dragging in a single Sprite or Tiles onto the Tile Palette window.

  • 2D: Fixed on deselecting game object from the Inspector window leads to deselecting Sprite Shape Renderer. (1317728)

  • 2D: Fixed Paint tool triggering a Tile Palette edit when Paint tool is active and is removed from the Tile Palette default tools.

  • 2D: Fixed performance regression in PSDImporter Editor. (1349148)

  • 2D: Fixed potential Sprite reference lost when upgrading from 2021.1. (1358979)

  • 2D: Fixed SpriteRect and Name File Id does not match in meta file. (1319819)

  • 2D: Make tooltips appear closer to the label for Tilemap Info in the Tilemap Editor rather than in the center. (1294929)

  • 2D: Mark com.unity.2d.tilemap.extras as discoverable

  • 2D: Prevent Tile Palette Prefabs from showing as a Active Target for the Tile Palette window when selected.

  • 2D: Prevented users from selecting a disabled GameObject as an active target for the Tile Palette. (1327021)

  • 2D: Removes GC.Alloc when Tilemap.HasSyncTileCallback is called which is internally called for each SetTile/s.

  • 2D: Sprite Atlas importer does not show name on top (1300861)

  • 2D: Swapped behavior of rotating clockwise and counter-clockwise.

  • 2D: Unable to exclude Objects for Packing property from Sprite Atlas preset (1294393)

  • AI: Fixed a crash when exiting play mode while a NavMesh asynchronous update call is being scheduled. (1297742)

  • AI: Fixed crashes from building from meshes larger than the allowed size threshold. (1298356)

  • AI: Fixed issue where the NavMeshModifierBox did not override the area type with existing higher index. (1078153)

  • AI: Fixed the gizmos of navigation OffMeshLinks when the distance from start to end is small. (805223)

  • Android: Added a new AndroidDevice.hardwareType property, which is set to AndroidHardwareType.ChromeOS if running on a Chrome OS device. This is helpful if an app needs to run Chrome OS-specific code.

  • Android: Added a warning if making an IL2CPP Android build without Arm64 binaries (1318322)

  • Android: Added fullscreen flag to manifest to better handle static splash screen. (1310347)

  • Android: Android: Fix lightmap quality warning text in PlayerSettings. (1337631)

  • Android: Clamp Android minimum bundle version to greater than 0 (1307476)

  • Android: Fix high memory usage for textures when uploading textures at runtime using Vulkan (1300900)

  • Android: Fix rendering errors when trying to use Particle Systems with instancing on devices that don't support it (1312433)

  • Android: Fixed Android build failures due to unsupported manifest features when targeting API 23 or below. (1340517)

  • Android: Fixed artifacts when exceeding geometry working set memory limit on Mali GPUs when using Vulkan GraphicsJobs.

  • Android: Fixed Build&Run when apk name contains duoble quote. (1323395)

  • Android: Fixed compatibility with OpenGL ES shaders in asset bundles built with Unity 2018.x or older. (1329702)

  • Android: Fixed computeBufferStartIndex of ComputeBuffer.GetData being ignored when using Vulkan. (1299902)

  • Android: Fixed crash during shutdown on Adreno devices when using Vulkan. (1330396)

  • Android: Fixed crash when using R16 UNorm and similar formats with Vulkan on devices that don't support it. (1314282)

  • Android: Fixed incorrect resolution scaling on PowerVR devices when BlitType Auto is used (1287131)

  • Android: Fixed Patch not working on some newer Android devices due to permission issue. (1343844)

  • Android: Fixed runtime decompression of ASTC HDR cubemaps on devices that don't support ASTC HDR. (1323739)

  • Android: Fixed screen safe area values at startup. (1327752)

  • Android: Fixed shader compile error when signed bitfieldExtract is generated for ES 3.0 shader target. (1327731)

  • Android: Fixed shaders with bitfield operations compilation errors on Adreno3XX GPUs.

  • Android: Il2cpp resources will be extracted during player launch only when needed, for ex., changes in scripts. Previously they would be extracted each time you make a new build from Unity.

  • Android: Preserve ComputeBuffer data when doing partial updates using ComputeBuffer.SetData (1300424)

  • Android: Resolved an Android build failure when the Target SDK was set to below 24. (1340438)

  • Android: Resolved an issue that prevented features such as tessellation and geometry shaders from being marked as supported on Android devices whose driver supports OpenGL ES 3.1 with AEP but not 3.2.

  • Android: Updated Kotlin version to fix potential compatibility problems in Android Studio. (1325245)

  • Animation: 1D BlendTree's threshold values were draggable when not the hot control. (1217253)

  • Animation: Added a tooltip for the auto live link button in the animator window. (1283065)

  • Animation: Added checks to prevent and capture crash for the GetRootBlendTreeChildWeights function. (1282475)

  • Animation: Added option to set the single layer optimization for AnimationLayerMixerPlayable that is enable by default in previous version. (1159548)

  • Animation: Fixed a bug where the .controller file would grow in size even after undoing states. (1194086)

  • Animation: Fixed a bug where the parameters list being previewed would not display in the inspector window. (1190190)

  • Animation: Fixed AddAssetToSameFile assert thrown on adding SMB on unpersisted AnimatorState or AnimatorStatemachine. (1233556)

  • Animation: Fixed an animation performance test failing on specific device (iOS/Android) (1307702)

  • Animation: Fixed an issue when trying to record elements from array where the index elements were 2 or 4. (1242410)

  • Animation: Fixed an issue where an animation playable events would still fire while it was paused. (1227098)

  • Animation: Fixed an issue where the application would crash if modifying the graph while being traversed. (1282046)

  • Animation: Fixed an issue where the checkbox wouldn't align properly with its label in the transition list. (1259438)

  • Animation: Fixed an issue where the destination state would indicate INVALID instead of the known destination state in the transition list of the inspector window

  • Animation: Fixed an issue where the slider of the animation window would go into the hierarchy part of the window when the animation window was too small width wise (1288823)

  • Animation: Fixed an issue where the stabilize feet would not get saved upon entering playmode. (1245722)

  • Animation: Fixed an issue where the transition to a base layer state machine would be invisible (1287749)

  • Animation: Fixed an issue where the transition would automatically disappear if made from a lower layer state machine to an upper layer one. (1188984)

  • Animation: Fixed an issue where the Vector property of the material component would not have a blue tint to highlight it was being animated when in preview mode. (1333416)

  • Animation: Fixed an issue where warnings would appear while typing the first numbers of the time in blend tree before confirming the value. (1250904)

  • Animation: Fixed animation events to fire correctly when overriding the loop in a AnimationClipPlayable. (1292994)

  • Animation: Fixed animation transition preview playback marker to update correctly when window is floating and animation is paused. (1285405)

  • Animation: Fixed Animator MatchTarget to work correctly with longer time. (1052600)

  • Animation: Fixed BlendTree graph where nodes switch positon when play is pressed. (1306710)

  • Animation: Fixed crash upon calling the MonoManager::TypeToScriptingClass(Unity::Type) method on a type that has been removed. The solution is to check if the type is valid first with type-&gt;HasValidRuntimeTypeIndex(). (1319992)

  • Animation: Fixed edge highlighting logic with livelink in mecanim with edge cases involving Any State and Entry nodes. (1171704)

  • Animation: Fixed for disappearing Animator State Machine information. (1307535)

  • Animation: Fixed GetLayerWeight function in Animator to always return 1 if getting the base layer weight. (1315029)

  • Animation: Fixed human pose offset in Animation C# Job when root node is scaled. (1266529)

  • Animation: Fixed human pose with missing bones shifting when used in an Animation C# Job. (1214897)

  • Animation: Fixed humanoid SetLookAtWeight method for weights larger than 0.5. (1307253)

  • Animation: Fixed manipulation of the Current Blend Value (the red line)in BlendTree Inspector.

  • Animation: Fixed nan appearing in AABB when root motion is enabled in a StateMachineBehaviour by initializing MotionXReference structure upon allocation. (1279206)

  • Animation: Fixed ScaleConstraint on child with parent having a nulled scaled axis. (1243185)

  • Animation: Fixed slow performance depend on the first selected. (1236353)

  • Animation: Fixed static analysis warning. (1232341)

  • Animation: Fixed use of PropertyStreamHandle with Addressable AnimatorController. (1341031)

  • Animation: Fixing an issue where an Animator with Animate Physics ON would apply physics to every transform except the root transform (1154835)

  • Animation: Force grouped animation of GroupColor for material color in URP. (1212805)

  • Animation: Improved SetTime and GetTime documentation for playables (1196250)

  • Animation: Removed invalid error messages and display correct inspector when viewing a state with invalid StateMachineBehaviours. (1319708)

  • Animation: Removed multi edit on animator override controller (1082045)

  • Animation: Stop animation preview when exiting edit mode with Play Mode with Reload Domain disabled to prevent accessing destroyed object. (1214031)

  • Animation: Updated documentation of playable to document feature of auto adding new port (1227724)

  • Asset Bundles: AssetBundle.Unload waits for all asset bundle async operations to be completed before proceeding.

  • Asset Bundles: Fixed error being logged when accessing an archive file that was modified while it was still opened. (1319389)

  • Asset Bundles: Fixed issue where Caching.IsVersionCached returns false when loading a previously cached bundle. (1186310)

  • Asset Bundles: Fixed issue where loading an asset from a bundle asynchronously while loading a texture synchronously causes a deadlock on the main thread.

  • Asset Import: Adding a ScriptedImporter attribute to a non-ScriptedImporter class no longer crashes the editor. (1308671)

  • Asset Import: Apply/Revert buttons in the inspector are correctly disabled after changing a value that is being overridden by the Importer script or an AssetPostprocessor. (1287345)

  • Asset Import: Assembly Ref / Definition files now have padding. (1311970)

  • Asset Import: Changing player settings Graphics APIs while editor is in Android platform no longer reimports all textures, video clips or fonts. (1329621)

  • Asset Import: Editing the animation clip directly from the sub-asset on first import is no longer broken. (1304418)

  • Asset Import: Fixed crash when importing FOV animations from 3DsMax. (1324054)

  • Asset Import: Fixed crash/corruption when importing animations.

  • Asset Import: Fixed missing normal property values from materials imported from 3DsMax 2021's Physical materials. (1313450)

  • Asset Import: Fixed Texture Import Platform settings getting reset when multi editing.

  • Asset Import: GameObjects & Prefabs can no longer be duplicated using Ctrl + D. (1304106)

  • Asset Import: GatherDependenciesFromSourceFile declared in parent classes is now properly called from derived classes. (1203843)

  • Asset Import: ModelImporter now only renames sibling nodes with duplicate names. (1233702)

  • Asset Import: New flag to allow rigs with different topologies to be swapped. (974120)

  • Asset Import: Only call frame rate errors when animations are imported. (1222562)

  • Asset Import: Rename of Inspector labels to make them more consistent.

  • Asset Import: SearchAndRemap now functions as expected in packages. (1218857)

  • Asset Import: Switching Texture Importer tabs does not dirty the importer. (1321256)

  • Asset Import: The Default Clip selection no longer gets stuck. (1279563)

  • Asset Import: Updated Log Warning to include name / object reference (1304432)

  • Asset Pipeline: All domain reloads are now done inside asset db. This fixes problem with reloading of asset objects when doing manual refresh. (1341910)

  • Asset Pipeline: Asset loading is safe in this callback. (1267939)

  • Asset Pipeline: Enabled PluginSettingsWorks.WSASettings integration test (1086909)

  • Asset Pipeline: Fix for crash that could happen after safe mode exit

  • Asset Pipeline: Fixed a crash that could occur when opening a project with a meta file conflict. (1310334)

  • Asset Pipeline: Fixed a very rare bug causing directory monitor not pick up all the changes that happened before a Refresh.

  • Asset Pipeline: Fixed an assert when fetching previews for assets in AssetBundles. (1311115)

  • Asset Pipeline: Fixed an issue where a scene could become corrupt if renamed to match the name of a recently deleted scene. (1263621)

  • Asset Pipeline: Fixed an issue where AssetDatabase.SaveAssetIfDirty() wouldn't save the asset if a sub-object was dirty, but the main object wasn't. (1341834)

  • Asset Pipeline: Fixed issue where an invalid GUID was being reported, but the file in which it resided was not. (1275878)

  • Asset Pipeline: Fixed issue with asset reference getting lost, if asset is modified and domain reload is done in the same refresh. (1357812)

  • Asset Pipeline: Fixed issue with incorrect progress bar text during startup. (1339167)

  • Asset Pipeline: Fixed issue with missing domain reload when entering play mode and LockReloadAssemblies is set. (1367222)

  • Asset Pipeline: Fixed issue with some FBX models being imported with a scale of 0 when 'Remove Constant Scale Curves' is enabled. (1348264)

  • Asset Pipeline: Fixed missing automatic scale down or import workers in order to not use excess system resources. (1343401)

  • Asset Pipeline: Fixed the progress bar being full during the import of assets. (1298760)

  • Asset Pipeline: Fixed to script type dependency hash generation. The issues could cause unnecessary imports and in some cases missing reimports. (1295635)

  • Asset Pipeline: Fixed various issues relating to assets not being correctly unloaded during AssetDatabase.Refresh(). (1186177, 1213291, 1255803, 1299716)

  • Asset Pipeline: Improved performance of flushing the preload operation queue from the main thread. This can occur when accessing an operation's result on the main thread before it is completed.

  • Asset Pipeline: InitializeOnLoad method shouldn't be used for asset operations, because InitializeOnLoad is called before asset importing is completed. (1279619)

  • Asset Pipeline: New version of OnPostProcessAllAssets with didDomainReload parameter added. This callback should be used for domain reload related initialization that requires asset operations such as asset loading. InitializeOnLoad method shouldn't be used for asset operations, because InitializeOnLoad is called before asset importing is completed. (1274994)

  • Asset Pipeline: PostProcessAllAssets callback now supports all asset db operations. (1144276)

  • Asset Pipeline: Preview of material is now correctly regenerated when shader changes (1298200)

  • Asset Pipeline: Previews are now correct for a prefeab when assets referenced by the prefab (like texture) changes (1284853)

  • Asset Pipeline: Updated reload tests to cover async domain reload.

  • Asset Pipeline: Using the AssetDatabase.CreateAsset() API to create an asset from a TextAsset object where the file type specified is not a native Unity format such as .ASSET will now report an error about incorrect usage of CreateAsset. (1241343)

  • Audio: (OSX) Sound effects in Audio Mixer were not always selected when clicked. (1124032)

  • Audio: AudioClip reference was lost when loading a new Scene even if AudioSource was set to DontDestroyOnLoad. (1314527)

  • Audio: Fixed AudioClip reference being lost when loading a new Scene even if AudioSource is set to DontDestroyOnLoad.

  • Audio: Fixed deadlock caused by interaction between output suspend/resume logic and DSPGraph output hooks.

  • Audio: Fixed DSPGraph playback not pausing when player is paused.

  • Audio: Fixed editor crash when undoing after reordering snapshots in the audio mixer.
    Fixed exception when deleting snapshots. (1324578)

  • Audio: Fixed microphone API not working when automatic output device suspension was active. (1318560)

  • Audio: SoundManager optimizations for lowering main thread performance degradations caused by having a large amount of loaded audio clips in a scene. (1146312)

  • Audio: Topological changes such as adding/removing/moving effects in the audio mixer resulted in glitches and, depending on mixer configuration, loud bursts. (666910)

  • Bug Reporter: Fixed a bug where the crash reporting symbol uploader process would crash on parsing certain dSYM files.

  • Bug Reporter: Improved failing filename error message to make it reflect the source of the problem better. (1298484)

  • Bug Reporter: Multiple Qt library copies are no longer included.

  • Bug Reporter: Reset Bug Reporter style to match Windows styling (1296042)

  • Build Pipeline: Added an API to gather the lighting and fog modes used by the active scene. (1293228)

  • Build Pipeline: Added build target Dedicated Server.

  • Build Pipeline: Errors from catastrophically failing incremental build pipeline steps are now clearer.

  • Build Pipeline: Fixed a bug where data builds would unnecessarily rerun in incremental player builds if the project contained editor resources.

  • Build Pipeline: Fixed a bug where UnityLinker would unnecessarily rerun without changes in incremental player builds.

  • Build Pipeline: Fixed a potential file name issue on windows in incremental player builds.

  • Build System: Fixed a problem with the detection of Microsoft.VCLibs SDK extension for UWP builds.

  • Burst: Added PreserveAttribute to prevent the internal log from being stripped in il2cpp builds.

  • Burst: Added PreserveAttribute to prevent the internal log from being stripped in il2cpp builds.

  • Burst: Broken link restored for known issues with debugging and profiling.

  • Burst: Broken link restored for known issues with debugging and profiling.

  • Burst: clang segmentation fault on iOS when member function debug information was emitted, it is disabled for this platform now.

  • Burst: Clang segmentation fault on iOS when member function debug information was emitted, it is disabled for this platform now.

  • Burst: Corrected 'Enable safety checks tooltip`.

  • Burst: Corrected 'Enable safety checks tooltip`.

  • Burst: Crash when extracting sequence point information for error reporting/debug information generation.

  • Burst: Direct Call extension methods that only differ on argument types are now supported (previously Burst's AssemblyLoader would complain about multiple matches).

  • Burst: Dots runtime function pointer transform has been simplified, making it less brittle and fixing some bad IL generation.

  • Burst: Dots runtime function pointer transform has been simplified, making it less brittle and fixing some bad IL generation.

  • Burst: Fixed a bug in LLVM that it would incorrectly convert some memset ->; memcpy if both pointers derived from the same memory address, and where one indexed into the 0th element of the pointer.

  • Burst: Fixed a bug that occurred when an explicitly laid out struct was used by a dup instruction, which caused an internal compiler error.

  • Burst: Fixed a bug that occurred when an explicitly laid out struct was used by a dup instruction, which caused an internal compiler error.

  • Burst: Fixed a bug where eager-compilation could pick up out-of-date global Burst menu options for compiling.

  • Burst: Fixed a bug where eager-compilation could pick up out-of-date global Burst menu options for compiling.

  • Burst: Fixed a bug where explicitly casting from an int to IntPtr would not sign extend the value.

  • Burst: Fixed a bug where explicitly casting from an int to IntPtr would not sign extend the value.

  • Burst: Fixed a bug where having any [DllImport] in a class that used the Direct Call mechanism could result in an illegal CompileFunctionPointer call being produced by our post processor.

  • Burst: Fixed a bug where having any [DllImport] in a class that used the Direct Call mechanism could result in an illegal CompileFunctionPointer call being produced by our post processor.

  • Burst: Fixed a bug where if a user had defined multiple implicit or explicit casts, the compiler could resolve to the wrong cast.

  • Burst: Fixed a bug where if a user had defined multiple implicit or explicit casts, the compiler could resolve to the wrong cast.

  • Burst: Fixed a bug where loading from a vector within a struct, that was got from a NativeArray using an indexer, would cause the compiler to crash.

  • Burst: Fixed a bug where loading from a vector within a struct, that was got from a NativeArray using an indexer, would cause the compiler to crash.

  • Burst: Fixed a bug where the Burst post-processing for direct call would cause duplicate function pointers to be compiled, wasting compile time in the editor and caused an Editor launch stall.

  • Burst: Fixed a bug where the Burst post-processing for direct call would cause duplicate function pointers to be compiled, wasting compile time in the editor and caused an Editor launch stall.

  • Burst: Fixed a bug where the multi-CPU dispatcher (used for player builds targetting multiple CPU architectures) could end up generating invalid instructions.

  • Burst: Fixed a bug where the progress bar would report double the amount of pending compile jobs if a user changed the Burst options while background compilation was going on.

  • Burst: Fixed a bug where the progress bar would report double the amount of pending compile jobs if a user changed the Burst options while background compilation was going on.

  • Burst: Fixed a bug whereby sometimes some LLVM intrinsics could be incorrectly marked as unused causing invalid codegen with calls to math.acos.

  • Burst: Fixed a bug with using multiple IsXXXSupported intrinsics in the same boolean condition would fail.

  • Burst: Fixed a minor debug information bug where built-in types with methods (like System.Int32) would generate incorrect debug information.

  • Burst: Fixed a possible DivideByZeroException due to race condition in TermInfoDriver initialization code.

  • Burst: Fixed a regression where managed static fields, in static constructors that would also be compiled with Burst, could cause a compile time failure for mixing managed and unmanaged state.

  • Burst: Fixed a very obscure bug where if you had a function-pointer that was called from another function-pointer of job, and that function-pointer happened to be compiled in a player build in the same bucket as the caller, and the no-alias cloning analysis identified that it could clone the original function-pointer to enable more aliasing optimizations, it could create a duplicate symbol error.

  • Burst: Fixed a very obscure bug where if you had a function-pointer that was called from another function-pointer of job, and that function-pointer happened to be compiled in a player build in the same bucket as the caller, and the no-alias cloning analysis identified that it could clone the original function-pointer to enable more aliasing optimizations, it could create a duplicate symbol error.

  • Burst: Fixed alignment issues associated with xxHash3 on ArmV7 (case 1288992)

  • Burst: Fixed alignment issues associated with xxHash3 on ArmV7 (case 1288992).

  • Burst: Fixed an issue where Burst would erroneously error on BurstCompile.CompileFunctionPointer calls when building for the DOTS Runtime.

  • Burst: Fixed an issue where Burst would erroneously error on BurstCompile.CompileFunctionPointer calls when building for the DOTS Runtime.

  • Burst: Fixed an issue where if a user used a math function (like cos, sin, etc) then LLVM would preserve both the scalar and vector implementations even if they were trivially dead, causing us to inject otherwise dead functions into the resulting binary.

  • Burst: Fixed Burst's handling of stack-recovery, in the editor, on Apple Silicon hardware. (1345235)

  • Burst: Fixed compilation errors when targeting Arm CPUs and using some of the Intel intrinsics

  • Burst: Fixed compilation errors when targeting Arm CPUs and using some of the Intel intrinsics.

  • Burst: Fixed compilation errors when targeting Intel CPUs and using some of the Arm Neon intrinsics

  • Burst: Fixed compilation errors when targeting Intel CPUs and using some of the Arm Neon intrinsics.

  • Burst: Fixed crashes on 32 bit windows when calling function pointers from managed code and using IL2CPP.

  • Burst: Fixed crashes on 32 bit windows when calling function pointers from managed code and using IL2CPP.

  • Burst: Fixed DOTS Runtime JobProducer Bursting code to support JobProducers with multiple generic arguments, complex job wrapper and generic jobs.

  • Burst: Fixed managed implementation of sub_ss intrinsic

  • Burst: Fixed managed implementation of sub_ss intrinsic.

  • Burst: Fixed managed implementations of blend_epi32 and mm256_blend_epi32 intrinsics on Mono

  • Burst: Fixed managed implementations of blend_epi32 and mm256_blend_epi32 intrinsics on Mono.

  • Burst: Fixed multi-CPU dispatcher (used for player builds targetting multiple CPU architectures) generating invalid instructions.

  • Burst: Fixed namespace issue triggering a warning in the editor.

  • Burst: Fixed some intrinsics not checking target CPU against required CPU, so it was possible to use some intrinsics without an IsXXXSupported check.

  • Burst: Fixed some intrinsics not checking target CPU against required CPU, so it was possible to use some intrinsics without an IsXXXSupported check.

  • Burst: Fixed the 1.5 restriction that Direct Call methods can only be called from the main thread, now they work when called from any thread.

  • Burst: Fixes DOTS Runtime JobProducer Bursting code to support JobProducers with multiple generic arguments, complex job wrapper and generic jobs.

  • Burst: Function calls using in modifiers on blittable structs where being treated as non blittable.

  • Burst: Gracefully handle failing to find a particular assembly in the ILPP to prevent an ICE.

  • Burst: IL Function Pointer Invoke Transformation now uses correct runtime library for dots runtime.

  • Burst: IL Function Pointer Invoke Transformation now uses correct runtime library for dots runtime.

  • Burst: IL Function Pointer Invoke Transformation updated to handle transforms that affect instructions that are the destination of a branch.

  • Burst: IL Function Pointer Invoke Transformation updated to handle transforms that affect instructions that are the destination of a branch.

  • Burst: Internal Compiler Error if a call was discarded (via BurstDiscard for example), but the callsites required an ABI transform e.g. struct return.

  • Burst: Internal Compiler Error if a call was discarded (via BurstDiscard for example), but the callsites required an ABI transform e.g. struct return.

  • Burst: Intrinsics: Neon - fixed vget_low and vget_high producing suboptimal code

  • Burst: Intrinsics: Neon - fixed vget_low and vget_high producing suboptimal code.

  • Burst: Made math.shuffle compile correctly when non-constant ShuffleComponent's are used.

  • Burst: Multiple bugfixes (please look at https://docs.unity3d.com/Packages/[email protected]/changelog/CHANGELOG.html for a detailed list).

  • Burst: PDB debug information for instance methods that also used struct return were incorrect.

  • Burst: PDB debug information for instance methods that also used struct return were incorrect.

  • Burst: Private [BurstCompile] methods no longer throw MethodAccessException

  • Burst: Private [BurstCompile] methods no longer throw MethodAccessException.

  • Burst: Revert to internal linkage for Android X86 (32bit) to ensure ABI compliance.

  • Burst: String interpolation issues when using Dots / Tiny runtime.

  • Burst: String interpolation issues when using Dots / Tiny runtime.

  • Burst: Strings can now be passed between methods.

  • Burst: The Direct Call injected delegate now has a unique suffix to avoid type-name clashes.

  • Burst: When generating Line Table only debug information, an unreachable could occur due to a missing check.

  • Burst: When generating Line Table only debug information, an unreachable could occur due to a missing check.

  • Core: Fixed bug where shadows disappear in the frustum corners from false positives in the shadow culling. (1153151)

  • Core: Fixed bug with shadow fade where the shadows will be culled with a hard line across the fade and also stretches the fade beyond the projected shadow.

  • Core: Fixed issue where Profiler/Memory Profiler cannot be connected to Standalone build when Run in Background is disabled. (1355728)

  • Documentation: Changed the documentation for HorizontalLayout and VerticalLayout. (1260855)

  • Documentation: Fixed html bug in TestRunnerApi API code snippet (DS-1973).
    Fix typo bug in PreBuildSetup code example (DS-1974).
    Fix incorrect syntax in command line reference (DS-1971).

  • Documentation: Fixed incorrect documentation for SaveCurrentModifiedScenesIfUserWantsTo. (1170364)

  • Documentation: Fixed missing function signatures from RayTracingAccelerationStructure.AddInstance C# API in 2021.2 documentation.

  • DX12: DX12 Standalone Player crashes at startup when using 32-bit player support. (1315964)

  • DX12: Fix int shader uniforms in .raytrace shaders being displayed as Floats in the Frame Debugger. (1305552)

  • DX12: Fixed flickering issue on mesh particles. (1357667)

  • DX12: Fixed wrong error message saying that vertex format SNorm16 is not supported when building a Ray Tracing Acceleration Structure. The format is supported.

  • DX12: Significant performance cost of using SRP batcher on DX12 reduced. (1286694)

  • Editor: (Dynamic Hints) Fixed: NullReferenceException when a prefab with a missing script is hovered in the ProjectBrowser

  • Editor: A warning is now displayed when modifying the enable analytics preference, informing the user that it will require a restart of the editor. (1307652)

  • Editor: Added API Updater rule to update global API AssetModificationProcessor to UnityEditor namespace (1064480)

  • Editor: Added new functionality to decouple the PlayerLoop() when the targetFrameRate is set to a finite value, so that it does not effect/slow down the other Editor windows. (1158168)

  • Editor: Added playerGraphicsAPI TestSettings parameter.

  • Editor: Added support for dragging across delayed UI fields to change variables. (1263630)

  • Editor: Added tooltips in the Scene template Inspector. (1324637)

  • Editor: Allow hierarchy search to find scripts which share names of internal types. (1252479)

  • Editor: Allow multiple Unity versions to display in the "Open With..." menu and dialog. Allow the user to choose one as the default. (1202338)

  • Editor: Close add ratio window after selecting from aspect ratio menu. (1284690)

  • Editor: ColorUsageAttribute is now respected when the inspector window is in debug mode. (1312714)

  • Editor: Create default index when opening the index manager if it was never created before.

  • Editor: Custom editors that live in a Unity package will now be used only is a user defined custom editor is not found. (1300193)

  • Editor: Default PropertyDrawer.OnGUI no longer renders multiple overlapping labels. (1335958)

  • Editor: Deleting search query from project browser won't break the search window (1336787)

  • Editor: Display the menu item name when its execution time is longer than the user wait threshold (i.e. 3 seconds) (1313062)

  • Editor: Displayed a warning when the min and max values are equal for the Slider. (1328583)

  • Editor: enable tabbing in the editor while modifier keys are pressed excluding command, control, and alt (1299846)

  • Editor: Ensure invalid Sketchup model UVs are initialized to zero.

  • Editor: Event.current.type scrollWheel pointerType value is now registered as PointerType.Mouse in the mac editor (1261326)

  • Editor: Favorite star is always visible for favorited items (1336789)

  • Editor: Fix arrow key functionality in dialogs in the Mac Editor. (1279832)

  • Editor: Fix for detecting and warning the user on imbalanced GUI layout groups (1289223)

  • Editor: Fix for layer names being clipped in Culling Mask and Volume Mask dropdowns of a HDRP project (1307655)

  • Editor: Fix popup windows in the Linux Editor to show on the right-hand monitor if requested from the right-hand monitor (1294722)

  • Editor: Fix styling of selected search query if hovering (1336784)

  • Editor: Fixed "Cannot get non-existing progress id" error appearing in the Console when entering Play mode. (1312446)

  • Editor: Fixed a bug where test filter would match project or player path (DSTP-412).

  • Editor: Fixed a crash that occurred when using the Memory Profiler to capture memory use for very large scenes. (1316870)

  • Editor: Fixed a memory leak while using SerializedObjects in the AssetImporter inspectors. (1232758)

  • Editor: Fixed a regression in where users could no longer assign a Render Texture to the light cookie widget in the UI. (1355504)

  • Editor: Fixed add an extra null check for monitor enumeration. (1320164)

  • Editor: Fixed an edge case where removing and re-adding a sub asset would cause the local file id of the object to change unnecessarily. (1323357)

  • Editor: Fixed an error is thrown after re-building a library of previous Editor version project when the Profiler of 2020.2 project is opened. (1273439)

  • Editor: Fixed an issue in macOS where popup buttons would show their popup far from the button if the button was near the bottom of the screen. (1323332)

  • Editor: Fixed an issue to avoid difference in Width and Height for EditorGUI.RectIntField fields compared to other fields in the Transform section. (1297283)

  • Editor: Fixed an issue to avoid MinMaxSlider disappears for UI Slider. (1323384)

  • Editor: Fixed an issue to avoid typing or pasting unlimited characters in Project and Console search fields. (1331001)

  • Editor: Fixed an issue to avoid warning log when selected sub-asset with an empty name. (1333540)

  • Editor: Fixed an issue to display checkmark next to "Everything" in drop-down for "Culling Mask" property value (1299181)

  • Editor: Fixed an issue to display Color32 Picker Context Menu at right position on right click. (1334328)

  • Editor: Fixed an issue to display Normalmap Encoding PlayerSetting only in supported platforms. (1330505)

  • Editor: Fixed an issue to display proper LayerMask properties value on selection. (1308984)

  • Editor: Fixed an issue to display Rect Transform Anchors in Scene View, with multiple Inspector windows open and when firstly opened one has been locked. (1221384)

  • Editor: Fixed an issue to display tooltip for "Maximum LOD Level" and "LOD Bias" Properties under Quality settings. (1296474)

  • Editor: Fixed an issue to enable cut and copy in context when Array Size field is selected. (1290634)

  • Editor: Fixed an issue to set top bit flag of an uint enum with inspector. (1298289)

  • Editor: Fixed an issue to stop clearing Asset's name property when resetting it via the Inspector.

  • Editor: Fixed an issue to stop sharing Player Settings properties between Player Settings window and Serialized Preset. (1263069)

  • Editor: Fixed an issue where an empty column is expanded when detaching/attaching UISystemPreviewWindow in the Profiler. (1241234)

  • Editor: Fixed an issue where calling EditorGUI.PropertyField with a serialized LayerMask and GUIContent.none prints a label. (1304172)

  • Editor: Fixed an issue where check box is shown on Inspector Titlebar for ScriptableObjects (1301335)

  • Editor: Fixed an issue where Default Text preset is not applied when creating a new Text object. (1328458)

  • Editor: Fixed an issue where null reference exceptions can be thrown when opening a URP project. (1310784)

  • Editor: Fixed an issue where out argument out of range exceptions are thrown when deleting Japanese characters in the input field. (1201105)

  • Editor: Fixed an issue where Shift-Delete does not delete the property for Object field. (1286390)

  • Editor: Fixed an issue where the Assembly definition asset does not save after an apply action on import setting pop up. (1309567)

  • Editor: Fixed an issue where the mouse cursor over the text field's cancel button is displayed as text instead of arrow and the cursor flickers when mouse is hovered over the cancel button. (1314173, 1314177)

  • Editor: Fixed an issue where warning appears when Scrollbar Navigation is set to Vertical and Direction is set to "Top To Bottom" (1245473)

  • Editor: Fixed an issue where warnings are thrown in the console when the layout is set to default while in play mode. (1317240)

  • Editor: Fixed an issue where Window title tooltip does not disappear after closing Editor window. (1283915)

  • Editor: Fixed and issue with toolbar dropdown buttons while resizing editor window on OSX. (1299763)

  • Editor: Fixed ArgumentNullException when selecting 'Static-dropdown' in the Prefab Overrides window. (1295412)

  • Editor: Fixed assets not getting moved when there's a folder of the same name in the selection. (1318098)

  • Editor: Fixed broken normal map previews (1339051)

  • Editor: Fixed color picker keeps updating color preview when the EyeDropper is used and Esc key is pressed. (1291991)

  • Editor: Fixed console window fails to repaint unless hovered over if it had been maximized before. (1300081)

  • Editor: Fixed crash when adding a component to an object fails and prompts a modal dialog. (1348654)

  • Editor: Fixed Ctrl-click on macOS editor not bringing up "Properties..." context menu on inspector object reference fields properly. (1316779)

  • Editor: Fixed cursor flickering from double arrow to single arrow over splitter on Mac and Windows. (1295344)

  • Editor: Fixed cursor hide in Linux playmode. (1350956)

  • Editor: Fixed cursor locking on Windows when the cursor is on a non-primary display. (1282412)

  • Editor: Fixed debug assert message in MenuControllerLinux.cpp's OnSizeAllocate() call to GetGtkWindowSize(). (1319050)

  • Editor: Fixed dragging horizontally along the last sibling in the Hierachy and other TreeViews to specify an alternative parent and sibling for the dragged items. (1294910)

  • Editor: Fixed empty reason on passed tests results xml (DSTR-63).

  • Editor: Fixed error is thrown on performing undo operation on a gameobject after adding 'New Script' component. (1312440)

  • Editor: Fixed failure to load window layout when Editor tries to create new asset from SettingsProvider callback at startup. (1322299)

  • Editor: Fixed File->;Open Recent Scene menu entries not working correctly after upgrading project from versions earlier than 2021.2.0a5. (1338322)

  • Editor: Fixed floating windowing jumping desktop spaces when using cmd + tab to refocus the editor on mac. (1298279)

  • Editor: Fixed for Canvas Group Interactable flag being applied to the GameObject even when the Canvas Group component is disabled. (1324097)

  • Editor: Fixed gameview not responding to some input when the mouse is over another window in the macOS editor. (1358134)

  • Editor: Fixed gradient swatches were not refreshed after undoing preset change. (1261595)

  • Editor: Fixed GUIToScreenpoint being inconsistent between play mode and standalone. (1305557)

  • Editor: Fixed hierarchy window top Scene header foldout not visible when scrolled. (1298679)

  • Editor: Fixed incorrect bounds when LineRenderer GameObject was not enabled and point editing mode was activated. (1288693)

  • Editor: Fixed infinite layout error loop when Editor UI is broken. (1327876)

  • Editor: Fixed instancing being ignored in the Shadow Pass when using the Mobile Diffuse shader. (1318675)

  • Editor: Fixed issue when . suffix was applied to BuildTargets without extension.

  • Editor: Fixed issue where the Intensity parameter of a Default Light Preset is not applied after creating Directional Light Game object. (1199933)

  • Editor: Fixed issue with CRTL Drag not working when a single item is selected in project browser one-column layout. (1222445)

  • Editor: Fixed issue with Reference Icon overlapping with Preset Manager text on decreasing the width of the Project Settings window. (1282739)

  • Editor: Fixed issue with Stack trace input Field being Misaligned on resizing Player setting Preset. (1276715)

  • Editor: Fixed jumping scroll-bar when working with arrays. (1362327)

  • Editor: Fixed keycode for new input system on Linux to reflect hardware keycode/physical key location. (1343619)

  • Editor: Fixed missing comma in the manifest file used by the guardian tool.

  • Editor: Fixed NullReferenceException error is thrown when pressing up/down arrow key in the Project's search bar while in Play Mode. (1318065)

  • Editor: Fixed NullReferenceException when trying to open Object Picker for ScriptableObject variable. (1293117)

  • Editor: Fixed Profile Analyzer - Mac keyboard commands not updating correct chart. (1327944)

  • Editor: Fixed ReorderableList having wrong label/field width ratio.

  • Editor: Fixed Repeat and Retry attribute for UnityTest in PlayMode (DSTR-237).

  • Editor: Fixed Scene's Hierarchy visibility and pickability settings being reset after building. (1271518)

  • Editor: Fixed selection issues with Shift + Arrow Up/Down in the Hierarchy. (1320614)

  • Editor: Fixed settings move erratically when the setting you are looking for is located in another platform's tab. (1293497)

  • Editor: Fixed slow enter playmode time for a specific scene file that contained sequential File ID Hint values. (1308128)

  • Editor: Fixed so that undocked windows can exit full screen/unmaximize. (1293516)

  • Editor: Fixed some styling issues with the main editor toolbar (1296757)

  • Editor: Fixed Terrain dependency cloning.

  • Editor: Fixed the background color of toolbar dropdowns when hovered and pressed (1313159)

  • Editor: Fixed the behavior where anchor preset window remains open even after a double click. (1302650)

  • Editor: Fixed the editor trying to move an already moved file after dragging a component from the Inspector to the Project Window. (1301332)

  • Editor: Fixed the GUI error in the console when a media file is opened. (1294494)

  • Editor: Fixed the issue where editor doesn't show unsaved changes pop up if editor is closed using Unity ->; Quit menu item. (1320565)

  • Editor: Fixed the issue where old window was not loosing focus after clicking on a mini pop-up of new window and further new window also gets focus. (1219099)

  • Editor: Fixed the issue with missing tooltip for Editor tools button. (1296952)

  • Editor: Fixed the issue with the Blue highlight being misaligned for the Cooking options dropdown in Mesh Collider. (1276638)

  • Editor: Fixed the LOD Group Inspector frames being too dark when using the Light Skin. (1311960)

  • Editor: Fixed the path to the scene template icon when querying icon from template path. (1325888)

  • Editor: Fixed the Recent Scenes menu not being updated after saving via Save As and moved scenes not being correctly tracked.

  • Editor: Fixed the Scene View not updating when the LineRenderer Show Wireframe option was changed.

  • Editor: Fixed tooltips being misaligned. (1325676)

  • Editor: Fixed top of Game View is black when "Use display in HDR mode" is enabled and "Color Space" is set to "Linear". (1285015)

  • Editor: Fixed undo on the Advanced Object Selector using the Search Picker not reverting the object field to its original value. (1336998)

  • Editor: Fixed Unity does not load the last scene after a crash. (1308699)

  • Editor: Generate Release Notes URL according to unity version (1301927)

  • Editor: IMGUI buttons don't work in Device Simulator when using the new Input System. (1333953)

  • Editor: Improved model import performance by a tiny amount.

  • Editor: Improved performance of copy/paste when duplicating large numbers of objects. (1208321)

  • Editor: Initializing the static Progress class from a thread no longer throws exceptions. (1337421)

  • Editor: Limited the length of the error messages in the UserRetryDialogs to not more than 200 characters per line. (1167593)

  • Editor: Menu Bar doesn't flicker anymore when dragging across monitors. (1219094)

  • Editor: Multiple improvements around automatic test-run of tests

  • Editor: Nested enumerator execution order fix (DSTR-227).

  • Editor: No more exception thrown in the console when inputting unsupported text in the Project Browser search bar. (1336292)

  • Editor: Open Prefab' button now uses less inspector space. (1270965)

  • Editor: Paste as Child should paste GO relative to parent instead of keeping world transform

  • Editor: Pausing playmode in the macOS Editor will no longer keep keys released in pause mode in the pressed position when playmode is unpaused. (1322149)

  • Editor: Prevent crash when running editor with Mac system debug menu enabled through defaults. (1301807)

  • Editor: Prevent popup windows from closing in the Linux Editor when child popups are not yet focused (1309702)

  • Editor: Refactoring to make placing windows in the Mac editor more robust and ensure windows are opened on one screen. (1297362)

  • Editor: Release mouse if it is dragging when a dialog is opened in the windows editor. (1271832)

  • Editor: Resolved Prefab object selection performance issue. (1352527)

  • Editor: Set gdk cursor invisible when forcing software cursor in editor playmode (1212108)

  • Editor: Show disable index in the index manager. (1307781)

  • Editor: String, Integer, Float, Character and BoundsInt type SerializedProperties now have Copy/Paste context menu options.

  • Editor: support Hungarian (and other) unicode characters in editor (1184456)

  • Editor: The arrow cursor in the Linux Editor is no longer slightly offset. (1256724)

  • Editor: The background task window is no longer repositioned and resized when opened from the status bar. (1337646)

  • Editor: The EditorSceneManager now gets the correct build index for Scenes of the same name upon calls to SceneManager.GetScenesAt in Play mode. (1128653)

  • Editor: The Object Picker has a maximum number of items it shows. Now showing a note to narrow the search if more than 12000 hits are shown. (1331728)

  • Editor: The progress bar in the status bar no longer gets stuck in an empty state. The progress bar in the status bar no longer shows instantaneous progresses. (1341616)

  • Editor: The Unity Documentation shortcut is no longer installed to the Windows start menu if documentation is not installed. (921689)

  • Editor: This fix makes sure to unify the il2cpp default order for managed stripping levels in the Player Settings drop-down menu to the one of Mono (Minimal >; Low >; Medium >; High).

  • Editor: Transform rotations from asset bundles are now correctly shown in the inspector. (958333)

  • Editor: UI not running any tests if run select on nested namespaces (DSTR-256).

  • Editor: Updated the iOS resolution presets of the Aspect Ratio dropdown list in the Game View window.
    iOS resolution presets that were removed:

    • iPhone 4/4S Portrait

    • iPhone 4/4S Landscape

    • iPad 2/Mini Portrait

    • iPad 2/Mini Landscape
      iOS resolution presets that were added:

    • iPhone 12 mini 2340x1080 Portrait

    • iPhone 12 mini 2340x1080 Landscape

    • iPhone 12/12 Pro 2532x1170 Portrait

    • iPhone 12/12 Pro 2532x1170 Landscape

    • iPhone 12 Pro Max 2778x1284 Portrait

    • iPhone 12 Pro Max 2778x1284 Landscape

    • iPad (7th-8th gen) 2160x1620 Portrait

    • iPad (7th-8th gen) 2160x1620 Landscape

    • iPad Air (4th gen) 2360x1640 Portrait

    • iPad Air (4th gen) 2360x1640 Landscape

    • iPad Pro 11-inch 2388x1668 Portrait

    • iPad Pro 11-inch 2388x1668 Landscape. (1321829)

  • Editor: Updated the style of some buttons and button groups when hovered, pressed and focused (1314662)

  • Editor: While Editor is entering Play Mode clicking menu doesn't return wrong entry anymore. (1263313)

  • Editor: Wrong ShaderGUI for crosspipeline shaders. (1339817)

  • GI: Fix case 1291662: OIDN crashes on AVX512 on MacOS (1291662)

  • GI: Fix clearing of lighting data for duplicate scenes saved with the "Save As" option. (1292192)

  • GI: Fix issue with experimental lightmapping.BakeAsync(Scene) interface getting stuck when baking reflection probes in additively opened scenes in the Editor. (1303788)

  • GI: Fix Reflection probe (gizmo and texture inspector) appearance in linear color space mode. (1293558)

  • GI: Fixed a crash that happens when GPULM tiling is ON, exporting the training data is ON and Ambient occlusion is OFF. (1341803)

  • GI: Fixed an issue where sometimes the callstack in Editor.log was incomplete on Windows. (1221524)

  • GI: Fixed an issue where the GPU lightmapper seems to be stuck in an endless loop before finishing a bake. (1258690)

  • GI: Fixed automated GI tests in HDRP and URP where multiple editors are used.

  • GI: Fixed baked lighting on terrain holes and better performance. (1307459)

  • GI: Fixed changes in lighting settings or lightmap parameters not affecting the appearance of baked reflection probes when baking via "Generate Lighting" in the lighting tab. (1324641)

  • GI: Fixed crash when closing editor while generating lighting. (1354238)

  • GI: Fixed crash with CPU OpenCL devices. (1338498)

  • GI: Fixed fallback to CPU lightmapper when writing LightCookies buffer and using Clear baked Data. (1321887)

  • GI: Fixed light baking gets stuck in a infinite loop when unloading a light baked scene if you have another scene open. (1337508)

  • GI: Fixed memory usage and performance regression when baking light probes. (1324307)

  • GI: Fixed missing indirect lighting when using Enlighten Realtime GI in HDRP Player. (1367133)

  • GI: Fixed out of bounds access in probeDepthOctahedronExpandedBuffer when generating Probe Volumes 1.0 data via experimental API. (1321881)

  • GI: Fixed prefab instances losing their lighting when they are unpacked, and the scene is reloaded. (1285269)

  • GI: Fixed rare crash when entering play mode while running a GI lightbake. (1301678)

  • GI: Fixed reflection probes not being zeroed out when lighting is cleared.

  • GI: Fixed scene lighting data not getting updated when the selected Lighting Data Asset for the scene is changed. (1263683)

  • GI: Fixed some fallbacks from GPULM to CPULM when using baked lighting and cookies. (1320169)

  • GI: Fixed unused return value during remapping of scene object id's. (1300323)

  • GI: Fixedcorruption in Probe baking when lightmap UVs are not provided. (1337226)

  • GI: Ignore OpenCL CPU devices that are incompatible with the GPU lightmapper on macOS due to insufficient local workgroup size. (1293520)

  • GI: Improved error logging when reporting errors relating to UV unwraps during a lightmap bake. (1327322)

  • GI: Introduced a full tiled-based baking system to the GPULM to reduce memory pressure.
    Some other improvements on memory consumption and baking speed on the GPU light mapper when the user is not activating some baking features.
    Reduced the memory consumption of probe baking using the GPULM (4Bytes per probe).
    Better estimation of the GPULM memory consumption even when tiling is off, making it less likely to fallback to CPULM.

  • GI: Make emission tooltip take Enlighten realtime GI state into account. (1329323)

  • GI: Make GPU lightmapper detect Intel IRIS Xe MAX GPU with 4GB memory. (1331794)

  • GI: Make it possible for the job manager to shut down the editor even if the OpenCL driver stopped working. (1276653)

  • GI: Make the compression label in Lighting Window - Baked Lightmaps better. (1297198)

  • GI: Reenabling a disabled light, reflection probe, or light probe group now makes it immediately visible in the Light Explorer. (1320277)

  • GI: Reimport all lightmap textures when "Lightmap Encoding" project setting is changed. (1195551)

  • GI: Removed erroneous asserts in scene object identifier remapping code.

  • GI: Removed terrain trees from being drawn in the shadowmask scene visualization mode as background objects as they do not receive a shadowmask, anyway. (1295410)

  • GI: Removed the Unity process count check that is used to guard the GI Cache from getting trimmed by other Editors, as the asset import workers are counted as Editors. (1313354)

  • GI: Support high intensity skyboxes for baking. (1222492)

  • GI: Use shadow penumbra to sort lights with penumbra by in the GPU lightmapper instead of indirect color. (1319138)

  • Graphics: * Improved support for ghosting particles.

    • Improved sharpening and other minor fixes from NVIDIA. (1345143)
  • Graphics: Add CameraBuffer VFX type to encapsulate camera buffers that can be Texture2D or Texture2DArray depending on the platform (1213482)

  • Graphics: Add control to independently clear stencil buffer in CommandBuffer api.
    Clearing depth does not implicitly clear stencil anymore.

  • Graphics: Added check for Vulkan support in Unity player. (1308206)

  • Graphics: Added exception when creating 3d textures with depth/stencil format on metal, as this is not supported. (1296524)

  • Graphics: Added GetActiveTerrains method which will fill a user-provided List with the active terrains, allowing users to control the resulting allocation. (1324062)

  • Graphics: Added Metal Compute Pipeline Validation to the Editor (1283446)

  • Graphics: Added per-camera freeUnusedRenderResources control to allow preservation of cameradata for infrequently-updated cameras. This prevents performance spikes that occur due to recreation of cameras that are guaranteed to be updated eventually, but at a frequency lower than once every 100 frames. (1296777)

  • Graphics: Added support for having multiple different Renderers on the same Game Object when using ray tracing. (1305305)

  • Graphics: Apple Silicon editor game view glitches were caused by discarding/overwriting the game view render texture data - this has been fixed. (1368374)

  • Graphics: Backport sllowing for Depth Sharing in Vulkan.

  • Graphics: Calculating correct rtHandleScale by considering the possible pixel rounding when DRS is on.

  • Graphics: Creating a RenderTexture in D3D12 with RenderTexture.antiAliasing value higher than supported by hardware will no longer crash the editor. (1310791)

  • Graphics: Disable Motion Vectors pass in Output Meshes even when other output has motion vectors enabled (1313043)

  • Graphics: Disabled "create material" button in terrain inspector when viewed through a preset. (1290453)

  • Graphics: Disabled ShadowCaster pass in Output Meshes if castShadows is disabled.

  • Graphics: Fix bug where in some situations the AsyncUploadBuffer was not persisting even when QualitySettings.asyncUploadPersistentBuffer was set to true. (1150408)

  • Graphics: Fix CPU performance issue when light probes and ray tracing effects are used together.

  • Graphics: Fix crash when using RenderPass without depth on Metal devices

  • Graphics: Fix issue with GrayScaleRGBToAlpha for 16bpc textures (1295408)

  • Graphics: Fix rare deadlock that can occur when a texture fails to load. (1265360)

  • Graphics: Fix shadow normal bias slider getting clamped at 3. (1213200)

  • Graphics: Fix Simplify button clipping in the LineRenderer Inspector when the window was narrow. (1308478)

  • Graphics: Fixed a bug with Cubemap.GetPixel(CubemapFace face, int x, int y) not passing its parameters correctly. (1305539)

  • Graphics: Fixed a case that render thread calls main thread only API in editor. (1317190)

  • Graphics: Fixed a crash that would occur when trying to create a VT GPU cache larger than the available GPU memory. (1293468)

  • Graphics: Fixed a crash when a RenderTexture is created using MSAA with random write flag which is an invalid combination. Return an error in the Console when this happens. (1343544)

  • Graphics: Fixed a crash when calling GetSize() on a RayTracingAccelerationStructure before calling the initial Build() on it. (1363258)

  • Graphics: Fixed a crash when passing in DepthAuto or ShadowAuto into SystemInfo.GetCompatibleFormat. (1343093)

  • Graphics: Fixed a critical issue on android devices & lens flares. Accidentally creating a 16 bit texture was causing gpus not supporting them to fail.

  • Graphics: Fixed a large, visible stretch ratio in a LensFlare Image thumbnail.

  • Graphics: Fixed a regression where calling the the Texture2D.Resize method with a Texture format parameter caused the underlying GraphicsFormat to flip color spaces on each call. (1312670)

  • Graphics: Fixed a situation which could cause the GPU to crash when a Skinned Mesh Renderer is assigned a mesh, which does not match the expected size/stride setup, and that Skinned Mesh Renderer is then used immediately before skinning has had a chance to happen.

  • Graphics: Fixed ACES filter artefact due to half float error on some mobile platforms.

  • Graphics: Fixed alignment in Volume Components.

  • Graphics: Fixed ALL/NONE to maintain the state on the Volume Component Editors.

  • Graphics: Fixed an incorrect error check in the BC7 decompressor. (1339809)

  • Graphics: Fixed an issue with ReadPixels() over 3 API's, where the first slice would always be returned instead of the specified depth slice. The bug was being caused by the active cubemap face only being used, the fix checks whether it should use the active depth slice or cubemap face. (979487)

  • Graphics: Fixed an uninitialized value problem found by Vulkan. (1309741)

  • Graphics: Fixed and issue where scene view filtering would now work properly for SRP's. (1180254)

  • Graphics: Fixed another recently added internal bug where when the shader debug level in Switch player editor settings is changed, the shaders were not corectly rebuilt.

  • Graphics: Fixed API to draw color temperature for Lights.

  • Graphics: Fixed assertion failure when releasing rendererlists in certain scenes. (1342215)

  • Graphics: Fixed assertion on compression of L1 coefficients for Probe Volume.

  • Graphics: Fixed black pixel issue in AMD FidelityFX RCAS implementation.

  • Graphics: Fixed bug where ComputeShader.IsSupported for OpenGL (ES) would only return false on the first call for kernel that did not compiler at runtime. (1334034)

  • Graphics: Fixed crash when a compute shader does not compile when using OpenGL. (1324695)

  • Graphics: Fixed crash when calling AsyncGPUReadback.RequestIntoNativeArray with a temp allocated array. (1336583)

  • Graphics: Fixed crash when calling GetPixelData with invalid arguments. (1322485)

  • Graphics: Fixed crash when DX12 Hardware Dynamic Resolution Scaling is enabled on XR. (1323531)

  • Graphics: Fixed crash when executing CommandBuffer.DrawProcedural and some other functions that refer to an already deleted ComputeBuffer or GraphicsBuffer. (1323447)

  • Graphics: Fixed crash when launching tutorials on Linux with AMD/Intel cards. (1323204)

  • Graphics: Fixed crash when switching resolutions rapidly on the unity editor when hardware DRS is enabled on HDRP. (1353948)

  • Graphics: Fixed crash wrong format desc of GraphicsFormat.VideoAuto on metal. (1296529)

  • Graphics: Fixed cropped thumbnail for Image with non-uniform scale and rotation

  • Graphics: Fixed disappearing mesh when "Keep Quads" is enabled in import settings. (1327826)

  • Graphics: Fixed double underscores in Hybrid Renderer shader constant names.

  • Graphics: Fixed DrawProcedural reporting incorrect triangle counts to FrameStats.

  • Graphics: Fixed empty RenderTexture.ResolveAA debug marker appearing in Frame Debugger and other frame capture tools on mobile platforms. (1330944)

  • Graphics: Fixed error when change Lens Flare Element Count followed by undo. (1346894)

  • Graphics: Fixed explicit half precision not working even when Unified Shader Precision Model is enabled.

  • Graphics: Fixed false-positive error message during ReadbackImage on GLCore. (1297065)

  • Graphics: Fixed frame debugger crash when using the RenderPass API with MSAA enabled. (1317665)

  • Graphics: Fixed gizmo rendering in SRP when wireframe mode is selected (1251022)

  • Graphics: Fixed GPU crash on Intel integrated cards when opening the editor with a scene that had VFX. (1332956)

  • Graphics: Fixed HDRP Camera Binder errors related to depthBuffer and colorBuffer properties. (1353845)

  • Graphics: Fixed HDRP Runtime test failure in Vulkan caused by incorrect shader code generation. (1323529)

  • Graphics: Fixed IES Importer related to new API on core.

  • Graphics: Fixed in crash for software DRS for DLSS in dx12 when changing the resolution mid frame. (1352848)

  • Graphics: Fixed incorrect GeometryJob Fence initialisation causing graphical corruption in UI canvas rendering.

  • Graphics: Fixed incorrect warning in when creating a texture from script with a compressed format that is not supported on the Editor platform. (1317998)

  • Graphics: Fixed issue displaying a warning of different probe reference volume profiles even when they are equivalent.

  • Graphics: Fixed issues caused by automatically added EventSystem component, required to support Rendering Debugger Runtime UI input. (1361901)

  • Graphics: Fixed L2 for Probe Volumes.

  • Graphics: Fixed layered rendering (and validation errors) with 3D Textures when using Vulkan. (1323740)

  • Graphics: Fixed layered rendering to mips of 3D textures when using Vulkan. (1329180)

  • Graphics: Fixed Lens Flare 'radialScreenAttenuationCurve invisible'.

  • Graphics: Fixed Lens Flare position for celestial at very far camera distances. It now locks correctly into the celestial position regardless of camera distance. (1363291)

  • Graphics: Fixed Lens Flare rotation for Curve Distribution.

  • Graphics: Fixed Lens Flare Thumbnails.

  • Graphics: Fixed library function SurfaceGradientFromTriplanarProjection to match the mapping convention used in SampleUVMappingNormalInternal.hlsl and fix its description.

  • Graphics: Fixed Light Layers with duplicate names being hidden in Light or Renderer component. (1335982)

  • Graphics: Fixed Light Probe evaluation in ray tracing shaders resulting in wrong ambient colors. Fixed Light Probe Proxy Volume setup not binding SH2 L2 band uniforms in ray tracing shaders. (1330711)

  • Graphics: Fixed LightAnchor too much error message, became a HelpBox on the Inspector.

  • Graphics: Fixed memory leak when changing SRP pipeline settings, and having the player in pause mode.

  • Graphics: Fixed Metal DebugGroups during Xcode GPU Frame Capture getting incorrectly nested when using RenderPass API. (1330942)

  • Graphics: Fixed Metal multisample depth resolve not working. (1330714)

  • Graphics: Fixed missing increment/decrement controls from DebugUIIntField & DebugUIUIntField widget prefabs.

  • Graphics: Fixed missing support for coarse/fine derivatives in shader code.

  • Graphics: Fixed normal bias field of reference volume being wrong until the profile UI was displayed.

  • Graphics: Fixed performance regression when changing Mesh vertices or indices. (1326091)

  • Graphics: Fixed potentially conflicting runtime Rendering Debugger UI command by adding an option to disable runtime UI altogether. (1345783)

  • Graphics: Fixed problem on domain reload of Volume Parameter Ranges and UI values.

  • Graphics: Fixed random crash when reloading VFX under special circumstances. (1291710)

  • Graphics: Fixed readback/blit from backbuffer in Editor when running GLES. (1301446)

  • Graphics: Fixed regression where RenderTextureDescriptor.depthBufferBits or RenderTexture.depth could return GraphicsFormat.None when setting the properties to 24 or 32 bit. (1340405)

  • Graphics: Fixed RenderPass API MSAA and clear action issues when writing to the backbuffer on Android (1315433)

  • Graphics: Fixed Right Align of additional properties on Volume Components Editors.

  • Graphics: Fixed rotation issue now all flare rotate on positive direction. (1348570)

  • Graphics: Fixed ScriptableRenderContext.ExecuteCommandBuffer crashing when called with a disposed command buffer (1306222)

  • Graphics: Fixed selection of sRGB format for rendertextures inspector. (1295276)

  • Graphics: Fixed situation where Hybrid Renderer could throw errors because of invalid reflection data.

  • Graphics: Fixed skybox cubemap corruption in Vulkan. (1195394)

  • Graphics: Fixed spacing between property fields on the Volume Component Editors.

  • Graphics: Fixed static batching bug related to rendering layer mask. Meshes that are set up with different rendering layer masks (unity_RenderingLayer uniform variable in shader code), are now correctly split when static batching is enabled instead of being merged, which would otherwise generate incorrect rendering if unity_RenderingLayer was accessed by the shader code.

  • Graphics: Fixed SystemInfo.supportsRenderTargetArrayIndexFromVertexShader when using Vulkan. (1269732)

  • Graphics: Fixed tessellation factors access in domain shaders on Metal/Vulkan. (1337590)

  • Graphics: Fixed Texture resource state that can be incorrect when the destination texture of Graphics.Blit() is also set as _MainTex of the blit material. (1323521)

  • Graphics: Fixed Texture2D.GetPixel(int x, int y, int miplevel) internally passing the miplevel parameter incorrectly. (1284757)

  • Graphics: Fixed Texture3D.CreateExternalTexture to work correctly with Vulkan. (1322987)

  • Graphics: Fixed TextureGenerator.GenerateTexture throws null pointer exception when running with enablePostProcessor to true. (1283888)

  • Graphics: Fixed the display name of a Volume Parameter when is defined the attribute InspectorName.

  • Graphics: Fixed the documentation of CommandBuffer.EndSample. (1264605)

  • Graphics: Fixed the location of the "Shader Graph" asset create menu to be next to the "Shader" menu. (1337080)

  • Graphics: Fixed the multicamera tests on Linux. (1318477)

  • Graphics: Fixed the random position of the Rendering Submenu on Assets >; Create. (1341763)

  • Graphics: Fixed the selection of the Additional properties from ALL/NONE when the option "Show additional properties" is disabled.

  • Graphics: Fixed to RenderTexture.format not returning correct values in the case of RenderTextureFormat.Depth and RenderTextureFormat.Shadow. (1365548)

  • Graphics: Fixed Undo from script refreshing thumbnail.

  • Graphics: Fixed unstable async readback test. (1288678)

  • Graphics: fixed Unwrap crash when automatic margin calculation results in very small margin (1308365)

  • Graphics: Fixed various issues wrt uploading Virtual texturing tiles when using non-native texture formats. (1337269)

  • Graphics: Fixed Volume Gizmo size when rescaling parent GameObject.

  • Graphics: Fixed Vulkan API AccessTextureByID which was failing due to an incorrect internal implementation.

  • Graphics: Fixing bug were a very strong emissive could leak if placed behind a canvas surface in the scene. (1295722)

  • Graphics: Flagged kFormatB10G11R11_UFloatPack32 as a HDR format (1310527)

  • Graphics: Force reload of VFX graph compute shaders when reloading assembly. (1107178)

  • Graphics: Game View Stats Saved by Batching is always 0 when using SRPBatcher. (1329391)

  • Graphics: GetGraphicsApiMask should be called in VisualEffectImporter to force reimport while changing API. (1300054)

  • Graphics: GetPixels,SetPixels,GetPixels32,SetPixels32 will now throw exceptions when failing instead of printing error messages. A number of bugs were fixed that could crash unity. (1293040)

  • Graphics: Graphics: Fixing DLSS vulkan black pixels / frame corruption of first frame. (1335735)

  • Graphics: GUIView.GrabPixels() on Metal will now fill the RenderTexture with valid content (1223120)

  • Graphics: Help boxes with fix buttons do not crop the label.

  • Graphics: Make metal query max tessellation factor from the driver instead of clamping to 16 always. (1289859)

  • Graphics: Metal shaders will compile correctly when referencing tessellation factors in the domain shader. (1139698)

  • Graphics: Minor UX improvements on Quality Settings Panel.

  • Graphics: NVIDIA package no longer gets enabled when a project is updated to a new version of unity. This was the result of a bad configuration. (1342012)

  • Graphics: Order of DLSS quality enumerations changed for better and more intuitive user experience. This change does not break API. (1335732)

  • Graphics: OSX Metal editor playmode wasn't using VSync in the game view properly when enabled - this has been fixed. (1371550)

  • Graphics: Partially fix limitation of sending only one event per frame : the direct link supports multiple event sent within the same frame.

  • Graphics: Pause VFX when frame debugger is enabled. (1195088)

  • Graphics: Properly handle terrain pixel error calculations for orthographic cameras. (1244606)

  • Graphics: Provided an appropriate API to update builtin reflection probes internal data. (1207660)

  • Graphics: Put objects with negative scale into separate static batch. This makes normal maps display correctly on those objects. (1205209)

  • Graphics: Reduced main thread hitching caused by Shader loading.

  • Graphics: Removed GraphicsFormat warning for RenderTextures when changing color space to gamma. (1284779)

  • Graphics: Removed the error message when encountering incompatible pipeline stages on DX12.

  • Graphics: Removed the unneeded data copy of the initialised memory to video memory when creating a texture from script. (1337186)

  • Graphics: Removed unnecessary api files for NVIDIA Module.

  • Graphics: Removed URP and HDRP templates. They are now dynamic templates

  • Graphics: RenderTextures are no longer forced to use Clamp border sampling if a format with depth is used. (1292651)

  • Graphics: Resolved exact fixed time step flickering while using strip (and other unexpected behavior). (1289829)

  • Graphics: Scissor test was automatically disabled when changing render-targets. It is not the case anymore and is consistent with other platforms.

  • Graphics: Skip wind calculations for Speed Tree 8 when wind vector is zero. (1335487)

  • Graphics: Support undo of Global Settings assignation (1342987)

  • Graphics: The warning was removed because URP / HDRP now no longer need to have an asset assigned to both Graphics and Quality to work. (1335986)

  • Graphics: Updated SpeedTree importer editor to correctly regenerate materials with custom render pipelines. Only shows the "Receive Shadows" toggle if that functionality is supported by the current SupportedRenderingFeatures. (1338973)

  • Graphics: Using CopyTexture on textures with different MSAA sample counts throws an error. (1308132)

  • Graphics: Virtual Texturing fallback texture sampling code correctly honors the enableGlobalMipBias when virtual texturing is disabled.

  • Graphics: Visual Effects in prefabs always show as modified. (1285787)

  • Graphics: Visual effects will continue to cast shadows even when they are not visible in camera. (1279851)

  • Graphics: VisualEffect could cause an unexpected assert if the graph samples a skinned mesh renderer with cloth (1307808)

  • Graphics: When adding Overrides to the Volume Profile, only show Volume Components from the current Pipeline.

  • Graphics: When creating PVRTC texture which is not POT and square throw an exception, as it is not supported and might result in crashes later on. (1329461)

  • HDRP: Added a new property to control the ghosting reduction for volumetric clouds. (1357702)

  • HDRP: Allow negative wind speed parameter.

  • HDRP: Assets going through the migration system are now dirtied.

  • HDRP: Cleanup Shader UI.

  • HDRP: Fix crash on VolumeComponentWithQualityEditor when the current Pipeline is not HDRP

  • HDRP: Fixed a bug with Reflection Probe baking would result in an incorrect baking reusing other's Reflection Probe baking.

  • HDRP: Fixed a bug with Reflection Probe baking would result in an incorrect baking reusing other's Reflection Probe baking.

  • HDRP: Fixed a compilation issue for AxF carpaints on Vulkan

  • HDRP: Fixed a divide-by-zero warning for anisotropic shaders (Fabric, Lit).

  • HDRP: Fixed a lack of syncronization between the camera and the planar camera for volumetric cloud animation data.

  • HDRP: Fixed a limit case when the camera is exactly at the lower cloud level. (1316988)

  • HDRP: Fixed a locale issue with the diffusion profile property values in ShaderGraph on PC where comma is the decimal separator.

  • HDRP: Fixed a memory leak related to not disposing of the RTAS at the end HDRP's lifecycle.

  • HDRP: Fixed a NaN generating in Area light code.

  • HDRP: Fixed a null ref exception when adding a new environment to the Look Dev library.

  • HDRP: Fixed a null ref exception when no opaque objects are rendered.

  • HDRP: Fixed a nullref in volume system after deleting a volume object. (1348374)

  • HDRP: Fixed a nullref when binding a RTHandle allocated from a RenderTextureIdentifier with CoreUtils.SetRenderTarget.

  • HDRP: Fixed a regression that broke punctual and directional raytraced shadows temporal denoiser. (1360132)

  • HDRP: Fixed a warning to Rendering Debugger Runtime UI when debug shaders are stripped.

  • HDRP: Fixed a warning when enabling tile/cluster debug.

  • HDRP: Fixed ability to override AlphaToMask FrameSetting while camera in deferred lit shader mode.

  • HDRP: Fixed ability to override AlphaToMask FrameSetting while camera in deferred lit shader mode.

  • HDRP: Fixed access to main directional light from script.

  • HDRP: Fixed Additional Velocity for Alembic not taking correctly into account vertex animation.

  • HDRP: Fixed aliasing artifacts that are related to numerical imprecisions of the light rays in the volumetric clouds. (1340731)

  • HDRP: Fixed ambient occlusion strenght incorrectly using GTAOMultiBounce.

  • HDRP: Fixed an error when deleting the 3D Texture mask of a local volumetric fog volume (1339330)

  • HDRP: Fixed an incompatibility between MSAA and Volumetric Clouds.

  • HDRP: Fixed an inconsistency between perf mode and quality mode for material simplification in RTGI.

  • HDRP: Fixed an inconsistency between perf mode and quality mode for sky lighting.

  • HDRP: Fixed an issue in the planar reflection probe convolution.

  • HDRP: Fixed an issue that clamped the volumetric clouds offset value. (1357318)

  • HDRP: Fixed an issue that made camera motion vectors unavailable in custom passes.

  • HDRP: Fixed an issue that made Custom Pass buffers inaccessible in ShaderGraph.

  • HDRP: Fixed an issue where auto baking of ambient and reflection probe done for builtin renderer would cause wrong baking in HDRP.

  • HDRP: Fixed an issue where disabled reflection probes were still sent into the the ray tracing light cluster.

  • HDRP: Fixed an issue where first frame of SSAO could exhibit ghosting artefacts.

  • HDRP: Fixed an issue where runtime debug window UI would leak game objects.

  • HDRP: Fixed an issue where selection in a debug panel would reset when cycling through enum items.

  • HDRP: Fixed an issue where sometime a docked lookdev could be rendered at zero size and break.

  • HDRP: Fixed an issue with debug overriding emissive material color for deferred path. (1313123)

  • HDRP: Fixed an issue with Decal normal blending producing NaNs.

  • HDRP: Fixed an issue with half res ssgi upscale.

  • HDRP: Fixed an issue with normal management for recursive rendering (1324082)

  • HDRP: Fixed an issue with reflection probe normalization via APV when no probes are in scene.

  • HDRP: Fixed an issue with resolution dependence for physically based depth of field.

  • HDRP: Fixed an issue with surface gradient based normal blending for decals (volume gradients weren't converted to SG before resolving in some cases).

  • HDRP: Fixed an issue with TAA causing objects not to render at extremely high far flip plane values.

  • HDRP: Fixed an issue with the capture callback (now includes post processing results).

  • HDRP: Fixed an issue with the mipmap generation internal format after rendering format change.

  • HDRP: Fixed an issue with volumetric clouds on vulkan. (1354802)

  • HDRP: Fixed artifact appearing when diffuse and specular normal differ too much for eye shader with area lights.

  • HDRP: Fixed artifacts in volumetric cloud shadows.

  • HDRP: Fixed assert failure when enabling the probe volume system for the first time.

  • HDRP: Fixed AxF debug output in certain configurations (1333780)

  • HDRP: Fixed bad feedback loop occuring when auto exposure adaptation time was too small.

  • HDRP: Fixed banding in the volumetric clouds. (1353672)

  • HDRP: Fixed black pixel issue in AMD FidelityFX RCAS implementation.

  • HDRP: Fixed blocky looking bloom when dynamic resolution scaling was used.

  • HDRP: Fixed box light attenuation.

  • HDRP: Fixed case where the SceneView don't refresh when using LightExplorer with a running and Paused game. (1354129)

  • HDRP: Fixed cases in which object and camera motion vectors would cancel out, but didn't.

  • HDRP: Fixed Clouds on Metal or platforms that don't support RW in same shader of R11G11B10 textures.

  • HDRP: Fixed computation of geometric normal in path tracing (1293029)

  • HDRP: Fixed conflicting runtime debug menu command with an option to disable runtime debug window hotkey.

  • HDRP: Fixed contact shadow debug views not displaying correctly upon resizing of view.

  • HDRP: Fixed contact shadows tile coordinates calculations.

  • HDRP: Fixed controls for clouds fade in.

  • HDRP: Fixed corruption in player with lightmap uv when Optimize Mesh Data is enabled (1357902)

  • HDRP: Fixed CPU performance on DLSS, avoiding to recreate state whenever a target can fall into the safe min/max resolution specified by the system.

  • HDRP: Fixed crash on SubSurfaceScattering Editor when the selected pipeline is not HDRP

  • HDRP: Fixed cropping issue with the compositor camera bridge (1340549)

  • HDRP: Fixed custom pass custom buffer not bound after being created inside a custom pass.

  • HDRP: Fixed custom pass delete operation. (1354871)

  • HDRP: Fixed custom pass volume not executed in scene view because of the volume culling mask.

  • HDRP: Fixed custom pass workflow for single camera effects.

  • HDRP: Fixed custom post process name not displayed correctly in GPU markers.

  • HDRP: Fixed custom post process template not working with Blit method.

  • HDRP: Fixed CustomPassUtils scaling issues when used with RTHandles allocated from a RenderTexture.

  • HDRP: Fixed CustomPassUtils.Copy function not working on depth buffers.

  • HDRP: Fixed decal draw order for ShaderGraph decal materials.

  • HDRP: Fixed Decal's pivot edit mode 2D slider gizmo not supporting multi-edition.

  • HDRP: Fixed Decal's UV edit mode with negative UV.

  • HDRP: Fixed decals in material debug display.

  • HDRP: Fixed diffusion profile being reset to default on SpeedTree8 materials with subsurface scattering enabled during import.

  • HDRP: Fixed diffusion profile breaking after upgrading HDRP (1337892)

  • HDRP: Fixed diffusion profile displayed in the inspector.

  • HDRP: Fixed disabled menu item for volume additional properties.

  • HDRP: Fixed distortion when resizing the graphics compositor window in builds. (1328968)

  • HDRP: Fixed Dof, would sometimes get corrupted when DLSS was on caused by TAA logic accidentally being on for DOF. (1357722)

  • HDRP: Fixed double camera preview.

  • HDRP: Fixed double contribution from the clear coat when having SSR or RTR on the Lit and StackLit shaders. (1352424)

  • HDRP: Fixed edge bleeding when rendering volumetric clouds.

  • HDRP: Fixed EmissiveLighting Debug Light mode not managing correctly emissive for unlit.

  • HDRP: Fixed enabling a lensflare in playmode.

  • HDRP: Fixed error in the RTHandle scale of Depth Of Field when TAA is enabled.

  • HDRP: Fixed error when disabling opaque objects on a camera with MSAA.

  • HDRP: Fixed error with motion blur and small render targets.

  • HDRP: Fixed exposure issues with volumetric clouds on planar reflection.

  • HDRP: Fixed exposure not being properly handled in ray tracing performance (RTGI and RTR). (1346383)

  • HDRP: Fixed fabric IBL (Charlie) pre-convolution performance and accuracy (uses 1000x less samples and is closer match with the ground truth).

  • HDRP: Fixed failures on platforms that do not support ray tracing due to an engine behavior change.

  • HDRP: Fixed for allowing to change dynamic resolution upscale filter via script.

  • HDRP: Fixed for discrepancies in intensity and saturation between screen space refraction and probe refraction.

  • HDRP: Fixed for wrong cached area light initialization.

  • HDRP: Fixed Force RGBA16 when scene filtering is active. (1228736)

  • HDRP: Fixed GBuffer clear option in FrameSettings not working.

  • HDRP: Fixed gbuffer depth debug mode for materials not rendered during the prepass.

  • HDRP: Fixed GC allocations from XR occlusion mesh when using multipass.

  • HDRP: Fixed ghosting issues if the exposure changed too much (RTGI).

  • HDRP: Fixed gizmo rendering when wireframe mode is selected.

  • HDRP: Fixed HDAdditionalLightData's CopyTo and HDAdditionalCameraData's CopyTo missing copy.

  • HDRP: Fixed HDRP material being constantly dirty.

  • HDRP: Fixed HDRP material upgrade failing when there is a texture inside the builtin resources assigned in the material. (1339865)

  • HDRP: Fixed HDRP's ShaderGraphVersion migration management which was broken.

  • HDRP: Fixed impossibility to release the cursor in the template.

  • HDRP: Fixed incorrect debug wireframe overlay on tessellated geometry (using littessellation), caused by the picking pass using an incorrect camera matrix.

  • HDRP: Fixed incorrect light list indexing when TAA is enabled. (1352444)

  • HDRP: Fixed incorrect RTHandle scale in DoF when TAA is enabled.

  • HDRP: Fixed infinite propagation of nans for RTGI and SSGI. (1349738)

  • HDRP: Fixed Intensity Multiplier not affecting realtime global illumination.

  • HDRP: Fixed invalid cast exception on HDProbe.

  • HDRP: Fixed invalid pass index 1 in DrawProcedural error.

  • HDRP: Fixed issue in Probe Reference Volume authoring component triggering an asset reload on all operations.

  • HDRP: Fixed issue in wizard when resource folder don't exist.

  • HDRP: Fixed issue of accessing default frame setting stored in current HDRPAsset instead fo the default HDRPAsset.

  • HDRP: Fixed issue that caused a rebake of Probe Volume Data to see effect of changed normal bias.

  • HDRP: Fixed issue were the final image is inverted in the Y axis. Occurred only on final Player (non-dev for any platform) that use Dynamic Resolution Scaling with Contrast Adaptive Sharpening filter.

  • HDRP: Fixed issue were the final image is inverted in the Y axis. Occurred only on final Player (non-dev for any platform) that use Dynamic Resolution Scaling with Contrast Adaptive Sharpening filter.

  • HDRP: Fixed issue when debug full screen 'Transparent Screen Space Reflection' do not take in consideration debug exposure

  • HDRP: Fixed issue when switching between non-persistent cameras when path tarcing is enabled. (1337843)

  • HDRP: Fixed issue with a compute dispatch being with 0 threads on extremely small resolutions.

  • HDRP: Fixed issue with an assert getting triggered with OnDemand shadows.

  • HDRP: Fixed issue with automatic exposure settings not updating scene view.

  • HDRP: Fixed issue with change in lens model (perfect or imperfect) wouldn't be taken into account unless the HDRP asset was rebuilt.

  • HDRP: Fixed issue with constant buffer being stomped on when async tasks run concurrently to shadows.

  • HDRP: Fixed issue with Depth of Field CoC debug view.

  • HDRP: Fixed issue with depth slope scale depth bias when a material uses depth offset.

  • HDRP: Fixed issue with fading in SSR applying fade factor twice, resulting in darkening of the image in the transition areas.

  • HDRP: Fixed issue with faulty shadow transition when view is close to an object under some aspect ratio conditions

  • HDRP: Fixed issue with gbuffer debug view when virtual texturing is enabled.

  • HDRP: Fixed issue with hierarchy object filtering.

  • HDRP: Fixed issue with history buffer allocation for AOVs when the request does not come in first frame.

  • HDRP: Fixed issue with NaNs in Volumetric Clouds on some platforms.

  • HDRP: Fixed issue with on-demand directional shadow maps looking broken when a reflection probe is updated at the same time.

  • HDRP: Fixed issue with physically-based DoF computation and transparent materials with depth-writes ON.

  • HDRP: Fixed issue with RAS build fail when LOD was missing a renderer.

  • HDRP: Fixed issue with shadow mask and area lights.

  • HDRP: Fixed issue with the LayerMaskParameter class storing an erroneous mask value. (1345515)

  • HDRP: Fixed issue with velocity rejection when using physically-based DoF.

  • HDRP: Fixed issue with vertex color defaulting to 0.0 when not defined, in ray/path tracing. (1348821)

  • HDRP: Fixed label style in pbr sky editor.

  • HDRP: Fixed LayerMask editor for volume parameters.

  • HDRP: Fixed lens flare not rendering correctly with TAAU or DLSS.

  • HDRP: Fixed lens flare occlusion issues with TAA.

  • HDRP: Fixed lens flare occlusion issues with transparent depth. It had the wrong depth bound. (1365098)

  • HDRP: Fixed light anchor min distance value + properties not working with prefabs. (1345509)

  • HDRP: Fixed light gizmo showing shadow near plane when shadows are disabled.

  • HDRP: Fixed light layer issue when performing editing on multiple lights.

  • HDRP: Fixed LightCluster debug view for ray tracing.

  • HDRP: Fixed lights shadow frustum near and far planes.

  • HDRP: Fixed LookDev environment library assignement after leaving playmode.

  • HDRP: Fixed material inspector that allowed setting intensity to an infinite value.

  • HDRP: Fixed material keywords with fbx importer.

  • HDRP: Fixed memory leak with XR combined occlusion meshes.

  • HDRP: Fixed migration step overriden by data copy when creating a HDRenderPipelineGlobalSettings from a HDRPAsset.