Unity 2021.3.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.3.21f1

  • Asset - Database: Script recompiles in Play Mode when Script Changes While Playing option is set to Recompile After Finished Playing and Auto refresh is set to enabled. (UUM-20409)

  • Linux: Crash on GUIView::IsVSyncEnabled when saving a preset (UUM-29750)

  • MacOS: [2D Platformer Microgame] 2D Platformer Microgame Project crash on __cxxabiv1::__aligned_malloc_with_fallback when pinching out or in on the trackpad during “Zoom in and out” step (UUM-20720)

  • MacOS: [M1] Crash on System.Object:__icall_wrapper_ves_icall_array_new_specific when launching a project (UUM-3207)

  • Mono: Crash with ScanAssemblyForAttributesAndInterfaceImplementations when opening a project (1376858)

  • RP Foundation: "Resources.FindObjectsOfTypeAll(typeof(Material)).Length" increases every time when entering/exiting Play Mode (UUM-27587)

  • Visual Effects: SDF Baking causes memory to be allocated that isn't deallocated when in Play Mode and in Builds (UUM-25814)

2021.3.21f1 Release Notes

Improvements

  • 2D: Improved the performance of creating a large number of Tile assets with the Tile Palette window.

  • 2D: Improved the performance of opening the Tile Palette window when the Tile Palette references a large number of Tile assets. (UUM-26849)

  • Package Manager: Extended support for specifying optional path and revision to Git URLs in SCP format.

Changes

  • Package Manager: Renamed Web3 category filter in Package Manager Window for My Assets to Decentralization.

Fixes

  • 2D: Fixed the Tile Palette repainting a position when doing a mouse drag at the same position. (UUM-27588)

  • AI: Fixed the inaccurate shape of NavMeshObstacles that prevent agents from avoiding them properly. This only applies to Windows builds. (UUM-9814)

  • Android: Fixed Screen.SetResolution when using split-screen and Screen.orientation changes. (UUM-19019)

  • Android: Unity will no longer wrap native crashes into java exceptions on Android, as has been the case, and will correctly forward signals to the previous handlers.

  • Asset Bundles: Fixed issue where empty folders remain in the cache when the max storage space is exceeded. (UUM-27439)

  • Core: Fixed Transform.GetLossyScale() returning inaccurate results (only in Windows player non developpement builds). (UUM-25239)

  • DX12: Fixed for crash when RenderDoc is attached to a scene with an invalid pipeline state. (UUM-22222)

  • Editor: Avoid breaking SRP Batcher shadow batch when different "per material" texture. (UUM-11166)

  • Editor: Fixed a crash where destroying a component's GameObject in the Awake function of a script with ExecuteInEditMode would incorrectly try to apply serialized object changes. (UUM-21915)

  • Editor: Fixed an issue so that Light Probes are affected by back-facing triangles when baking with the GPU Lightmapper. (UUM-7699)

  • Editor: Fixed an issue with the initialization of raytracing which could fail during certain frames. (UUM-26885)

  • GI: Fixed an issue where lightmaps would be swapped when entering playmode when the "Reload Scene" option is disabled. (UUM-21437)

  • Graphics: Added error message when enabling restricted keywords on a Material. (UUM-3576)

  • Graphics: Added GetVisiblePositions to TrailRenderer. (UUM-21893)

  • Graphics: Fixed a Particle System rendering corruption. (UUM-21106)

  • Graphics: Fixed glitches on macOS when the rendering path is set to deferred. (UUM-21567)

  • IL2CPP: Enabled display of the name of each thread in native and third party profilers. (UUM-21136)

  • IL2CPP: Fixed a potential .cpp file name collision when two assembly names differ only by a number at the end of their name. (UUM-27951)

  • IL2CPP: Fixed a race condition when creating generic class metadata. (UUM-26516)

  • IL2CPP: Fixed IL2CPP build failure when using Unbox instruction with generic by reference return type. (UUM-5942)

  • IL2CPP: Projects created prior to 2021.3 and opened in 2021.3 or newer could have their Managed Stripping Level incorrectly migrated to the new default value of Minimal when the old default of Low should have been retained. (UUM-19512)

  • Linux: Fixed the Linux Editor so it no longer ignores a SIGTERM signal. (UUM-24705)

  • macOS: The macOS Player no longer contains an empty area gap on each screen vertical side when rendering fullscreen on Macs with a notch. (UUM-12632)

  • Mobile: Shaders with normals are rendered correctly when sampling pixels with mixed shader evaluation on iOS and Android builds. (UUM-22766)

  • Networking: UnityWebRequest: Fixed a possible crash when texture download receives bogus data that does not decode. (UUM-28816)

  • Package Manager: Fixed an issue where a project with a large number of git dependencies would have resolution errors with error code 429 (Too Many Requests). The number of concurrent requests is six by default, but it can be changed by setting the UPM_GIT_MAX_CONCURRENT_COMMANDS environment variable. (UUM-6049)

  • Package Manager: Fixed an issue which prevented starting UPM when a package.json file containing "type": "module" was present on any of the ancestor directories. (UUM-18512)

  • Package Manager: Fixed the issue where local and git packages are not visible in Unity Registry and My Registries. (UUM-20549)

  • Prefabs: Fixed prefab mode not sorting renderer components accordingly. (UUM-3458)

  • Scene/Game View: Fixed Gizmo Icons not showing. (UUM-27823)

  • Scene/Game View: Fixed Grid Size field snapping to minimum grid size when trying to enter a value below one. (UUM-24640)

  • Serialization: Enabled SerializedObject.Update to now change the cache for hasMultipleDifferentValues if the first C# object has changed in memory in a multi-object selection scenario. (UUM-19688)

  • Shaders: Fixed multi_compile_particles to work together with built-in lighting variants. Requires shader re-import. (UUM-6037)

  • uGUI: Fixed "MissingReferenceException" when disabling and enabling "Send Navigation Events" through the EventSystem component Properties window. (UUM-27822)

  • uGUI: Fixed imprecision when rotating using the Rect tool. (UUM-3386)

  • UI Toolkit: Fixed PanelRaycaster NullReferenceException when active in a scene with no EventSystem or BaseInputModule components. (UUM-19168)

  • UI Toolkit: UI Builder: Exception is no longer thrown when the user tries to enter a negative value for the Fixed Item Height attribute of a ListView, TreeView, etc. (UUM-11324)

  • URP: Fixed XR vsync is disabled when focus is lost. (UUM-16846)

  • VFX Graph: Added missing DepthNormal pass for Unlit & Unify SSAO integration with Unlit for URP. (UUM-19559)

  • VFX Graph: Fixed an unsafe deletion of VFXParticleSystem which can lead to a crash while deleting VisualEffect. (UUM-9851)

  • VFX Graph: Fixed NRE when the Vector2 is configured as a range, it was preventing Decal output context creation. (UUM-27114)

  • Video: Fixed crashes when changing the source URL on some specific devices. (UUM-29011)

  • Video: Fixed error when adding file:// to point at a local file in the VideoPlayer on Android. (UUM-16166)

  • Video: Multi-display rendering is displaying the first camera's view on both displays instead of displaying both camera's views when used with a mobile device. (UUM-13587)

Package changes in 2021.3.21f1

Packages updated

Changeset:
1b156197d683

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