Release Notes Background

Unity 2021.3.42f1

Released on Aug 6, 2024

Manual installs

Component installers

Release

Known Issues in 2021.3.42f1

  • Asset - Database: Crash on GetAssetCachedInfoV2 when opening a project (UUM-14959)

  • DirectX12: Crash on GfxDeviceD3D12Base::DrawBuffersCommon when enabling a GameObject using SSR's "Ray Tracing" or “Mixed“ tracing options (UUM-76697)

  • DirectX12: [DX12] Player crash on UnityMain when building HDRP Sample on Windows (UUM-75100)

  • iOS: iOS Simulator SDK is missing ARM64 Architecture support (UUM-2238)

  • Kernel: VirtualFileSystem crash because of data races. (UUM-72557)

  • PhysX Integration: A 1000 times heavier GameObject will stutter when colliding with a lighter GameObject (UUM-65366)

2021.3.42f1 Release Notes

Improvements

  • Graphics: Add a IUnityXRTextureManagerInterface and a function pointer OnTextureDestroyed in it, which is called when VR RenderTexture is destroyed. On the plugin side, a callback assigned to this pointer is going to get triggered.

  • XR: Update XR Interaction Toolkit package (com.unity.xr.interaction.toolkit) to v2.6.3

Changes

  • Android: Updated bundletool up to 1.16.0 (UUM-70552)

  • Burst: Improved error message for pointer-like types in non-readonly static fields

  • Burst: Improved performance of Burst-compiled code in the Windows x64 Editor by only emitting context-saving code when the code being compiled contains a throw

  • Package: Updated code coverage package to version 1.2.6

Fixes

  • Android: Add UI for creating a custom settings.gradle template (UUM-27109)

  • Android: Correctly replace DIR_UNITYPROJECT in settingsTemplate.gradle (UUM-27090)

  • Android: Improve maintainability fo Gradle version documentation (UUM-76224)

  • Android: Resolved an issue where the OK button was absent in the Mobile Input Field of the soft keyboard. (UUM-74675)

  • Burst: BurstAotSettings files are no longer written to disk unless default settings are changed

  • Burst: Creating a project with a space in the path would cause burst to fail on windows arm64.

  • Burst: Fixed an issue with default interface methods which would result in compiler errors due to IL corruption.

  • Burst: Fixed another compiler crash caused by faulty alias analysis

  • Burst: Fixed direct negation of enums was not correctly promoting the underlying type, causing wrong results.

  • Burst: Fixed that Mathf.Approximately would return the wrong result approximately all of the time

  • Burst: Fixed the BurstDebugInformation_DoNotShip folder not being saved outside the player build folder for Embedded Linux and QNX platforms

  • DX12: Correctly unbind counter resources to prevent GPU crash (UUM-75100)

  • Editor: Fix analytics related crash. (UUM-72093)

  • Editor: Fix crash on exit of editor when GLES is the active graphics API (UUM-54445)

  • Editor: Fix resolution not resetting to full screen when going to full-screen window by using native MacOS UI controls. (UUM-73633)

  • Editor: Fixed the order of some internal menu items being incorrect (e.g GameObject/UI) (UUM-76316)

  • Graphics: Fixed use frustum culling light setting to work for shadow cascades. (UUM-56026)

  • Graphics: The condition for the "Graphics.CopyTexture with a region will not copy readable texture data for compressed formats" warnings has been fixed to match the documentation so that when a CPU copy would not normally be attempted (ie., at least one texture is not readable), the warnings will not appear. (UUM-73721)

  • HDRP: Fixed graphical issue when resizing Reflection Probe sizes on macOS (UUM-71467)

  • IL2CPP: Fix incremental GC issue when using multidimensional arrays and full generic sharing.
    https://github.cds.internal.unity3d.com/unity/il2cpp/pull/6318
    https://jira.unity3d.com/browse/UUM-74630 (UUM-74630)

  • IL2CPP: Fix the buildReport parameter being null during calls to GenerateAdditionalLinkXmlFile (UUM-70019)

  • IL2CPP: Fixed possible deadlock in the C# threadpool
    https://github.cds.internal.unity3d.com/unity/il2cpp/pull/6283
    https://jira.unity3d.com/browse/UUM-72739 (UUM-72739)

  • macOS: Clear composition string on mouse press (affect IME input). (UUM-74702)

  • Mono: Fix crash on access zip files on Linux distributions using zlib-ng (Fedora 40)
    https://github.com/Unity-Technologies/mono/pull/2037
    https://jira.unity3d.com/browse/UUM-72446 (UUM-72446)

  • Mono: Fix exception when using System.IO.Compression.BrotliStream on Android.
    https://github.com/Unity-Technologies/mono/pull/2045
    https://jira.unity3d.com/browse/UUM-73753 (UUM-73753)

  • Mono: Fixed "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
    https://github.com/Unity-Technologies/mono/pull/2040
    https://jira.unity3d.com/browse/UUM-70240 (UUM-70240)

  • N/A (internal): Fix memory profiler test instabilities (UUM-46797)

  • Profiler: Memory Profiler may require less memory on capturing from a player. (UUM-46797)

  • SRP Core: Avoid that the same volume can be registered more than 1 time in the VolumeManager. (UUM-70658)

  • Universal RP: Disable fallback behavior on FSR EASU shader to prevent build errors on machines with old GPUs (UUM-60575)

  • Universal RP: Reduced banding on FSR upscaled render target by changing render target formats (UUM-52901)

  • URP: Fixed compiler error when using single precision on Mobile targets (UUM-48035)

  • Version Control: Fixed the Unity Editor stuck on "Creating workspace" when "Use Unity Version Control" was selected from the Hub

  • Web: Make WebGL ignore BuildOptions.AllowDebugging, instead of failing to build when the option is used.

Package changes in 2021.3.42f1

Packages updated

Changeset: f1197811e8ce

Third Party Notices

Looking for a different release?

Find the Unity version that’s compatible with your existing projects, or that provides you with specific features unavailable in newer versions.