Install this version with Unity Hub.
Select the runtime platforms of your choice from the list below (the desktop runtime is included as standard) or, to install the full complement of runtime platforms, use the download assistant installer above.
Known Issues in 2021.3.6f1
AI Navigation: NavMesh::Raycast freezes the whole editor in an infinite loop on Application.UpdateScene (UUM-2496)
Customer QA Onboarding: [M1] Crash on System.Object:__icall_wrapper_ves_icall_array_new_specific when launching a project (UUM-3207)
Linux: [Backport] [Linux] Editor crashes at "GfxDeviceGLES::DrawBuffersBatchMode" when entering Play Mode in the LEGO tutorial (UUM-971)
MacOS: [Mac] Editor performance drops on macOS when clicking and dragging on Position, Rotation and Scale values in Transform component (UUM-7457)
Mono: Crash with ScanAssemblyForAttributesAndInterfaceImplementations when opening a project (1376858)
Package: Empty "StreamingAssets" folder gets created after building an empty project (1423325)
Shader System: Editor crashes when building if calling "ShaderKeyword" methods in "IPreprocessShaders" classes (UUM-2536)
Text: [Mac] ShortcutManager ignores Shift modifier (UUM-4083)
2021.3.6f1 Release Notes
- Package Manager: Related to [PAX-1772](https://jira.unity3d.com/browse/PAX-1772) As a user I should be able to specify the location of the AssetStore cache
Burst: Support for __Unmanaged for non-extern functions
Burst: Used explicit namespace for UnityEditor.PackageManager.Events to avoid conflicts.
DX12: Set swapchain background color to make resize visually more pleasing and disable scaling in resize.
Windows: Added "-force-d3d11-flip-model" command line parameter to force Unity to use DXGI flip model swap chain.
- UI Toolkit: Added: Added a NestedInteractionKind enum to ScrollView to give control over event propagation while scrolling.
- XR: The Oculus XR Plugin package has been updated to 3.0.2.
Android: Allow any file to be selected as keystore (previously only .keystore was supported). (UUM-917)
Android: Fix video with alpha when using Vulkan on some older devices. (1407184)
Android: Fixed a potential app store validation issue related to a QueryIntentActivities() call when initializing the engine.
Android: Fixed crash during low memory kill. (UUM-4811)
Android: Fixed Java local reference leak when AndroidJavaProxy is passed as argument to AndroidJavaObject.Call/CallStatic. (1389252)
Android: Fixed Patch (/And Run) failing on some Android 12 devices with "Permission Denied" or "No such file or directory". (UUM-2445)
Asset Bundles: Refactors out the requiresTextureCompression boolean flag.
The texture compression setting is now set internally from either the existing EditorPrefs setting kCompressTexturesOnImport or checking if the BuildPipeline build is in progress. (UUM-3653)
Burst: A potential issue with the debug info mover pass, that meant it only affected the first entry point in a module.
Burst: Added workaround for "cannot dlopen until fork() handlers have completed" issue seen in macOS 12.3.
Burst: Fixed a bug that manifested when using IAP in UWP builds with Burst - we were scanning the assembly hierarchy too deep for Bursted types, which led to an
Burst: Fixed a bug where using
ReinterpretStore(someIndex, (ushort)someValue)could cause an internal compiler error in Burst.
Burst: Fixed a bug with
ReadOnlySpantypes where if the indices used were not already 32-bit signed integers, an internal compiler error would occur if running with safety checks enabled.
Burst: Fixed a compiler crash if users used
__arglistin Burst. Neither of these are supported, but now we will nicely tell you via a compiler error that they aren't supported.
Burst: Fixed a compiler error when trying to acquire the function pointer of a generic function from Bursted code.
Burst: Fixed a memory leak where during hashing we'd pin a GC object and never unpin and free it.
Burst: Fixed bug in static constructor ordering in the presence of indirect dependencies between static constructors (i.e. static constructor -> static method -> static constructor) that could result in a runtime crash.
Burst: Fixed compiler crash when the only usage of a static field was in a formatted exception string.
Burst: Fixed compiler crash when trying to dynamically call
BurstCompiler.CompileFunctionPointerin Burst-compiled code.
Burst: Fixed hashing bug that could occur when a function pointer type is used in a method parameter.
Burst: Fixed hashing error that could occur in the presence of multiple synthesized explicit interface implementations with the same name and signature.
Burst: Fixed hashing error that could occur with unbound generic type.
Burst: Using a function only through a C# function pointer could cause a crash.
Editor: Fixed Verify Saved Assets modal window to accept changed graphics api. (1380734)
Editor: Fixed Verify Saved Assets modal window to accept user input. (1365765)
Editor: IndexOutOfRangeException is thrown when openning Object Picker. (UUM-2825)
GI: Fixed the pushoff setter on GPU lightprobes baking. (UUM-857)
Graphics: "Rim left" and "Rim right" presets are difficult to visualize in the inspector. (1399494)
Graphics: Draw calls with not all ComputeBuffers bound correctly can lead to crashes on M1. Calls are now discarded and error message is output with shader name. (1395963)
Graphics: Fixed a performance issue in the SRP Render loop. (UUM-6109)
Graphics: Fixed false positives from checking if all buffers are bound correctly on Metal. (1395963)
Graphics: Fixed for updated XR Display headers breaking Oculus App Spacewarp (ASW) due to error in back-compat code path (UUM-7369)
Graphics: Fixed LightAnchor when camera is tilted, work with Local and World Up. (1403119)
Graphics: Fixes incorrectly regenerated thumbnails when reimporting sprites with an asset postprocessor. (UUM-5469)
HDRP: Added an error message in the custom pass volume editor when custom passes are disabled in the HDRP asset. (1407146)
HDRP: Added the volumetric clouds to the feature list of HDRP (case 1410051). (1410051)
HDRP: Changed back height of the path tracing progress bar to 0.5% of the resolution. (1404944)
HDRP: Fixed an issue regarding the scaling of texture read from the after-post-process injection point. (1412459)
HDRP: Fixed black screen with MSAA and TAAU both enabled. (1411217)
HDRP: Fixed constant repaint when static sky set to none. (1414957)
HDRP: Fixed custom pass material editor not displaying correctly read-only materials. (1411764)
HDRP: Fixed decal angle fade for decal projectors. (1410918)
HDRP: Fixed DRS resolution not working for custom post process / custom passes. Pre post effect passes looked croppted (case 1398904). (1398904)
HDRP: Fixed error on lens flare enabled causing motion vectors to be faulty. (1398635)
HDRP: Fixed flickering tiles on FPTL when light count exceeds 32 on vulkan. Caused by a compiler bug vulkan only (case 1401605). (1401605)
HDRP: Fixed for baked reflection probes. (1403131)
HDRP: Fixed HDRP Wizard windows duplicated when entering in play mode. (1407981)
HDRP: Fixed issue that would always save Decal Materials when saving the scene. (UUM-6276)
HDRP: Fixed issue with motion blur having small holes in its blur with high velocities. (1415008)
HDRP: Fixed issue with overblown exposure when doing scene filtering. (1333684)
HDRP: Fixed issue with path tracing, when Ambient Occlusion Remapping is forced to zero on materials. (1401329)
HDRP: Fixed issue with specular occlusion being wrongly quantized when APV is enabled in HDRP. (1407475)
HDRP: Fixed label for background clouds in Environment Lighting tab. (1409875)
HDRP: Fixed lens flare wobbling caused by using jittered matrix, more visible with DLSS (case 1403463). (1403463)
HDRP: Fixed min percentage of dynamic resolution in HDRenderPipeline not clamped (case 1408155). (1408155)
HDRP: Fixed missing menu item to create reflection proxy volume. (1401202)
HDRP: Fixed Planar Probe not rendering when sky is None. (1410628)
HDRP: Fixed Reflection Proxy Volume allowing negative values. (1401205)
HDRP: Fixed the history buffers being all discarded when the number of ColorPyramidBuffers changed (case 1405726). (1405726)
HDRP: Removed clamping for ray traced reflections on transparent objects (case 1414178). (1414178)
HDRP: Updated frame diagram image in documentation (missing Flim grain and Dithering). (1407628)
HDRP: Volumetric fog color no longer affects height fog when disabled. (1414943)
Linux: Enabled macro in sdl to enable deadkey response in built executable. (1134402)
Linux: Fixed crash caused by destroying MenuItem widgets and accessing their data in GTK handlers. (1372311)
Linux: Fixed crash when launching standalone profiler on Linux. (UUM-5543)
Linux: Fixed missing game controller mappings for certain controllers. (1384896)
Linux: Fixed print stack trace frequently crashing (UUM-1595)
Networking: Fixed IPv6 support on Windows and Android. (UUM-926)
Particles: Fixed errors when viewing a Force Field Preset inspector whilst entering Playmode. (UUM-1818)
Physics 2D: Ensure that the PlatformEffector2D continually calculates friction/bounce when something is in contact with it. (UUM-1684)
Prefabs: Removed unpack Prefab instances option when deleting Prefabs
This makes case 1360671 obsolete. (UUM-3368)
Profiler: Fixed Memory Profiler capture reloading unloaded assets referenced by scripts. (UUM-898)
Profiler: Fixed untracked memory allocated via AsyncUploadManager when browsing Addressables. (1410384)
Scripting: Fixed issue where OnPostRender is called multiple times per frame when setting Application.targetFrameRate. (UUM-911)
Scripting: Fixed issue where yielding WaitForEndOfFrame was getting called too many times per Editor player loop. (UUM-904)
Security: Updated OpenSSL to 1.1.1m. (1352528)
Shaders: Editor in -nographics mode does not support compute shaders. (1410540)
Text: Fixed Text component not rendering elements with floating point coordinates correctly on machines with locale set to one that uses commas as decimal separators. (UUM-868)
Text: Fixed the UTF-16 to UTF-8 conversion error when inputting an emoji into a text game object.
uGUI: Reverted the default behavior for UI elements that implement IPointerEnter/Exit back to what it was before: when hovering a child component, it also sends the hovering event to the parent(s).
Also added a field (sendPointerHoverToParent) in the BaseInputModule that can be set to false to change the behavior to: when hovering a child component, it doesn't send the hover event to the parent(s). (UUM-2468)
UI Toolkit: Fix SVG 9-slice visual artefact. (UUM-5434)
UI Toolkit: Fixed an issue where the UI Builder breaks the cursor property when saving by appending a comma between the additional parameters. (UUM-872)
UI Toolkit: Fixed nested scroll view behaviour on mobile; scrolling will stay in the scroll view that initiated the drag. (UUM-941)
UI Toolkit: This fixes the following:
- 1357086: Changes in UI Builder are lost when editing a 2D sprite
- UIT-1233: UIBuilder: Message in dialog unclear - "UI Builder: Document has unsaved changes"
The message appearing on screen is now clearer and a bit more explanatory for users. While it doesn't fix the problem at the source, it at least informs users more efficiently (about the reasons why they ended up there). (UUM-847)
- 1357086: Changes in UI Builder are lost when editing a 2D sprite
Universal Windows Platform: Fixed Application.OpenURL asserting due to not freeing temporary memory. (UUM-2205)
Universal Windows Platform: Fixed errors when trying to use the System.Web.HttpUtility class on UWP. (UUM-4008)
Universal Windows Platform: Fixed memory leak when creating new PlayerPrefs with key that is longer than 25 characters. (UUM-4166)
URP: URP 2D - Fix Light2D upgrading issue with m_AlphaBlendOnOverlap property (UUM-1845)
VFX Graph: Fixed exception when there is a GPU in subgraph and flow link in parent graph. (UUM-571)
Video: Video player no longer suffers performance issues in windowed mode with external monitor. (1350851)
Web: Implemented Application.RequestUserAuthorization/HasUserAuthorization API:
https://docs.unity3d.com/2022.1/Documentation/ScriptReference/Application.RequestUserAuthorization.html and sets the front facing mode of devices that don't include "front" or "back" in their label to true (1283191)
WebGL: Fixed clearing of user template variables when template is switched. (1328657)
WebGL: Removed 255 character limit for audio file urls. (1327368)
Windows: Fixed Screen.currentResolution containing incorrectly rounded refresh rate. (UUM-1512)
Windows: Fixed the game window teleporting to another display on certain display setups when switching to exclusive fullscreen mode at resolution that's significantly lower than the display's native resolution. (UUM-1513)
XR: Fixed XR devices not following RunInBackground setting in Player Setting on PC standalone and playmode in Editor.
Package changes in 2021.3.6f1