Unity 2021.1.21

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.1.21f1

  • Ads: [Android] Unity Ad return app to Lock screen (1281041)

  • Asset Import Pipeline: Editor crashes with out of memory while importing a lot of assets (mostly textures) at once, on Windows/DX11 (1324536)

  • Asset Importers: Editor crashes on UnityEditor.Unsupported:IsDestroyScriptableObject when applying changes to a custom asset (1353925)

  • Asset Importers: [MacOS] Second Unity instance in Activity Monitor is "not responding” after importing (1331736)

  • Audio: Crash on AudioCustomFilter::GetOrCreateDSP when recompiling scripts while in Play Mode (1354002)

  • Global Illumination: Crash while sculpting Terrain and Baking Lightmaps (1266511)

  • Global Illumination: [Enlighten] Fatal Error when closing the Editor while Generating Lighting (1354238)

  • Global Illumination: [LightProbes] Probes lose their lighting data after entering Play mode when Baked and Realtime GI are enabled (1052045)

  • IMGUI: Scrolling is jumping when scrolling in the Input Manager (1362327)

  • Input: Input.GetKey does not trigger when the mouse cursor is outside the Game window (1358134)

  • Linux: Linux Editor crashes at "_XFreeX11XCBStructure" when loading tutorials (1323204)

  • Mobile: [Android] App stops due to OnPixelCopyFinishedListener not being supported on devices with lower than 24 SDK (1331290)

  • Mono: [Mono Upgrade] CommandBuffer native plugin events hang in the Editor (1308216)

  • Packman: User can't easily configure location of both UPM and Asset Store package local cache (1317232)

  • Profiling: GUIStyle errors are thrown when entering Play mode with docked Profiler and the "Maximize On Play" option Enabled (1364443)

  • Profiling: Profiler.GetTotalAllocatedMemoryLong increases when Scene is loaded and unloaded (1364643)

  • Quality of Life: Crash on GUIView::DoPaint when selecting color with a color picker (1355078)

  • Scene Management: Poor performance when loading or unloading a large Scene (1360901)

  • Scripting: Crashes on mono_class_init when entering Play Mode after recompiling scripts (1262671)

  • Scripting: Increased Script Assembly reload time (1323490)

  • Scripting: Performance degradation when activating or deactivating uGUI GameObject (1348763)

  • Scripting: Unity does not execute code weavers when the project is opened for the first time (1350116)

  • Settings Window: [Mobile Notifications] Editor crashes when clicking on any category while Mobile Notifications pane is open (1361351)

  • Terrain: Terrain Lit Opacity as Density option causes alpha'd areas on the 5th layer or greater to appear with artifacts (1283124)

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

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

2021.1.21f1 Release Notes

Improvements

  • Profiler: Released com.unity.performance.profile-analyzer@1.1.0 with a series of fixed and improvements. More details at https://docs.unity3d.com/Packages/com.unity.performance.profile-analyzer@1.1/manual/whats-new.html

API Changes

  • Graphics: Added: A new API for compiling shaders from editor code and obtaining reflection info was added to ShaderData.Pass.

Changes

  • Code Editor: Update com.unity.ide.vscode package to 1.2.4.

  • Package Manager: Change error and warning box to look like the info box.

Fixes

  • Android: Fixed an issue where a looping, streaming video caused a Unity app to drop frames or freeze, if network latency was really high. (1341573)

  • Asset Bundles: Fixed an issue with Asset Bundle determinism. (1346263)

  • Asset Pipeline: Fixed a crash inside Physics Manager when a Default Material was present and shut down. (1338910)

  • Asset Pipeline: Fixed a crash that occurred if ImportAsset was called with "Assets\" path. Also fixed an issue where any folder path ending with path separator did not get imported. (1354411)

  • Editor: Prefab override is not reset anymore when prefab is pasted as a child. (1339266)

  • Graphics: Fixed a renderingLayerMask issue with terrain tree rendering. (1324480)

  • Graphics: Fixed an issue where a Single Channel Texture2DArrays had a corrupted mips when using Box mip filtering. (1352547)

  • iOS: Fixed an issue where a presentation controller dismissal resulted in black screen when allowed orientations were changed while it was showing. (1304313)

  • iOS: Fixed an issue where Analytics temporary data was stored in a user accessible folder. (1211659)

  • iOS: Fixed an issue where Bluetooth keyboards did not handle the input outside of text entry. (1355543)

  • Linux: Fixed issue where dismissing a context menu can cause a crash. (1347655)

  • Physics: Fixed an issue where "Physics2D.Distance()" always returned zero distance when an overlapped CapsuleCollider2D with a uniform (degenerate) size was used. (1354786)

  • Profiler: Fixed an issue where there was no error message when trying to load an old profiler data format and direct users to load the data in unity 2018.4. (1341972)

  • Shaders: Fixed a shader compiler crash when asked to compile a variant for a platform that is not installed. (1348875)

  • Shaders: Fixed a spacing issue when drawing material UI for Integer based enum properties. (1355315)

  • Shaders: Fixed an issue when Pass.CompileVariant silently accepted impossible combinations of ShaderCompilerPlatform and BuildTarget. (1348874)

  • Shaders: Fixed an issue where the Editor was nearly unusable when compiling heavy compute shaders in the background. (1348455)

  • Shaders: Fixed an issue where UI sliders only allowed end values for ranges with the left value greater than the right value. (1351151)

  • Shaders: Fixed count constant generating an error when compiling shaders for Vulkan using Pass.CompileVariant API. (1348871)

  • Shaders: Fixed Pass.CompileVariant not filtering keywords not relevant to the given pass. (1349218)

  • Shaders: Fixed Pass.CompileVariant throwing errors when compiling subshaders coming from the fallback or passes coming from UsePass. (1348862)

  • Shaders: Fixed ShaderData.Pass providing no way to check whether a particular shader stage is included. (1348880)

  • UI Toolkit: Drag and drop in ListView will not bind negative index. (1319543)

  • UI Toolkit: Fixed an exception in ListView when the page up key was pressed after hitting navigation keys. (1324806)

  • UI Toolkit: Fixed selection on pointer up on mobile to allow touch scrolling. (1312139)

  • UI Toolkit: Submit event on a ListView focuses in the content to allow keyboard navigation. (1311688)

  • WebGL: Added workaround for Safari IndexedDB bug. (1342163)

  • WebGL: Set the mouse position to be in the middle of the canvas if the cursor is locked. (1347311)

Changeset:
f2d5d3c59f8c

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