### Known Issues in 2021.2.17f1

*   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: Asset Bundle size incrementally increases when updating the Unity Editor and rebuilding the Asset Bundle ([1391542](https://issuetracker.unity3d.com/issues/asset-bundle-size-incrementally-increases-when-updating-the-unity-editor-and-rebuilding-the-asset-bundle))
    
*   DirectX11: Crash on GfxDeviceD3D11Base::ResolveDepthIntoTexture when opening the project ([1408785](https://issuetracker.unity3d.com/issues/crash-on-gfxdeviced3d11base-resolvedepthintotexture-when-opening-the-project))
    
*   DOTS: "IndexOutOfRangeException" errors appear when entering Play Mode if using "AsDeferredJobArray" ([1395710](https://issuetracker.unity3d.com/issues/errors-appear-when-entering-play-mode-if-using-asdeferredjobarray))
    
*   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))
    
*   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))
    
*   Progressive Lightmapper: \[GPU PLM\] Crash after enabling Auto at the end of Bake - OpenCLRenderLightmapBuffers.HasBakingBuffers() ([1389093](https://issuetracker.unity3d.com/issues/gpu-plm-crash-after-enabling-auto-at-the-end-of-bake-openclrenderlightmapbuffers-dot-hasbakingbuffers))
    
*   Progressive Lightmapper: \[GPU PLM\] Crash due to out of bounds access violation in PowerSampling after enabling auto mode at the end of bake on AMD GPU ([1379762](https://issuetracker.unity3d.com/issues/gpu-plm-crash-in-nvopencl64-clgetplatforminfo-after-enabling-auto-generate-checkbox-at-the-end-of-gi-bake))
    
*   Scene/Game View: Camera resolution is set to default when opening the Editor ([1378321](https://issuetracker.unity3d.com/issues/camera-resolution-is-set-to-default-when-opening-the-editor))
    
*   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))
    
*   Terrain: Material keyword APIs don't list keywords when using a newly imported SpeedTree ([1398133](https://issuetracker.unity3d.com/issues/material-keyword-apis-dont-list-keywords-when-using-a-newly-imported-speedtree))
    
*   uGUI: Prefab is glitchy while editing in Prefab Mode when parent Canvas Render Mode is set to Screen Space - Camera ([1394756](https://issuetracker.unity3d.com/issues/prefab-is-glitchy-when-editing-in-prefab-mode-in-a-custom-ui-environment))
    
*   Unity Test Runner: Editor freezes when Running EditMode tests in batchmode ([1396512](https://issuetracker.unity3d.com/issues/editor-freezes-when-running-editmode-tests-in-batchmode))
    
*   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))
    
*   Vulkan: \[HDRP\] \[Vulkan\] Crash on vk::DataBuffer::CreateResource on opening Shader Graph Sample Project with Vulkan API ([1225488](https://issuetracker.unity3d.com/issues/hdrp-vulkan-crash-on-vk-databuffer-createresource-on-opening-shader-graph-sample-project-with-vulkan-api))
    
*   WebGL: WebGL Input System interactions are delayed or played preemptively when the project is built ([1405517](https://issuetracker.unity3d.com/issues/webgl-input-system-interactions-are-delayed-or-played-preemptively-when-the-project-is-built))
    
*   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.17f1 Release Notes

#### Improvements

*   IL2CPP: Optimized out boxing on null checks on nullable types in generic code.
    
*   Scripting: Editor will display a warning if trying to open a project with an External Code Editor which was removed. (1401221)
    
*   Scripting: Optimized searching for scripts when the assembly name is not supplied, can significantly improve performance entering PlayMode amongst other areas.
    
*   Search: Many UI and UX search improvements
    

#### Fixes

*   Android: Fixed Android il2cpp build when Windows Display Language is set to Turkish. ([1408333](https://issuetracker.unity3d.com/issues/android-il2cpp-build-is-looking-for-ihalfl2cpp-folder-instead-of-il2cpp-when-display-language-is-set-to-turkish))
    
*   Android: Fixed stack overflow crash on start up when trying to get device IP. (1409651)
    
*   Asset Pipeline: Fixed an issue where artifact dependencies might fail to be registered correctly during an import. ([1393370](https://issuetracker.unity3d.com/issues/artifact-dependency-to-an-asset-is-not-registered-when-reimporting-specific-assets))
    
*   Asset Pipeline: Fixed an issue where subsequent builds or manually-selected script only builds could result in incorrect code stripping.
    
*   Build Pipeline: Fixed an issue where building players would fail on windows if Unity is installed on a different drive than the project folder. ([1412356](https://issuetracker.unity3d.com/issues/buildfailedexception-is-thrown-when-building-a-new-project))
    
*   Editor: Fixed a missing segments issue in the Bundle Identifier for Apple platforms by replacing invalid characters with hyphens (similar to Xcode's behaviour). ([1352216](https://issuetracker.unity3d.com/issues/xcode-bundle-identifier-parts-in-xcode-project-missing-if-they-contain-chinese-symbols))
    
*   Editor: Fixed a missing adb provider for advanced object selector search engine issue. ([1398289](https://issuetracker.unity3d.com/issues/quicksearch-default-assets-are-not-appearing-in-the-object-picker-browser))
    
*   Editor: Fixed a missing search result refresh when executing CTRL+Z to undo last block modifications. ([1394732](https://issuetracker.unity3d.com/issues/search-search-list-isnt-updated-when-performing-undo-after-removing-a-query-builders-query-block))
    
*   Editor: Fixed Player settings becoming invisible after importing new Graphics API on HDRP template. ([1406881](https://issuetracker.unity3d.com/issues/player-settings-become-invisible-after-importing-new-graphics-api-on-hdrp-template))
    
*   Editor: Use SearchViewState.group to initialize initial results tab when a new search window is created. (1400665)
    
*   GI: Fixed an issued caused by out-of-bounds access when light probes had no coefficients. ([1394168](https://issuetracker.unity3d.com/issues/editor-crashes-when-adding-another-scene-to-the-hierarchy-window))
    
*   GI: Small lighting settings UI tweaks.
    
*   Graphics: Fixed a sporadic crashes when using Vulkan. (1407673)
    
*   Graphics: Fixed an issue where crunch compression did not properly handles uncompressed formats (even if not 32-bit RGBA) without flipping color channels or getting data corruption. (1340715)
    
*   Graphics: Fixed an issue where EditorUtility.Compress to crunch fail with a crashing when invalid texture sizes were provided. (1331258)
    
*   Graphics: Fixed buffer overflow in the RenderPassDescription attachments, causing a crash on Linux. ([1386745](https://issuetracker.unity3d.com/issues/linux-editor-crashes-on-burst-signal-handler-when-universal-rp-camera-is-selected))
    
*   Graphics: Fixed issue with resolution change when using renderFrameInterval. ([1355972](https://issuetracker.unity3d.com/issues/couldnt-switch-to-requested-monitor-resolution-error-when-changing-resolution-and-using-ondemandrendering-dot-renderframeinterval))
    
*   Graphics: Fixed splash screen getting rendered at slightly darker color when drawing it from script and the project uses linear color space. ([1369235](https://issuetracker.unity3d.com/issues/after-building-the-project-splash-screen-is-darker-when-called-using-code))
    
*   Graphics: Fixed to reduce CPU load in a sample scene when running with Graphics jobs.
    
*   IL2CPP: Correct the full generic sharing code generation when a generic parameter has a transitive class constraint. ([1396719](https://issuetracker.unity3d.com/issues/android-il2cpp-methodaccessexception-attempt-to-access-method-is-thrown-when-using-faster-builds-il2cpp-code-generation))
    
*   IL2CPP: Fixed an issue where marshaling of delegates with by reference types was not supported when the return type is blittable. ([1399978](https://issuetracker.unity3d.com/issues/il2cpp-android-marshaldirectiveexception-error-when-using-microsoft-onnxruntime-and-building-on-android-with-il2cpp))
    
*   IL2CPP: Fixed error with builds where C# comments contained multiple slashes/backslashes separated by whitespace. ([1391435](https://issuetracker.unity3d.com/issues/il2cpp-buildfailedexception-and-bee-errors-are-thrown-in-the-console-window-when-building-project-for-android))
    
*   IL2CPP: Fixed il2cpp.exe crashing on machines that used more than 64 threads. (1389102)
    
*   IL2CPP: Fixed issue where the wrong custom attributes would be returned for methods on an array instance. (1403460)
    
*   IMGUI: Fixed memory leak when continuously calling Repaint inside OnGUI after GUI.Window ([1371866](https://issuetracker.unity3d.com/issues/guilayout-dot-window-lead-to-memory-leak-on-unity-2020))
    
*   iOS: Fixed an issue where .meta files was incldued in build for plugins of .plugin type. ([1184957](https://issuetracker.unity3d.com/issues/possibly-ios-unity-meta-files-are-generated-in-the-plugin-directory-and-then-copied-to-plugins-directory-in-the-xcode-build))
    
*   iOS: Fixed Screen.safeArea returns incorrect height value when constraining rotation to landscape. ([1356217](https://issuetracker.unity3d.com/issues/ios-screen-dot-safearea-returns-incorrect-height-value-when-constraining-rotation-to-landscape))
    
*   Linux: Fixed an Editor crash when mappings for specific controllers were not found. ([1329301](https://issuetracker.unity3d.com/issues/linux-crash-on-getgamecontrollermapping-when-plugging-in-the-magic-ns-wireless-controller-adapter-in-xinput-mode))
    
*   macOS: Fixed a rare crash in GameView pointing to BufferMetal::IsBusy. ([1405248](https://issuetracker.unity3d.com/issues/editor-crashes-on-buffermetal-isbusy-after-opening-a-scene))
    
*   macOS: Fixed Silicon Editor showing as iOS app in macOS System Information. ([1378530](https://issuetracker.unity3d.com/issues/m1-unity-silicon-editor-appears-as-ios-app-in-macos-system-information))
    
*   Mono: Fixed an intermittent "Unexpected mark stack overflow" error. ([1391935](https://issuetracker.unity3d.com/issues/crash-on-gc-push-all-when-updating-custom-mesh-generation))
    
*   Mono: Fixed generic default interface method crash with Environment.StackTrace. ([1365974](https://issuetracker.unity3d.com/issues/interface-default-implementation-crash-when-passing-class-as-a-generic-parameter))
    
*   Package Manager: Fixed an issue on Windows where resolving a package could fail if any files were temporarily being used by another process. (1384471)
    
*   Package Manager: Fixed an issue where a package download would fail if the download URL had a default port set (i.e. `80` for HTTP or `443` for HTTPS). (1388256)
    
*   Package Manager: Fixed an issue where having package folders without a package manifest in the project's Library folder would fail resolving `local-tarball` or `git` packages.
    
*   Package Manager: Fixed an issue where JSON files encoded using UTF-8 with BOM could not be parsed.
    
*   Package Manager: Fixed an issue where package metadata would be fetched even though the locally cached metadata was up-to-date.
    
*   Package Manager: Fixed an issue where the `PackageManager.Client.SearchAll()` method would fail if the user did not have access permission for one of the packages hosted on the registry. ([1381544](https://issuetracker.unity3d.com/issues/package-manager-search-request-fails-when-user-does-not-have-permission-to-access-one-or-more-packages))
    
*   Package Manager: Fixed an issue where `local-tarball` dependencies would become unresolved if the source tarball was removed.
    
*   Package Manager: Fixed HTTP 5xx errors that could occur when using a proxy server. (1381238)
    
*   Package Manager: Fixed UnityPackageManager process leaving dangling IPC socket file after it exited.
    
*   Particles: Ensure Trigger Module does not ignore 2D Trigger Colliders. ([1364520](https://issuetracker.unity3d.com/issues/particles-are-not-detecting-2d-colliders-when-is-trigger-is-on))
    
*   Particles: Fixed flickering when using Mesh GPU Instancing. ([1390346](https://issuetracker.unity3d.com/issues/particles-are-flickering-when-in-play-mode))
    
*   Prefabs: Fixed memory gets allocated for GC each frame when using PrefabStageUtility.GetPrefabStage(). ([1343935](https://issuetracker.unity3d.com/issues/memory-gets-allocated-for-gc-each-frame-when-using-prefabstageutility-dot-getprefabstage))
    
*   Profiler: Fixed an issue where Texture2DArrays was not reporting data usage correctly in memory samples. ([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))
    
*   Scene/Game View: Fixed an input field expanding to fit more digits and creating overflow in the overlay. ([1361083](https://issuetracker.unity3d.com/issues/move-value-input-fields-of-the-snap-increment-menu-shift-to-the-side-when-inputing-a-value-of-5-or-more-digits))
    
*   Search: Fixed a search indexer get document lock issue while incremental updating.
    
*   Search: Fixed an issue where search engines initialization was not delayed until after user code was compiled.
    
*   uGUI: Reentered: is true when quitting a nested UI to go back on a parent UI.  
    FullyExited: is true when quitting a UI for null or for something outside of its children. ([1394226](https://issuetracker.unity3d.com/issues/wrong-onenter-and-onexit-event-calls-when-hovering-over-ui-elements))
    
*   UI: Fixed an issue which would cause duplicate UI draw calls to show up in the Framedebugger ([1342417](https://issuetracker.unity3d.com/issues/frame-debugger-android-there-are-two-draw-mesh-calls-instead-of-one-when-profiling-on-an-android-device))
    
*   UI Elements: All elements inside a foldout now have a unique name for easier restyling. (1390941)
    
*   Undo System: Fixed an issue where replacing prefabs would cause a crash. ([1400170](https://issuetracker.unity3d.com/issues/crash-with-transform-initializetransformhierarchyrecursive-when-using-undo-after-swapping-prefabs))
    
*   Undo System: Fixed an issue where undoing specific tile map additions was not handled. ([1407532](https://issuetracker.unity3d.com/issues/crash-with-rendererupdatemanager-removerenderer-when-using-undo-after-adding-tilemap-to-the-list))
    
*   Windows: Fixed player window position being offset from the left side of the screen when running in windowed mode at a resolution that doesn't fully fit inside the display. ([1378303](https://issuetracker.unity3d.com/issues/windowed-standalone-player-is-offset-from-the-edge-of-the-screen-when-built-for-native-resolution-on-windows))
    
*   Windows: Fixed Windows Editor crashing on startup on Windows 7 machines that have the latest version of Visual C++ 2013 redistributable installed. ([1361676](https://issuetracker.unity3d.com/issues/unity-2021-dot-2-crashes-on-some-windows-machines-when-tbb12-dot-dll-gets-loaded))
    

#### Package changes in 2021.2.17f1

#### Packages updated

*   com.unity.addressables: [1.19.18](https://docs.unity3d.com/Packages/com.unity.addressables@1.19//changelog/CHANGELOG.html) → [1.19.19](https://docs.unity3d.com/Packages/com.unity.addressables@1.19//changelog/CHANGELOG.html)