Unity 2021.3.9

Released:
Select the runtime platforms of your choice from the list below (the desktop runtime is included as standard) or, to install the full complement of runtime platforms, use the download assistant installer above.
New to Unity? Get started

Known Issues in 2021.3.9f1

  • AI Navigation Core: NavMesh::Raycast freezes the whole editor in an infinite loop on Application.UpdateScene (UUM-2496)

  • Linux: Editor crashes at "DisconnectGtkSignal(void*, GtkCallbackResponse ()(), void)" when opening floating windows (UUM-11724)

  • Linux: Editor crashes at "GfxDeviceGLES::DrawBuffersBatchMode" when entering Play Mode in the LEGO tutorial (UUM-971)

  • MacOS: [M1] Crash on System.Object:__icall_wrapper_ves_icall_array_new_specific when launching a project (UUM-3207)

  • MacOS: Editor performance drops when clicking and dragging on Position, Rotation and Scale values in Transform component (UUM-7457)

  • Mono: Crash with ScanAssemblyForAttributesAndInterfaceImplementations when opening a project (1376858)

  • Mono: [Linux] C# Reflection performance is 50 to 60 times slower (UUM-11526)

  • Scene Management: Scene causes Editor crash when specific Lighting Data Asset is used (UUM-9319)

  • Scripting: Crash when accessing transform component after calling Resources.UnloadUnusedAssets() (UUM-11111)

  • Shader System: Shader variant build preparation does not scale (UUM-3711)

2021.3.9f1 Release Notes

Features

  • Editor: Added editor analytics event tracking for "Refresh access" and "New link..." button click.

  • Version Control: Added notification banner on the status bar for live updates.

Improvements

  • Mono: Added support for direct ETW profiler integration on Windows Desktop for managed code, with no plugin required.

Changes

  • Version Control: Renamed "Invite members to workspace" option to "Invite members to organization".

