### Known Issues in 2021.3.4f1

*   Android: Editor is unable to find JAVA when building an application ([UUM-2106](https://issuetracker.unity3d.com/issues/editor-is-unable-to-find-java-when-building-an-application))
    
*   Asset - Database: Texture size increased on first build when 'Compress Textures/Assets on Import' is enabled ([1397965](https://issuetracker.unity3d.com/issues/texture-size-increased-on-first-build-when-compress-textures-slash-assets-on-import-is-enabled))
    
*   Asset Bundles: Textures are not compressed when building bundles ([1412557](https://issuetracker.unity3d.com/issues/textures-not-compressed-when-building-bundles))
    
*   Graphics Device Features: Random-write to UAV texture from shadowcaster shader causes GPU hang when filtering Scene Hierarchy objects ([1417589](https://issuetracker.unity3d.com/issues/random-write-to-uav-texture-from-shadowcaster-shader-causes-gpu-hang-when-filtering-scene-hierarchy-objects))
    
*   HD RP: \[HDRP\]\[DXR\] Temporal denoising is broken up to 2021.3 in punctuals raytraced shadows ([UUM-2140](https://issuetracker.unity3d.com/issues/hdrp-dxr-temporal-denoising-is-broken-up-to-2021-dot-3-in-punctuals-raytraced-shadows))
    
*   IL2CPP: \[Android\] Build fails when building an exported project with Script Debugging enabled ([1373278](https://issuetracker.unity3d.com/issues/il2cpp-android-build-fails-when-building-an-exported-project-on-android-studio-with-script-debugging-enabled))
    
*   IMGUI: Impossible to change the Gradient's location value in the Visual Effects Graph when using the keyboard ([1420954](https://issuetracker.unity3d.com/issues/impossible-to-change-the-gradients-location-value-in-the-visual-effects-graph-when-using-the-keyboard))
    
*   Inspector Framework: First array element expansion is broken for arrays that use Custom Property Drawers ([1409773](https://issuetracker.unity3d.com/issues/first-array-element-expansion-is-broken-for-arrays-that-use-custom-property-drawers))
    
*   Kernel: Unity crashes on StackWalker::GetCurrentCallstack when rest-certificate.pem is corrupted ([1423569](https://issuetracker.unity3d.com/issues/unity-crashes-on-stackwalker-getcurrentcallstack-when-rest-certificate-dot-pem-is-corrupted))
    
*   Metal: Consistent EditorLoop 5-10ms spikes when using Metal API ([1378985](https://issuetracker.unity3d.com/issues/consistent-gfx-dot-waitforpresentongfxthread-5-10ms-spikes-when-using-metal-api))
    
*   Mono: Crash with ScanAssemblyForAttributesAndInterfaceImplementations when opening a project ([1376858](https://issuetracker.unity3d.com/issues/crash-with-scanassemblyforattributesandinterfaceimplementations-when-opening-a-project))
    
*   Mono: Editor crashes intermittently on mono\_object\_isinst when closing it in batch mode or when building ([1418292](https://issuetracker.unity3d.com/issues/editor-crashes-intermittently-on-mono-object-isinst-when-closing-it-in-batch-mode-or-when-building))
    
*   Package: Empty "StreamingAssets" folder gets created after building an empty project ([1423325](https://issuetracker.unity3d.com/issues/empty-streamingassets-folder-gets-created-after-building-an-empty-project))
    
*   Physics: Crash on internalABP::ABP\_PairManager::addPair when switching to ArticulationJointType.SphericalJoint during runtime ([1418715](https://issuetracker.unity3d.com/issues/crash-on-internalabp-abp-pairmanager-addpair-when-switching-to-articulationjointtype-dot-sphericaljoint-during-runtime))
    
*   Quality of Life: \[Mac\] ShortcutManager ignores Shift modifier ([1424655](https://issuetracker.unity3d.com/issues/mac-shortcutmanager-ignores-shift-control-and-option-modifiers))
    
*   Shader System: Editor crashes in Play mode when Groupshared memory and a constant buffer value is used in a compute shader on OpenGLES3 ([1413012](https://issuetracker.unity3d.com/issues/editor-crashes-in-play-mode-when-groupshared-memory-and-a-constant-buffer-value-is-used-in-a-compute-shader-on-opengles3))
    

### 2021.3.4f1 Release Notes

#### Features

*   Graphics: Added gaze foveated rendering (GFR) on Vulkan.

#### Improvements

*   Android: Added the AssetBundle extension to the list of exceptions for gradle compression of StreamingAssets. ([1405245](https://issuetracker.unity3d.com/issues/addressables-bundles-get-compressed-in-android-builds))
    
*   Documentation: Added code snippet for Physics.ContactModifyEvent.
    
*   Services: Opting out of analytics within the editor is now available to all customers and will sync the settings with the Unity backend.
    

#### Fixes

*   2D: Fixed case where Lighting is incorrect when Sprite Atlas uses secondary Texture Normal Maps in Linear Color Space. ([1378322](https://issuetracker.unity3d.com/issues/lighting-is-incorrect-when-sprite-atlas-uses-secondary-texture-normal-maps-in-linear-color-space))
    
*   2D: Fixed Tile Palette window incorrectly preventing selection in Scene View when Tilemap Tools are inactive. ([1365564](https://issuetracker.unity3d.com/issues/gameobjects-in-the-scene-are-not-selectable-when-using-w-after-painting-with-tile-pallete))
    
*   Android: Fixed an issue to allow 2 segment package names. ([1425979](https://issuetracker.unity3d.com/issues/android-the-build-fails-when-identification-package-name-has-two-segments-one-dot))
    
*   Android: Fixed app-freezing when an application changes into multi-window(split-screen) on Chrome OS tablet mode. (1361131)
    
*   Android: Fixed Screen.resolutions to return all supported refresh rates, not only 60Hz. (1426366)
    
*   Animation: Fixed an issue where the parameter preview of the animator did not work anymore. ([1388833](https://issuetracker.unity3d.com/issues/animator-blendtree-parameters-slider-value-is-stuck-at-0-when-trying-to-move-the-slider))
    
*   Editor: Sped up drag & drop in the Project view on large projects. ([1314065](https://issuetracker.unity3d.com/issues/dragging-and-dropping-asset-in-the-inspector-is-taking-upwards-of-3-seconds-everytime))
    
*   GI: Strip shader variants with DIRLIGHTMAP\_COMBINED keyword enabled when both LIGHTMAP\_ON and DYNAMICLIGHTMAP\_ON are disabled when building the player. Directional lightmap logic is always enclosed in the more general baked or dynamic lightmap blocks. ([1307896](https://issuetracker.unity3d.com/issues/graphics-variants-which-have-dirlightmap-combined-are-not-removed-when-stripping-shader-variant-code))
    
*   Graphics: Fixed a crash when calling Graphics.RenderMesh for a Mesh that was destroyed. ([1404273](https://issuetracker.unity3d.com/issues/crash-when-calling-graphics-dot-rendermesh-for-a-mesh-that-was-destroyed))
    
*   Graphics: Fixed flickering of particle system when using Vulkan. (1417289)
    
*   IL2CPP: Fixed a crash during liveness processing when asynchronous delegate invocation is used. ([1417730](https://issuetracker.unity3d.com/issues/crash-when-running-garbagecollectsharedassets))
    
*   IL2CPP: Fixed an issue where calls to GetHashCode on value types with no instance fields would not return a stable value. ([1411455](https://issuetracker.unity3d.com/issues/il2cpp-calling-gethashcode-on-instances-of-empty-structs-does-not-return-the-same-value-in-il2cpp-builds))
    
*   IL2CPP: Fixed builds failures when doing .NET Framework API builds and referencing types in System.Drawing. ([1413051](https://issuetracker.unity3d.com/issues/il2cpp-build-fails-when-using-net-framework-api-compatibility))
    
*   IL2CPP: Fixed code generation for Enum.HasFlag when its second argument is a System.Enum type. ([1420369](https://issuetracker.unity3d.com/issues/mobile-il2cpp-build-fails-when-using-custom-script-and-target-architecture-arm64-is-selected))
    
*   IL2CPP: Fixed function pointer bugs with integer casting and signature comparisons. ([1391567](https://issuetracker.unity3d.com/issues/urp-il2cpp-build-fails-with-buildfailedexception-and-bee-library-errors-when-building-with-il2cpp-scripting-backend-enabled))
    
*   IL2CPP: Fixed invalid C++ code for unmanged function pointer call in shared generic code. (1417082)
    
*   IMGUI: Removed hard-coded color space of the gradient picker. (1383095)
    
*   Input: Fixed keyboard not working on iOS 15. ([1376970](https://issuetracker.unity3d.com/issues/keyboard-input-is-not-working-when-using-an-external-keyboard-in-ios-15))
    
*   Kernel: Fixed VirtualFileSystem tests failing in the case of short paths being returned. (1402346)
    
*   Linux: Fixed a crash at the launch on systems that does not support Vulkan and OpenGL3.2. (1372651)
    
*   Linux: Fixed input system package drop down is a blank square issue. ([1391850](https://issuetracker.unity3d.com/issues/new-input-systems-input-actions-windowss-binding-path-dropdown-is-rendered-as-an-empty-white-square-on-linux))
    
*   macOS: Enabled the Build and Run button for Apple Silicon builds in the Silicon Editor. ([1415688](https://issuetracker.unity3d.com/issues/m1-build-and-run-button-being-disabled-when-the-target-architecture-apple-silicon-is-selected-in-the-silicon-editor))
    
*   Mono: Fixed a bug where the SmtpClient would ignore the ServicePointManager's SecurityProtocol level. ([1389326](https://issuetracker.unity3d.com/issues/system-dot-net-dot-mail-dot-smtpexception-421-4-dot-7-66-tls-1-dot-0-and-1-dot-1-are-not-supported-error-is-throw-when-sending-an-email-with-smtpclient))
    
*   Mono: Fixed a crash when de-serializing managed objects that have changed field types. ([1378713](https://issuetracker.unity3d.com/issues/m1-crash-with-star-assertion-at-handle-dot-c-446-condition-m-class-is-valuetype-klass-not-met-when-deserializing-data))
    
*   Mono: Fixed a rare incremental GC crash on Windows. ([1411601](https://issuetracker.unity3d.com/issues/incremental-gc-pushes-invalid-stack-range-on-windows))
    
*   Mono: Fixed an incorrect exception being thrown via Process.Start when windows path contains '. ([1387637](https://issuetracker.unity3d.com/issues/errors-in-the-console-when-project-name-contains-apostrophe))
    
*   Mono: Fixed an issue where callstacks would not be reported on OSX. ([1411374](https://issuetracker.unity3d.com/issues/mac-stack-trace-is-not-available-after-a-crash-in-the-editor-log))
    
*   Mono: Fixed default interface method crash when using mismatched generic arguments. ([1394314](https://issuetracker.unity3d.com/issues/crash-on-assertion-condition-is-ok-error-not-met-when-entering-the-play-mode))
    
*   Mono: Fixed PlatformNotSupportedException when calling System.Security.Cryptography.ProtectedData.Protect. ([1397970](https://issuetracker.unity3d.com/issues/platformnotsupportedexception-is-thrown-when-using-system-dot-security))
    
*   Mono: Implemented ProcessStartInfo.ArgumentList which was introduced in .Net Standard 2.1. (1396842)
    
*   Mono: Improved error handling to throw a MarshalDirectiveException when marshaling generic instances as return types from pinvoke callbacks. ([1390445](https://issuetracker.unity3d.com/issues/unity-crashes-when-calling-marshal-dot-getfunctionpointerfordelegate-on-a-delegate-with-a-nullable-return-value))
    
*   Mono: Removed handling SIGINT when Mono is embedded in Unity and the Player. ([1376434](https://issuetracker.unity3d.com/issues/server-build-doesnt-respond-to-ctrl-plus-c-after-setting-console-dot-foregroundcolor))
    
*   Physics 2D: Fixed an issue in the CustomCollider2D where a shapes bounds were not updating when replacing existing shapes with different vertices only. This resulted in an incorrect collision detection for that shape. ([1425289](https://issuetracker.unity3d.com/issues/customcollidier2d-does-not-update-properly-after-call-to-setcustomshape-s))
    
*   Scene/Game View: Fixed possible argument exception when using Scene Visibility API. ([1288443](https://issuetracker.unity3d.com/issues/argumentexception-the-scene-is-not-loaded-when-test-runs-and-the-editor-does-not-have-focus))
    
*   Scripting: Fixed a case where the type of generic fields inside generic classes would fail to get resolved when building the project. (1415422)
    
*   Scripting: Fixed filtering of assemblies by platform constraints not working and by defines. ([1373388](https://issuetracker.unity3d.com/issues/found-plugins-with-same-names-error-is-thrown-for-the-microsoft-extensions-logging-package-when-building-on-android-platform))
    
*   Serialization: Fixed a crash when deserializing a Prefab instance containing a resize on an array containing a nested type with a Fixed Buffer. ([1400774](https://issuetracker.unity3d.com/issues/editor-crash-when-deserializing-an-array-of-a-type-with-a-nested-fixed-size-buffer-field))
    
*   Shaders: Fixed a crash when warming up a shader variant collection that had a shader with UsePass. ([1407692](https://issuetracker.unity3d.com/issues/crash-on-shaderlab-program-getmatchingsubprogram-after-entering-play-mode))
    
*   Shaders: Fixed include dependencies being reported incorrectly when guarded by defines that depend on keywords. ([1401580](https://issuetracker.unity3d.com/issues/editing-shader-includes-does-not-guarantee-shaders-being-updated-when-changes-are-made-in-script))
    
*   Shaders: Fixed redundant shader variant recompilation after Editor relaunch. ([1425799](https://issuetracker.unity3d.com/issues/some-shaders-are-recompiled-when-building-the-player-after-each-editor-launch))
    
*   Shaders: Fixed ShaderKeywordSet.Disable not disabling keywords. ([1417644](https://issuetracker.unity3d.com/issues/shader-keyword-is-not-disabled-when-calling-shaderkeywordset-dot-disable))
    
*   uGUI: Fixed RectMask2D using the wrong Canvas for calculations after it was reparented. ([1395695](https://issuetracker.unity3d.com/issues/rectmask2d-hides-all-content-when-parented-from-other-display-to-first-dislpay-in-the-game-view-window))
    
*   UI Toolkit: Fixed the preview texture of linear gradients in gamma projects. ([1369425](https://issuetracker.unity3d.com/issues/shadergraph-getting-a-smaller-gradient-than-generated-code-example-when-using-default-gradient-node))
    
*   Universal: Fixed an issue that preview cameras no longer spam errors on the first frame of rendering. ([1393818](https://issuetracker.unity3d.com/issues/urp-errors-are-spammed-after-entering-play-mode-in-sunflare-scene-and-navigating-the-project-view))
    
*   URP: Fixed an issue of Renderer2D using the incorrect render path when lights are out of the scene view. ([1400566](https://issuetracker.unity3d.com/issues/2d-urp-gameobjects-become-unlit-when-moving-2d-light-out-of-the-scene-view))
    
*   URP: Fixed errors when using Native RenderPass and Render Objects feature after Post Processing.
    
*   URP: Fixed smooth material lighting banding issues on mobile platforms. ([1375791](https://issuetracker.unity3d.com/issues/mobile-urp-banding-like-artifacts-are-visible-when-smooth-material-is-lit-by-light))
    
*   VFX Graph: Fixed an issue that in `Output Particle` blocks, shader graph exposed properties order is now consistent with shader graph blackboard. (1398256)
    
*   Video: Fixed an issue that Video's Alpha not transparent when built with WebGL. ([1397499](https://issuetracker.unity3d.com/issues/videos-alpha-not-transparent-when-built-with-webgl))
    
*   WebGL: Fixed WebGL build in the Linux editor to include default resources. ([1411380](https://issuetracker.unity3d.com/issues/linux-webgl-build-crashes-every-time-when-using-unity-editor-on-linux))
    
*   XR: Fixed Unity VR Splash screen not showing up on UWP.
    

#### Package changes in 2021.3.4f1

#### Packages updated

*   com.unity.collab-proxy: [1.15.16](https://docs.unity3d.com/Packages/com.unity.collab-proxy@1.15//changelog/CHANGELOG.html) → [1.15.17](https://docs.unity3d.com/Packages/com.unity.collab-proxy@1.15//changelog/CHANGELOG.html)
    
*   com.unity.localization: [1.0.3](https://docs.unity3d.com/Packages/com.unity.localization@1.0//changelog/CHANGELOG.html) → [1.3.1](https://docs.unity3d.com/Packages/com.unity.localization@1.3//changelog/CHANGELOG.html)
    
*   com.unity.render-pipelines.core: [12.1.6](https://docs.unity3d.com/Packages/com.unity.render-pipelines.core@12.1//changelog/CHANGELOG.html) → [12.1.7](https://docs.unity3d.com/Packages/com.unity.render-pipelines.core@12.1//changelog/CHANGELOG.html)
    
*   com.unity.render-pipelines.high-definition: [12.1.6](https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@12.1//changelog/CHANGELOG.html) → [12.1.7](https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@12.1//changelog/CHANGELOG.html)
    
*   com.unity.render-pipelines.high-definition-config: [12.1.6](https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition-config@12.1//changelog/CHANGELOG.html) → [12.1.7](https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition-config@12.1//changelog/CHANGELOG.html)
    
*   com.unity.render-pipelines.universal: [12.1.6](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@12.1//changelog/CHANGELOG.html) → [12.1.7](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@12.1//changelog/CHANGELOG.html)
    
*   com.unity.scriptablebuildpipeline: [1.19.6](https://docs.unity3d.com/Packages/com.unity.scriptablebuildpipeline@1.19//changelog/CHANGELOG.html) → [1.20.1](https://docs.unity3d.com/Packages/com.unity.scriptablebuildpipeline@1.20//changelog/CHANGELOG.html)
    
*   com.unity.services.core: [1.3.1](https://docs.unity3d.com/Packages/com.unity.services.core@1.3//changelog/CHANGELOG.html) → [1.4.0](https://docs.unity3d.com/Packages/com.unity.services.core@1.4//changelog/CHANGELOG.html)
    
*   com.unity.shadergraph: [12.1.6](https://docs.unity3d.com/Packages/com.unity.shadergraph@12.1//changelog/CHANGELOG.html) → [12.1.7](https://docs.unity3d.com/Packages/com.unity.shadergraph@12.1//changelog/CHANGELOG.html)
    
*   com.unity.visualeffectgraph: [12.1.6](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@12.1//changelog/CHANGELOG.html) → [12.1.7](https://docs.unity3d.com/Packages/com.unity.visualeffectgraph@12.1//changelog/CHANGELOG.html)
    
*   com.unity.visualscripting: [1.7.6](https://docs.unity3d.com/Packages/com.unity.visualscripting@1.7//changelog/CHANGELOG.html) → [1.7.8](https://docs.unity3d.com/Packages/com.unity.visualscripting@1.7//changelog/CHANGELOG.html)
    
*   com.unity.xr.openxr: [1.4.1](https://docs.unity3d.com/Packages/com.unity.xr.openxr@1.4//changelog/CHANGELOG.html) → [1.4.2](https://docs.unity3d.com/Packages/com.unity.xr.openxr@1.4//changelog/CHANGELOG.html)
    

**Packages added**

*   [com.unity.services.authentication@2.0.0](https://docs.unity3d.com/Packages/com.unity.services.authentication@2.0//changelog/CHANGELOG.html)

**Pre-release packages added**

*   [com.unity.netcode.gameobjects@1.0.0-pre.9](https://docs.unity3d.com/Packages/com.unity.netcode.gameobjects@1.0//changelog/CHANGELOG.html)
    
*   [com.unity.multiplayer.tools@1.0.0-pre.7](https://docs.unity3d.com/Packages/com.unity.multiplayer.tools@1.0//changelog/CHANGELOG.html)