### Known Issues in 2021.2.4f1

*   2D: Reordering "Sorting Layers" list causes Sprites to reference different Layer names and ID ([1376779](https://issuetracker.unity3d.com/issues/2d-reordering-and-undoing-sorting-layer-list-causes-sprites-to-reference-different-layer-names-and-id))
    
*   AI: NavMesh Agent can not pass through passable area between carving NavMesh Obstacles ([1346325](https://issuetracker.unity3d.com/issues/navmesh-agent-can-not-pass-through-passable-area-between-carving-navmesh-obstacles))
    
*   Android: Sometimes text is not rendered when using OpengLES3 on a Xiaomi Redmi9A device. ([1347186](https://issuetracker.unity3d.com/issues/android-the-text-is-missing-on-a-xiaomi-redmi9a-device))
    
*   Android: \* Devices might wake up from sleep when in split screen mode.  
    
    *   Chrome OS devices that support tablet mode might not pause apps when they are no longer visible.  
        
    *   Some Android devices may experience delayed resolution updates after resizing a window.  
        
    *   Minimum window size might not be respected properly on all Android devices.
*   DirectX12: Objects are not lighted in Game view when using SEGI system with Graphics API for Windows set to Direct3D12 ([1375746](https://issuetracker.unity3d.com/issues/directx12-objects-are-not-lighted-in-game-view-when-using-segi-system-with-graphics-api-for-windows-set-to-direct3d12))
    
*   HD RP: HDRP Template fills the Console with "Shader error...couldn't open include file" messages after building the project ([1342989](https://issuetracker.unity3d.com/issues/hdrp-template-fills-the-console-with-shader-error-dot-dot-dot-couldnt-open-include-file-messages-after-building-the-project))
    
*   IMGUI: List Elements in the PropertyField disappear when the window is displayed on the second screen ([1371078](https://issuetracker.unity3d.com/issues/propertyfield-list-elements-disappear-when-the-window-is-displayed-on-the-second-screen))
    
*   Inspector Framework: MonoBehaviour script with an attached Icon disappears when Selecting the Game Object ([1379500](https://issuetracker.unity3d.com/issues/attaching-an-icon-to-a-monobehaviour-script-disappears-when-selecting-the-game-object))
    
*   Linux: Player settings and other options are locked after script compilation ([1380015](https://issuetracker.unity3d.com/issues/linux-player-settings-and-other-options-are-locked-after-script-compilation))
    
*   Linux: Linux Editor crashes at "RegisterRuntimeInitializeAndCleanup::ExecuteCleanup()" when quitting from "Enter Safe Mode" prompt ([1374087](https://issuetracker.unity3d.com/issues/linux-editor-crashes-at-registerruntimeinitializeandcleanup-executecleanup-when-quitting-from-enter-safe-mode-prompt))
    
*   Linux: Linux Editor crashes at "\_\_assert\_fail\_base.cold" when opening a project ([1375312](https://issuetracker.unity3d.com/issues/linux-editor-crashes-at-assert-fail-base-dot-cold-when-opening-a-project))
    
*   Linux: \[HDRP\] Editor crashes when opening HDRP Sample Project ([1381237](https://issuetracker.unity3d.com/issues/linux-hdrp-editor-crashes-when-opening-hdrp-sample-scene-template-project))
    
*   MacOS: Editor freezes when Vsync is enabled and Game View window is resized on macOS ([1375973](https://issuetracker.unity3d.com/issues/apple-silicon-editor-freezes-when-resizing-game-view))
    
*   MacOS: \[OSX\]\[Editor\] DirectoryNotFoundException errors appear when a project is created inside a directory with unicode characters ([1377915](https://issuetracker.unity3d.com/issues/multiple-directorynotfoundexception-errors-appear-when-a-project-is-created-inside-a-directory-with-unicode-characters))
    
*   Progressive Lightmapper: Crash while sculpting Terrain and Baking Lightmaps ([1266511](https://issuetracker.unity3d.com/issues/crash-while-sculpting-terrain))
    
*   Progressive Lightmapper: \[GPU PLM\] Crash after enabling Auto at the end of Bake - OpenCLRenderLightmapBuffers.HasBakingBuffers() ([1379762](https://issuetracker.unity3d.com/issues/gpu-plm-crash-in-nvopencl64-clgetplatforminfo-after-enabling-auto-generate-checkbox-at-the-end-of-gi-bake))
    
*   Progressive Lightmapper: \[GPU PLM\] Fallback to CPU PLM in CL\_INVALID\_MEM\_OBJECT after switching light color only and rebaking GI ([1356714](https://issuetracker.unity3d.com/issues/gpu-plm-switch-light-color-only-and-rebake-causes-fallback))
    
*   Scene Management: Instantiated FBX through code throws error after leaving Play Mode ([1363573](https://issuetracker.unity3d.com/issues/instantiated-fbx-through-code-throws-error-after-leaving-play-mode))
    
*   Scripting: Error CS8035 is thrown on opening a project when using rulesets ([1349517](https://issuetracker.unity3d.com/issues/error-cs8035))
    
*   Scripting: Only some assemblies fail to be loaded when assembly name does not match the file name ([1345099](https://issuetracker.unity3d.com/issues/only-some-assemblies-fail-to-be-loaded-when-assembly-name-does-not-match-the-file-name))
    
*   Serialization: \[SERIALISATION\] Going into play mode does not deserialize the object properly ([1383439](https://issuetracker.unity3d.com/issues/serialisation-going-into-play-mode-does-not-deserialize-the-object-properly))
    
*   ShaderGraph: \[General\]\[AssetDB\]\[URP\] Adding URP to the project causes reimports of many assets and goes into infinite import loops ([1374611](https://issuetracker.unity3d.com/issues/general-assetdb-urp-adding-urp-to-the-project-causes-reimports-of-many-assets-and-goes-into-infinite-import-loops))
    
*   Shadows/Lights: Memory access violation in LightProbesManager when appending LightProbes objects with overlaps twice ([1377416](https://issuetracker.unity3d.com/issues/crash-in-combinemeshfiltersforstaticbatching-after-switching-active-scenes-and-entering-play-mode))
    
*   Shadows/Lights: Scene is brighter in Standalone player if it was open in the Editor at build time ([1375015](https://issuetracker.unity3d.com/issues/scene-is-brighter-in-standalone-player-if-it-was-open-in-the-editor-at-build-time))
    
*   Shuriken: \[Particles\] Inspector breaks and errors are thrown when the Material field is deleted from the Particle System ([1379541](https://issuetracker.unity3d.com/issues/particles-inspector-breaks-and-errors-are-thrown-when-the-material-field-is-deleted-from-the-particle-system))
    
*   Vulkan: \[Editor\] The Scene's GameObjects textures are seemingly random and change colours depending on the Scene's Camera pos. ([1337772](https://issuetracker.unity3d.com/issues/vulkan-editor-the-scenes-gameobjects-textures-are-seemingly-random-and-change-colours-depending-on-the-scenes-camera-pos))
    
*   Window Management: Broken layout stops panels located in the top left corner of the Editor from rendering in the Karting Microgame project ([1367783](https://issuetracker.unity3d.com/issues/broken-layout-stops-panels-located-in-the-top-left-corner-of-the-editor-from-rendering-in-the-karting-microgame-project))
    
*   XR SDK: Severe flickering in Unity 2020.3.21f1 with OpenXR on HL2 ([1376203](https://issuetracker.unity3d.com/issues/severe-flickering-in-unity-2020-dot-3-21f1-with-openxr-on-hl2))
    
*   XR SDK: \[XR\]\[Linux\] Scene View doesn't render when opening new AR or VR Template project or pressing "Show Tutorials" ([1362435](https://issuetracker.unity3d.com/issues/xr-linux-scene-view-doesnt-render-when-opening-new-ar-or-vr-template-project-or-pressing-show-tutorials))
    

### 2021.2.4f1 Release Notes

#### Improvements

*   Editor: Improved performance of Picking objects in the Scene View.

#### API Changes

*   Core: Changed: Moved ProfilerStartFrame to Initialization section of scriptable player loop ([1363905](https://issuetracker.unity3d.com/issues/ios-profiler-missing-profiler-dot-endsample-waitfortargetfps-errors-are-thrown-when-profiling-ios-dev-build))
    
*   Graphics: Added: Added a field to the CullingParameters structure to allow for adjustment to the near clipping plane for shadow clipping - this is independent of the rendering camera near clipping plane.
    
*   Graphics: Removed: Removed uploadClearedTextureDataAfterCreationFromScript from PlayerSettings as it was not working as intended and will be superseded with a per-texture flag.
    
*   Windows: Added: UnityEngine.Windows.Input.ForwardRawInput now has a second overload that is usable without enabling unsafe code.
    
*   XR: Added: Support for late latched previous view matrix for URP motion vectors
    

#### Changes

*   XR: The Oculus XR Plugin package has been updated to 1.11.0.
    
*   XR: Updated XR Management to 4.2.0
    
*   XR: Updating Build Messaging with deprecation text for Lumin
    

#### Fixes

*   2D: Fixed an issue where removing an edge in the Skinning editor would result in the mesh falling back to a quad. (1365831)
    
*   2D: Fixed case where Bounds can cause spriteshape not load in when running Player. (1368107)
    
*   2D: Fixed crash when optimizing the geometry of the SpriteShape in certain cases. ([1364012](https://issuetracker.unity3d.com/issues/crash-when-optimizing-the-geometry-of-the-spriteshape))
    
*   2D: Fixed errors in the Sprite Skin section of documentation. (1366617)
    
*   2D: Quads are now generated at correct positions after removing all vertices from Sprite meshes. (1366633)
    
*   Android: Fixed performance regression when using MSAA backbuffer with Vulkan. ([1351579](https://issuetracker.unity3d.com/issues/android-vulkan-when-using-antialiasing-with-vulkan-the-fps-fluctuates-from-40-60))
    
*   Animation: Fixed grid in Animator window to always correctly cover the entire graph area. ([1337632](https://issuetracker.unity3d.com/issues/animator-window-grid-does-not-cover-the-entire-graph-area))
    
*   Asset Pipeline: Fixed a performance regression where projects with large numbers of precompiled assemblies might experience slower import times. (1372980)
    
*   Asset Pipeline: Fixed an issue where a project containing a symbolic link could crash on startup on Windows. ([1370389](https://issuetracker.unity3d.com/issues/crash-on-ondemandscheduler-setstandbyworkercount-when-opening-a-project-with-a-symbolic-link-in-it))
    
*   Build System: Fixed error "Cannot find mono image in MonoManager for assembly x" during assembly reload when calling `ContentBuildInterface:GetPlayerObjectIdentifiersInAsset`.
    
*   Editor: Fixed editor crashes when exiting and keeping a tutorial project. ([1338299](https://issuetracker.unity3d.com/issues/editor-crashes-when-exiting-and-keeping-a-new-micrograme-project))
    
*   Editor: Fixed frame debugger does not update issue after clicking frame navigation arrows. ([1329150](https://issuetracker.unity3d.com/issues/frame-debugger-frame-event-data-doesnt-update-after-clicking-on-frame-navigation-arrows-and-not-moving-the-mouse))
    
*   Editor: Fixed reflection probe baking sometimes containing the cyan loading shader. ([1368213](https://issuetracker.unity3d.com/issues/loading-shader-is-picked-when-allowasynccompilation-equals-false-and-async-compilation-is-ongoing))
    
*   Editor: Fixed Unity Package Manager diagnostic tool failing to run when started via the launch script.
    
*   GI: Fixed bug where lighting information on renderers would occasionally be scrambled or lost when saving a scene. ([1359018](https://issuetracker.unity3d.com/issues/baked-lightmap-breaks-on-unityjapanoffice-asset-when-the-scene-in-saved-and-opened-again))
    
*   GI: Fixed crash when baking 4K lightmap with maximum AA setting. ([1318800](https://issuetracker.unity3d.com/issues/openrl-error-is-thrown-slash-editor-crashes-when-generating-lighting-with-4096-max-lightmap-size))
    
*   Graphics: \[Vulkan\] Profiler shows that the Texture memory usage is lower when Vulkan is used on some devices. ([1354202](https://issuetracker.unity3d.com/issues/profiler-texture-memory-displays-0-dot-00-kb-when-the-texture-is-not-readable-and-when-profiling-some-devices))
    
*   Graphics: \[Vulkan\] Texture Memory in Memory Profiler Module is not updated when profiling a Vulkan build. ([1351803](https://issuetracker.unity3d.com/issues/memory-profiler-profiler-shows-that-the-texture-memory-usage-is-lower-when-vulkan-is-used-on-some-devices))
    
*   Input System: Fixed incorrect Windows input event timestamps.
    
*   iOS: Enabled ProMotion on ios15 and new devices (iphone13 family). ([1374612](https://issuetracker.unity3d.com/issues/enable-promotion-support-does-not-allow-iphone-13-pro-slash-pro-max-to-run-at-higher-refresh-rates))
    
*   iOS: Fixed value of Screen.safeArea retrieved during initialization of packages. ([1288515](https://issuetracker.unity3d.com/issues/ios-wrong-screen-dot-safearea-values-are-retrieved-when-the-xrloader-is-initialized-and-device-with-a-notch-is-used))
    
*   N/A (internal): Fixed Unity splash screen for some devices on EmbeddedLinux.
    
*   Networking: UnityWebRequest now supports gzip compression on Windows. ([1343274](https://issuetracker.unity3d.com/issues/unitywebrequest-fails-on-windows-if-gzip-compression-is-used))
    
*   Package: Fixed property drawing of Unity.Mathematics vector types when manually drawing a property that was hidden with \[HideInInspector\]. ([1298368](https://issuetracker.unity3d.com/issues/int3-float3-and-quaternions-fields-from-the-mathematics-package-dont-work-properly-when-using-debuggerhidden-attribute))
    
*   Package Manager: Fixed the issue where delayCall delegate's Invocation List size doubles when the Package Manager is docked and the delayCall is Invoked. ([1336406](https://issuetracker.unity3d.com/issues/delaycall-delegates-invocation-list-size-doubles-when-the-package-manager-is-docked-and-the-delaycall-is-invoked))
    
*   Package Manager: Fixed the issue where OAuth errors are not logged in the console. (1376308)
    
*   Package Manager: Removed extra fetch calls after Package Manager resolve. Should fix some Package Manager unit test instabilities. (1379219)
    
*   Particles: Fixed right-click context menu for Renderer module Inspector. ([1372195](https://issuetracker.unity3d.com/issues/context-menu-does-not-pop-up-when-right-clicking-particle-system-renderer-module))
    
*   Prefabs: Fixed crash with broken scenes where Transform has a PrefabInstance, but the containing GameObject doesn't have one  
    Fixed instability caused by non deterministic order of stripped components. (1325967)
    
*   Profiler: Fixed "Missing Profiler.EndSample: WaitForTargetFPS" errors in development builds. ([1363905](https://issuetracker.unity3d.com/issues/ios-profiler-missing-profiler-dot-endsample-waitfortargetfps-errors-are-thrown-when-profiling-ios-dev-build))
    
*   Profiler: Fixed incorrect frame boundary location when profiling standalone builds. ([1332845](https://issuetracker.unity3d.com/issues/profiler-frame-boundary-in-standalone-builds-occurs-at-unexpected-point))
    
*   Project Browser: Project Browser slider is correctly restored when clearing the search field after selecting a favorite filter. ([1348825](https://issuetracker.unity3d.com/issues/project-browser-slider-doesnt-get-reset-after-selecting-any-item-in-favorites-hierarchy-and-clearing-the-search-bar))
    
*   Scene/Game View: Fixed new Scene View tabs not copying overlays layout of previous Scene View. ([1336748](https://issuetracker.unity3d.com/issues/draggable-scene-tool-overlays-will-not-retain-their-layout-when-adding-a-new-scene-view))
    
*   Serialization: In addition to SerializeReference, class referred by value will also be considered and added to the list of classes not to be stripped when performing a Player Build / Asset Bundle Build / Addressable Build. ([1296195](https://issuetracker.unity3d.com/issues/onafterdeserialize-is-not-called-for-a-class-with-no-empty-constructor-in-a-package-when-project-is-built-using-il2cpp))
    
*   UI Toolkit: Fixed issue where stylesheets added to a UIBuilder document were not cleared after created a new document. ([1363722](https://issuetracker.unity3d.com/issues/ui-builder-applies-previously-loaded-uss-to-a-new-uxml))
    
*   WebGL: Added workarounds for various Safari Web Audio bugs playing back compressed and looping audio clips. Fixed a regression in Unity audio backend that could cause an incorrect audio volume to be set for < 1 second duration at audio playback start time. ([1350204](https://issuetracker.unity3d.com/issues/webgl-macos-looping-audio-gets-distorted-and-echoes-when-played-over-time-on-safari))