Release notes

Known Issues in 2021.3.7f1

  • AI Navigation Core: NavMesh::Raycast freezes the whole editor in an infinite loop on Application.UpdateScene (UUM-2496)

  • Inspector Framework: List element overlaps everything when using Serializable struct/class (UUM-7683)

  • Linux: [Backport] [Linux] Editor crashes at "GfxDeviceGLES::DrawBuffersBatchMode" when entering Play Mode in the LEGO tutorial (UUM-971)

  • MacOS: [Mac] Editor performance drops on macOS when clicking and dragging on Position, Rotation and Scale values in Transform component (UUM-7457)

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

  • Scene Management: Scene causes Editor crash when specific Lighting Data Asset is used (UUM-9319)

  • Shader System: Editor crashes when building if calling "ShaderKeyword" methods in "IPreprocessShaders" classes (UUM-2536)

  • uGUI: Broken mouse pointer input coordinates in GraphicRaycaster for certain window sizes in Build when run in windowed mode (UUM-7893)

  • uGUI: UI becomes not interactable after deactivating and reactivating Canvas (UUM-9258)

  • uGUI: UI Elements are no longer rendered when deactivating and reactivating the Parent GameObject (UUM-9248)

  • Universal RP: Lights appear significantly brighter when using the Simple Lit shader (UUM-7851)

2021.3.7f1 Release Notes

Features

  • Editor: Added timestamps argument to include timestamps and thread ID prefix to logs.

  • Editor: Adds the ability to block shortcuts from triggering during playmode while the game view window is focused.

  • Player: Added timestamps argument to include timestamps and thread ID prefix to logs.

Improvements

  • Editor: Added a confirmation dialog when switching serialization modes

  • HDRP: Further improve the consistency of non-physical depth of field at varying native rendering resolutions and resolution scales.

Changes

  • Android: Accept build-tools version 30.0.x instead of strictly 30.0.2

  • IAP: # Changelog
    ## [4.2.1] - 2022-06-14
    ### Fixed

    • Downgrade com.unity.services.core from 1.4.1 to 1.3.1 due to a new bug found in 1.4.1
  • Package: Update auth package to 2.1.1

  • Package: Update core package to 1.4.1