Fixes

  • Android: Fixed an Android audio crash when targeting API Level 31 and running on an Android 12 device. Also fixed an AudioManager.GetStreamVolume exception when targeting API Level 29 or later, which caused the AudioSettings.Mobile.stopAudioOutputOnMute feature to not work correctly, if enabled. (UUM-5652)

  • Android: Fixed bug when building with IL2CPP and scaler types getting stripped out.

  • Android: Fixed bug with manual lifetime tests failing occasionally.

  • Android: Fixed bug with scaler not being initialized with settings from the Editor UI properly when using profiles.

  • Android: Fixed bug with test provider and settings showing up in Project Settings.

  • Android: Toggling Build App Bundle in the Build Player Window will now prompt for a save location rather than attempting to use the last build location which would have been the incorrect type of package. (UUM-1692)

  • Asset Bundles: Fixed memarchive0 error when entering play mode. (UUM-493)

  • Asset Pipeline: The option to 'Recompile after finished playing` did not work and has been removed. To support the intended functionallity a new option to only auto refresh outside playmode has been added. (UUM-818)

  • Build Pipeline: Fixed a bug where the player data cache would not distinguish between server builds and normal standalone players, which could cause the wrong data ending up in players.

  • Build Pipeline: Fixed PlayerBuildInterface.ExtraTypesProvider API not working.

  • Editor: Added the option to set something as the first child of the root. (UUM-955)

  • Editor: Fixed an issue preventing the resize the Inspector window when docked near another window. (UUM-1956)

  • Editor: Fixed an issue where certain properties could not be excluded in the TextureImporterInspector. (UUM-3787)

  • Editor: Fixed an issue with the 'Fix' button for vertex stream in particle shaders. (UUM-11695)

  • Editor: Fixed drag and drop in between blue line indicators in inspector does not always work on linux. (UUM-1568)

  • Game Core: Fixed web requests getting stuck when aborting them. (UUM-874)

  • HDRP: Added async compute support doc. (UUM-6183)

  • HDRP: Added missing using statements in one of the example scripts in the documentation for the accumulation API. (UUM-3224)

  • HDRP: Disabled Volumetric Clouds for Default Sky Volumes. (UUM-6185)

  • HDRP: Fixed a discrepancy between recursive rendering and path tracing for refraction models. (UUM-6179)

  • HDRP: Fixed a render graph error when rendering a scene with no opaque objects in forward. (UUM-6189)

  • HDRP: Fixed a rounding issue in ray traced reflections at half resolution. (UUM-6177)

  • HDRP: Fixed an issue with DOTS and Look Dev tool causing entities in the tool to be drawn in the game view. (UUM-6188)

  • HDRP: Fixed an issue with the ray traced screen space shadows slots/indices. (1424996)

  • HDRP: Fixed an issue with up direction of the light anchor tool being wrong on occasion. (UUM-6190)

  • HDRP: Fixed artifacts on PBR DOF camera cuts such as the COC sticking around with blurry values. (UUM-6187)

  • HDRP: Fixed artifacts on quarter and half res depth of field when dynamic resolution jumps between resolutions. (UUM-6184)

  • HDRP: Fixed blinking Ray traced reflection with dynamic resolution. (UUM-6180)

  • HDRP: Fixed blinking SSGI with dynamic resolution. (UUM-6181)

  • HDRP: Fixed cull mode toggle in transparent material inspector shifting the UI. (UUM-6186)

  • HDRP: Fixed Decal Layer Texture lifetime in rendergraph. (UUM-6664)

  • HDRP: Fixed duplicated code sample in the custom pass documentation. (UUM-6173)

  • HDRP: Fixed errors in CPU lights: includeForRaytracing, lightDimmer not working for HDAdditionalLightData and camera rel rendering. (1424704)

  • HDRP: Fixed incorrect distortion when hardware DRS is enabled. (UUM-3322)

  • HDRP: Fixed leaks in ray tracing effects due to missing ambient probe for ray tracing effects. (UUM-589)

  • HDRP: Fixed noisy top shadows when using 'High' Filtering Quality with Tesselated Meshes (Lit Tesselation). (UUM-3341)

  • HDRP: Fixed pivot position in the eye material sample scene. (UUM-10663)

  • HDRP: Fixed quad artifacts on TAA and fixed an issue on bicubic filtering. (UUM-6205)

  • HDRP: Fixed re-ordering issue in the custom pass list. (UUM-6176)

  • HDRP: Fixed reflection issue upon scene filtering. (UUM-6514)

  • HDRP: Fixed SSGI using garbage outside the frustum. (UUM-6175)

  • HDRP: Fixed the clamp happening on the sum of ray tracing samples instead of per sample. (UUM-6513)

  • HDRP: Fixed the default DXR volume not having any DXR effects enabled. (UUM-6182)

  • HDRP: Fixed transparent canvas not displaying in camera preview. (1403011)

  • HDRP: Profile list button now greys out instead of throwing error. (UUM-6174)

  • HDRP: Specular occlusion now falls back to normal when bent normal is not available. (UUM-6662)

  • HDRP: Updated a misleading tooltip in the environment lighting in HDRP. (UUM-6178)

  • IL2CPP: Allow breakpoints to be set in managed code in private and internal types. (UUM-9132)

  • IL2CPP: Avoid a potential crash when a Unity player is unloaded and reloaded. (UUM-2660)

  • IL2CPP: Corrected layout structures in memory with an explicit layout and a size parameter. (UUM-9100)

  • IL2CPP: Corrected the assembly reference for the base type of stubbed reference types created by the UnityLinker. (UUM-7772)

  • IL2CPP: Corrected the behavior of Ping on Windows platforms. (UUM-8801)

  • IL2CPP: Corrected the behavior of RuntimeInformation.OSDescription on WebGL. (UUM-1144)

  • IL2CPP: Do not inflate RGCTX for types and methods with non-inflated generic parameters. (UUM-6057)

  • IL2CPP: ETW patterns are no longer stripped out on non-windows platforms. (UUM-5771)

  • IL2CPP: Fixed incorrect code generation for references to void* pointers. (UUM-4299)

  • IL2CPP: Fixed leak of internal thread objects that could manifest in a pause on player exit. (UUM-607)

  • IL2CPP: Prevent a memory corruption that could happen when the "Faster (smaller) builds" option is used with generic types that have a generic base class with no fields, and a different base class with at least one generic field. (UUM-3066)

  • IL2CPP: Support marshaling of blittable generic instances in delegates and P/Invokes. (UUM-9460)

  • IL2CPP: Throw an exception from Buffer.BlockCopy when the destination array has a non-primitive element type. (UUM-3302)

  • IL2CPP: Updated zlib to version 1.2.12 for CVE-2018-25032. (UUM-599)

  • Kernel: Dynamic array no longer use slower code path for assign operator with POD types. (UUM-7924)

  • Linux: Fixed an issue preventing the creation of Apple silicon related builds on Linux. (UUM-901)

  • Linux: Fixed gui errors when clicking the prefab's override button in the inspector. (UUM-1566)

  • Mono: Fixed a crash during stack trace construction if a this object is null. (UUM-611)

  • Mono: Fixed crash that would occur when assigning a large struct to the field of a null object. (UUM-10477)

  • Mono: Fixed crash when passing a generic class to a function pointer. (UUM-603)

  • Mono: Fixed Interlocked.CompareExchange float on M1. (UUM-9159)

  • Particles: Load MeshFilter Components before Particle Systems to ensure they can be used during prewarms. (UUM-832)

  • Physics: Fixed Articulation Bodies teleporting to NaN coordinates when changing joint type at runtime. (UUM-7418)

  • Physics: Fixed overlap queries missing small convex Mesh Colliders. (UUM-6271)

  • Physics: Fixed raycasts missing after moving a lot of objects. (UUM-7416)

  • Profiler: Fixed profiler not opening the correct version of the documentation. (UUM-4963)

  • Scripting: Changed to rulesetfile not triggering compilation. (UUM-3560)

  • Scripting: Fixed an issue where Application.logMessageReceived can be called from a job, when the job is scheduled on the main thread. (UUM-3085)

  • Scripting: Fixed an issue where define constraints on unity's pre-defined symbols like "UNITY_INCLUDE_TESTS" were misbehaving for Precompiled assemblies. (UUM-9378)

  • Scripting: Gradient API is now thread safe. (UUM-834)

  • Serialization: Fixed an issue when a PropertyModification targetting a serialize reference instance which was no longer being present could cause memory corruption. (UUM-959)

  • Shaders: DrawMeshInstanced now provides error feedback when using a shader that does not support instancing. (UUM-6026)

  • Shaders: Fixed an issue where adding packages to a project would not update the Shader Compiler include search paths. (UUM-3982)

  • Shaders: Made compute shaders respect #pragma enable_cbuffers. (UUM-11520)

  • Terrain: Fixed an issue where URP failed to render grass Terrain details. (UUM-9122)

  • uGUI: Fixed calculation of pointer position when running in multiple display mode and the main display was fullscreen with a non-native aspect ratio. (UUM-7893)

  • uGUI: Fixed Graphic.Raycast not ignoring CanvasGroups when they were disabled. (UUM-972)

  • uGUI: uGUI: When disabling a canvas and reenabling it, SubCanvas now renders correctly.'. (UUM-9248)

  • uGUI: When disabling a canvas and reenabling it, SubCanvas now renders correctly.

  • UI Toolkit: Fixed for issue where ArgumentOutOfRangeException is thrown when adding/removing elements from a List in the Inspector. (UUM-957)

  • UI Toolkit: Fixed for offset issues and layout delays in default PropertyField on array values when adding or removing items. (UUM-902)

  • UI Toolkit: The hierarchy tree will keep its expanded state and selection when saving in the UI Builder. (UUM-1884)

  • UI Toolkit: UI Elements property animations, as well as scheduled items, asynchronous tasks and Update() callbacks are now updated as expected when a modal editor window is opened. (UUM-1695)

  • UI Toolkit: [UI Builder] Fixed an issue where the buttons tooltip in the inline styles were showing its parents. (UUM-1816)

  • Undo System: Handle objects created by Animation Rigging during undo/redo. (UUM-7875)

  • Universal: Fixed depth pre-pass being always executed on GLES devices. (UUM-8381)

  • Universal: Fixed incorrect light brightness when using SimpleLit shader. (UUM-7851)

  • Universal: Fixed specular highlight edges on Android. (UUM-7654)

  • URP: Fixed alpha discard on Unlit Sprite targets for Shadergraph. (UUM-6998)

  • URP: Fixed an additional light performance regression on Quest. (UUM-9423)

  • Version Control: Fixed not being able to view changesets in a Gluon workspace
    Fixed not being able to insert carriage return in checkin dialog.

  • VFX Graph: Fixed an issue with Motion Vector target offset with Line Output. (UUM-3303)

  • VFX Graph: Read only fields texts is almost invisible due to an opacity value issue. (UUM-9222)

  • VFX Graph: Vector2 node indeterminate value behavior was not consistent with other Vector nodes. (UUM-2071)

  • Video: Fixed an issue where the first video's frame was drawn out of order when the H.264 B-Frames video is used. (UUM-819)

  • Video: [WIN 8 KN/N] VideoPlayer inadequate error reporting on errorReceived callback when Media Player is not present. (UUM-839)

  • Windows: Fixed builds launching on the wrong display after upgrading the project from Unity 2020.3. If the project was previously upgraded to 2021.3, this may cause the builds to start up on a different display first. Use Win + Shift + Left/Right arrow to move the window to the desired display. (UUM-4178)

  • Windows: Fixed crash on startup when Vjoy HID device is connected to a computer. (UUM-8786)

  • Windows: Fixed resolution misdetection on vertical displays, which caused APIs like Screen.currentResolution or Screen.GetDisplayLayout() return wrong data and the player contain letterboxing when it shouldn't. (UUM-7552)

  • Windows: Restore the display enumeration behaviour of Unity 2021.1 and earlier: the primary display will always be treated as display 1.

Package changes in 2021.3.9f1

Packages updated

Packages added

Changeset:
ad3870b89536

Third Party Notices

For more information please see our Open Source Software Licenses FAQ on the Unity Support Portal

We use cookies to ensure that we give you the best experience on our website. Visit our cookie policy page for more information.

Got it