Unity 2021.3.1

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

  • Asset - Database: Texture size increased on first build when 'Compress Textures/Assets on Import' is enabled (1397965)

  • Asset Bundles: Textures are not compressed when building bundles (1412557)

  • Dedicated Server: Data from mesh colliders are stripped in dedicated server builds (1399961)

  • DirectX11: Crash on GfxDeviceD3D11Base::ResolveDepthIntoTexture when opening the project (1408785)

  • Inspector Framework: Tooltips are not shown when hovering over name of the value in the Inspector (1415921)

  • Metal: Consistent EditorLoop 5-10ms spikes when using Metal API (1378985)

  • Mono: [Android] "Found plugins with same names" error is thrown when building on Android with duplicate .dll files (1373388)

  • Native Window Management: Windows Editor misses some right mouse clicks right after cursor is locked and unlocked if left mouse button is held down (1365651)

  • Quality of Life: ReorderableList out of bounds exeception (1399803)

  • Search: Fail to load the search index concurrently (1417609)

  • Serialization: Editor crash when deserializing an array of a type with a nested fixed-size buffer field (1400774)

  • Settings Window: Spaces and symbols of the Project name are changed to hyphens causing "Invalid characters" warning in the Bundle Identifier (1412412)

  • Shader System: Editor crashes in Play mode when Groupshared memory and a constant buffer value is used in a compute shader on OpenGLES3 (1413012)

  • Shadows/Lights: Scene is brighter in Standalone player if it was open in the Editor at build time (1375015)

  • Texture: Unity crashes when compressing texture with non-power of 2 dimension size texture using Texture2D.Compress (1417802)

  • uGUI: Prefab is glitchy while editing in Prefab Mode when parent Canvas Render Mode is set to Screen Space - Camera (1394756)

  • Version Control: Crash on TcpProtobufClient::EndBatch when creating a Prefab and Cache Server is disconnected (1383891)

  • WebGL: WebGL Input System interactions are delayed or played preemptively when the project is built (1405517)

2021.3.1f1 Release Notes

Improvements

  • Version Control: Added support for TLSv1.2 connections to Perforce servers. The Plugin is now using Perforce API v17.2. (1404016)

API Changes

  • Android: Changed: Rename TouchScreenKeyboard.Android.closeKeyboardOnOutsideTap to TouchScreenKeyboard.Android.consumesOutsideTouches. (1400608)

  • Editor: Removed: Made Il2CppEagerStaticClassConstructionAttribute internal to avoid conflicts with other definitions outside of the package.

Fixes

  • Android: Fixed a crash caused by out of memory on Android when using Vulkan. (1394782)

  • Asset Pipeline: Fixed an issue where assets with dependencies on a script might not get updated correctly if a [FormerlySerializedAs] attribute was added. (1405215)

  • Editor: Fixed ActiveTrackers not being correctly updated when Inspector Locked or in Debug mode, leading to incorrect Gizmo behaviors.

  • Editor: Fixed Scene.isSubScene flag not persistent in some cases when reloading an open scene. (1396151)

  • GI: Fixed terrain with holes that could be wronfully ignored by the lightmapper. (1384239)

  • Graphics: Fixed a crash in Vulkan backend when out of GPU memory. (1225488)

  • Graphics: Fixed a crash in Vulkan backend when running out of GPU memory while building asset bundles on AMD GPUs. (1385669)

  • Graphics: Fixed a RenderTexture with randomWrite (UAV) that has dynamic resolution enabled with Vulkan. (1366269)

  • Graphics: Fixed a Vulkan validation error when using dynamic resolution with Vulkan on some drivers. (1367535)

  • Graphics: Fixed Vulkan validation error when creating a 3D RenderTexture with mip maps. (1367999)

  • IL2CPP: Fixed a byte to integer conversions issue when they happen across basic blocks (e.g. inside the ternary operator). (1382752)

  • IL2CPP: Fixed an issue where the UnityLinker would generated duplicate unresolved method stubs for a method that was referenced twice via two different method references. (1376513)

  • IL2CPP: Fixed RuntimeInformation.IsOSPlatform on desktop platforms issue. (1399596)

  • Input: Fixed editor shortcuts on macOS not respecting keyboard layout. (1380906)

  • Networking: Fixed an issue where UnityTLS client API did not correctly validate certificates. (1413222)

  • Particles: Fixed particle rendering from command buffers. (1263019, 1273221, 1289755)

  • Profiler: Fixed reported "system used memory" in Profiler and Profiler Counter to be closer to system tools reported values. (1383173)

  • Scene/Game View: Fixed bug with hiding overlays in overlay toolbar hiding entirely the toolbar.

  • Shaders: Fixed a missing eye index setup macro in surface shader. (1406798)

  • Shaders: Fixed an issue where there was a missing buildTarget property in the ShaderCompilerData struct. (1403750)

  • Shaders: Fixed incorrect batching for shadow casters when shaders have properties affecting fixed-function state. (1328077)

  • UI Toolkit: Fixed hierarchy change during a layout calculation may cause a crash. (1402253)

  • UI Toolkit: Fixed static initialization errors around VisualElement instances. (1394597)

  • URP: Fixed Android Vulkan issues with depth prepass and copy depth pass. (1386503)

  • Web: Fixed mouse positions in the MouseMove handler in the new input system based on the mouse event. MouseUp and MouseMove events are relative to the window object, whereas MouseDown and Wheel events are relative to the canvas object. (1385365)

Package changes in 2021.3.1f1

Packages updated

Packages added

Changeset:
3b70a0754835

Third Party Notices

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

Wir verwenden Cookies, damit wir Ihnen die beste Erfahrung auf unserer Website bieten können. In unseren Cookie-Richtlinien erhalten Sie weitere Informationen.

Verstanden