Unity 2021.2.8

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

Package changes in 2021.2.8f1

Packages updated

Changeset:
d0e5f0a7b06a

Third Party Notices

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

Usamos cookies para garantir a melhor experiência no nosso site. Visite nossa página da política de cookies para obter mais informações.

Eu entendi