Fixes

  • 2D: Fixed case where Shape of PolygonCollider2D doesn't update when Sprite Shape contains vertex at [0,0]. (1401376)

  • 2D: Fixed case where SpriteShape throws ArgumentException error when checking position validity of a point added to Spline. (1387298)

  • 2D: Fixed case where Tangent Data is always saved even when not in use for SpriteShapeRenderer when GeometryCache is active. (1394404)

  • 2D: Fixed duplicate instantiated GameObjects from Tiles on Tilemap Prefabs when instantiating the Tilemap Prefabs. (UUM-1671)

  • Android: Blind fix for an issue where executing Android SDK tool command would fail with missing java error. For ex., "Unable to locate a Java Runtime". Even though everything is set correctly in Preferences->External Tools->JDK. Also during the failure, Unity will now print environment variables thus helping identifying such issues in the future. (UUM-2106)

  • Android: Bring back the ability to initialize UnityPlayer with Context class, this allows Unity to initialize itself from WallpaperService. (1413649)

  • Android: Fixed high memory usage when uploading 2D array textures using Vulkan on Adreno devices. (1418261)

  • Android: Fixed overhead of memory allocations in the Vulkan backend for allocation sizes between 128kB and 1024kB. (UUM-5966)

  • Android: Fixed regression where TouchScreenKeyboard.Open() was not opening. (UUM-2112)

  • Android: Fixed Screen.safeArea returning wrong height when building Native app with Unity as a Library. (UUM-515)

  • Asset Pipeline: Fixed an issue where generating previews of some prefabs could raise an 'unknown importer' error in the console. (UUM-2908)

  • DX12: Fixed for crash when an upload subupdates buffer was assigned to a compute shader as a UAV. (UUM-5770)

  • Editor: Fixed crash when moving non-empty folder to a target containing another folder with the same name in the Project Browser. (UUM-5197)

  • Editor: Fixed occasional crash when loading TIFFs with bad thumbnail tags. (UUM-3783)

  • Editor: Replaced the scene asset icon with new Unity logo. (1385124)

  • Game Core: Fixed crash on pre-processor only compilation of compute shaders. (UUM-908)

  • GI: Fixed Light Probes losing their lighting data after entering Play mode when Baked and Realtime GI are enabled. (UUM-3968)

  • GI: Fixed SetLightingDataAsset with multiscenes (caused the lightmaps to disappear for other scenes). (UUM-916)

  • GI: [GPU PLM] OpenCL shader loading time in new projects has become significantly slower. Fixed regression by speeding up OpenCL shader loading stage by caching binaries in the GICache. (UUM-1350)

  • Graphics: Fixed some dropdown menus in the Mac Editor that would previously jitter or jerk out with artifacts when opened. (UUM-5546)

  • Graphics: SkinnedMeshRenderer and MeshRenderer are now in the same SRP Batch during shadow pass. (UUM-4336)

  • Graphics: Switching vsync mode while in a Metal player could sometimes cause a freeze due to the vsync status not syncing correctly before waiting on the frame present - this has been fixed. (UUM-5547)

  • HDRP: Add a blendable perceptual blending parameter on volumetric clouds to get rid of over exposure artifacts. (1407686)

  • HDRP: Adding mechanism in HDRP to strip FragInputs, which will allow us to strip some interpolators in the pixel shader For shader graphs. (1399841)

  • HDRP: Facilitated reactivation of Ray Tracing Light Cluster in Path Tracing. (1404944)

  • HDRP: Fixed a performance issue with Single Shadow debug mode. (1400281)

  • HDRP: Fixed a render error when disabling both motion vectors and opaques. (1410622)

  • HDRP: Fixed a render graph error when opening a project with default lighting enabled and clouds in the scene. (UUM-3339)

  • HDRP: Fixed a render graph error when using Output AOV in non-dev builds. (1421560)

  • HDRP: Fixed accumulation when shutter interval is zero. (1399841)

  • HDRP: Fixed an issue with decals not scaling with a parent transform. (1401887)

  • HDRP: Fixed artifacts on the edges of the screen when enabling volumetric clouds. (1400011)

  • HDRP: Fixed blend mode label field. (1410907)

  • HDRP: Fixed Cloud Layer rendering on nvidia gpus. (1401162)

  • HDRP: Fixed custom post-processes not released correctly when switching HDRP assets. (1419924)

  • HDRP: Fixed errors in HDR comparison doc. (1410049)

  • HDRP: Fixed errors when switching to SMAA. (1401225)

  • HDRP: Fixed for Texture2D and Texture3D parameters not accepting 'None' as value. (1406928)

  • HDRP: Fixed game view goes greenish and then black in editor with DX12/Vulkan (1415948)

  • HDRP: Fixed the documentation for recursive rendering not being clear enough for the smoothness' behavior. (1409004)

  • HDRP: Fixed the SSR not properly working on deferred with tiles with multiple variants. (1399311)

  • HDRP: Fixed Volumetric Clouds texture input fields. (1408252)

  • HDRP: Fixrd a NaN resulting from path traced hair materials with certain base color inputs. (1411249)

  • HDRP: Improved the default state of newly created Planar Reflection Probes. (1420128)

  • HDRP: Made sure that camera jittering is disabled in Path Tracing. (1399440)

  • HDRP: updated accumulation API scripts to solve issue with screen shot capture in certain Unity Editor workflows. (1415399)

  • IL2CPP: Avoid incorrect behavior of the Array::Set method when the faster (smaller) builds IL2CPP code generation option is used. (1411185)

  • IL2CPP: Avoided a stack overflow during code conversion when an attribute constructor uses the attribute itself. (UUM-3907)

  • IL2CPP: Copy .h source plugin files into the Gradle project generated for Android builds. (UUM-3641)

  • IL2CPP: Fixed "Cannot add a generic parameter reference without an instance" error when converting a method with a generic function pointer. (1427170)

  • IL2CPP: Fixed issue where a try block inside of a loop nested in a try/finally block could cause the finally handler to run multiple times. (1402180)

  • IL2CPP: Fixed issue where assemblies with an instance method and a static method with the same name, parameters, and return type would cause the build to fail. (1411168)

  • IL2CPP: Fixed issue where Assembly.GetType() on a type without a namespace could match a nested type with the same name and issue where Assembly.GetType() did not respect the ignoreCase flag for nested types. (1422119)

  • IL2CPP: Fixed performance issues in metadata access with thread contention. (UUM-609)

  • IL2CPP: Fixed performance regression in regular expressions. (UUM-590)

  • IL2CPP: Fixed possible runtime crash when a generic type is used as a base class generic parameter. (UUM-1129)

  • IL2CPP: Throw a managed exception when CreateDelegate is called with a delegate type that was not generated ahead of time. (UUM-817)

  • Mono: Correct issue where FileSystemEventArgs.FullPath did not return a fully qualified path. (UUM-1822)

  • Mono: Fixed "The BinaryReader read data to a Span is always zero." (UUM-866)

  • Mono: Fixed issue where FileSystemEventArgs.FullPath would have an incorrect path if FileWatcher event was on a file in a subdirectory. (1397564)

  • Mono: Fixed System.Windows.Forms.SendKeys.Send on Windows.

  • Package Manager: Fixed an issue where some PackageInfo properties would not be populated correctly if the package came from a GitHub registry. (1354652)

  • Particles: When using the Built-in Rendering Pipeline, prevent the Standard Unlit Particle shader from performing unnecessary lighting calculations on the CPU. (UUM-827)

  • Scripting: Fixed case when double-clicking message wouldn't open the correct file and line. (UUM-897)

  • UI Toolkit: Fixed a bug where ListView and TreeView using SelectionType.None would still be selectable with double click and navigation keys. (UUM-5438)

  • UI Toolkit: Fixed an issue where the expanded state of the ListView would not be serialized across selections. (UUM-1461)

  • UI Toolkit: Fixed disabled UIDocument still being rendered on editor start. (UUM-793)

  • UI Toolkit: Fixed VisualElements change scaling when mouse moves over a different window on a higher DPI display. (UUM-7260)

  • URP: URP 2D - Fixes vertex color for sprite shapes. (UUM-1921)

  • Version Control: Fixed missing references in synced prefabs.

  • VFX Graph: Position ArcSphere failing with BlendDirection. (UUM-1295)

  • VFX Graph: Unexcepted double blend direction slot on Position Mesh block. (UUM-5082)

  • VFX Graph: Unexpected lossy scale evaluation on GPU. (UUM-539)

  • XR: Fixed Screen Space Shadows in Single Pass Instancing.

Package changes in 2021.3.7f1

Packages updated

Packages added

Changeset: 24e8595d6d43