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.
Novidades no Unity? Primeiros passos
Notas da Edição
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
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
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.
80for HTTP or
443for HTTPS). (1388256)
Package Manager: Fixed an issue where having package folders without a package manifest in the project's Library folder would fail resolving
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-tarballdependencies 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)
Package changes in 2021.2.17f1