Release notes

Known Issues in 2021.2.0b11

  • --: NullReferenceException is thrown when typing in the Hierarchy window search bar (1360676)

  • Asset Bundles: Fixed Asset Bundle determinism. (1346263)
    Fixed in 2021.2.0b12.

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

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

  • CodeEditors: Crash on stopping debugging (1355156)

  • Customer QA Onboarding: Scrolling is jumping when scrolling in the Input Manager (1362327)

  • Customer QA Onboarding: Unity Editor crashes when editing "Base Map" color of a material (1358618)

  • Editor: Fixed EnumMaskField incorrectly using int.MaxValue for the Everything value, it now uses -~0 (-1). (1343837)
    First seen in 2021.2.0a17.
    Fixed in 2021.2.0b12.

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

  • Global Illumination: Unity 2021.2 crashes on some Windows7 PCs when tbb12.dll gets loaded (1361676)

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

  • Global Illumination: [GPU PLM] Fallback to CPU PLM in CL_INVALID_MEM_OBJECT after switching light color only and rebaking GI (1356714)

  • Global Illumination: [PLM] Baking stalls after starting CPU PLM bake via the lightmapping API with enabled async shader compilation (1331268)

  • HD RP: HDRP Template fills the Console with "Shader error...couldn't open include file" messages after building the project (1342989)

  • IL2CPP: IL2CPP Player crash (1361232)

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

  • Input: Touch Input doesn't work in Play Mode when running an Editor on a Touchscreen device (1341159)

  • Linux: Fixed an issue where the Assets menu might be disabled after using the right-click context menu, or items in the context menu are unexpectedly disabled. (1346205)
    Fixed in 2021.2.0b12.

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

  • Linux: [XR][Linux] Editor Menu disappears when opening new AR or VR Template Project or when pressing "Show Tutorials" (1362449)

  • Metal: Changing Adaptive Resolution Level asks for unsupported texture format which causes Editor crash (1355775)

  • Metal: Performance in Game View is significantly impacted by Gfx.WaitForPresentOnGfxThread when a second monitor is connected (1327408)

  • Mobile: [Android] Build fails when there are 680 or more files in the Streaming Assets folder (1272592)

  • Mono: [Linux] [Mono Upgrade] Unity crashes when detaching the Managed Debugger after hitting a breakpoint (1345784)

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

  • Physics: Editor crashes when accessing RaycastHit.lightmapCoord and the hit Mesh does not have texture channel 1 (1361884)

  • Prefabs: Fix redoing Apply override to Prefab crashes Editor (1355538)
    First seen in 2021.2.0a14.
    Fixed in 2021.2.0b13.

  • 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: Crash on PropertyUndoManager::Flush after recompiling scripts (1352394)

  • Scripting: Error CS8035 is thrown on opening a project when using rulesets (1349517)

  • Scripting: Increased Script Assembly reload time (1323490)

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

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

  • UI Builder: Changes in UI Builder are lost when editing a 2D sprite (1357086)

  • Vulkan: Editor crashes vk_optimusGetInstanceProcAddr after closing Build Settings window (1362844)

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

  • WebGL: Profiler does not autoconnect on WebGL builds (1360399)

  • WebGL: WebGL fails building on Windows 7 (1340260)

  • Windows: Fixed incorrect mouse Y position in the new input system when rendering at non-native resolution. (1345405)
    First seen in 2021.2.0b5.
    Fixed in 2021.2.0b12.

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

New 2021.2.0b11 Entries since 2021.2.0b10

Improvements

  • 2D: Update 2D URP template starting folder structure for better clarification of usage.

  • Search: Improve asset indexer performances and index size.

Changes

  • Animation: Updated Animation Rigging package to version 1.1.1

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

Fixes

  • Android: Fixed a bug where a looping, streaming video could cause a Unity app to drop frames or freeze, if network latency was really high. (1341573)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Android: Fixed Patch not working on some newer Android devices due to permission issue. (1343844)

  • Asset Pipeline: Fixed crash inside Physics Manager when a Default Material is present and we shut down. (1356108)
    First seen in 2021.2.0b1.

  • Asset Pipeline: Fixed for crash that would occur if ImportAsset is called with "Assets\" path. Also fixes issue where any folder path ending with path separator doesn't get imported. (1354411)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: Fixed a crash when creating a marquee selection that included Mesh Particle Systems. (1351135)
    First seen in 2021.2.0a21.

  • Editor: Fixed color picker keeps updating color preview when the EyeDropper is used and Esc key is pressed. (1291991)

  • Editor: Fixed gradient swatches were not refreshed after undoing preset change. (1261595)

  • GI: LightProbes.needsRetetrahedralization doesn't get invoked in IL2CPP builds. (1338514)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Graphics: Fixed crash when calling GetPixelData with invalid arguments. (1322485)

  • Graphics: Fixed ProBuilder mesh's texture disappearing after enabling Path Tracing. This happened when the vertex color channel was not set. (1348821)

  • iOS: Fixes 'end Encoding' crash when force closing iOS application. (1329593)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Package: Updated com.unity.formats.alembic@2.2.1.

  • Package Manager: Hide reset feature button if the installed version is a patch of the lifecycle version. (1360446)

  • Particles: Automatically mark textures as readable, if used by the Particle System Shape module. (1344356)

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

  • Scene/Game View: Improve performance when opening Scene View window. (1343564)

  • Scripting: Correct C# compiler error CS0570 when the indexer of ReadOnlySpan is used with the .NET Framework Api Compatibility Level. (1355846)
    First seen in 2021.2.0b6.

  • Scripting: Fixed an issue when opening a project using rulesets, Error CS8035 is no longer thrown in the console. (1349517)

  • Scripting: Fixed GetScriptingDefineSymbols functions to not contain empty string entries in the returned defines array. (1350561)

  • Scripting: Fixes globalgamemanagers.assets to only contain scripts that will be part of the player builds. (1335997)
    This has already been backported to older releases and will not be mentioned in final notes.

  • UI Toolkit: Drag and drop in ListView will not bind negative index. (1319543)
    This has already been backported to older releases and will not be mentioned in final notes.

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

  • UI Toolkit: Fixed GraphView shader not compiling on Shader Model < 3.0. (1348285)

  • 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: WebGL's new input system handler was incorrectly returning the mouse position relative to the web page and not the Unity canvas. It also did not return the position in the middle of the canvas when the cursor was locked, so I added that as well. (1347311)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Windows: Fixed the new input system reporting incorrect keyboard key display names when using certain non-english keyboard layouts. (1337684)
    This has already been backported to older releases and will not be mentioned in final notes.

Changeset: 0bffbba03cb9