### Known Issues in 2021.2.11f1

*   2D: \[Lost Crypt\] Unable to find URP 12.1.0 package error when importing Lost Crypt ([1388129](https://issuetracker.unity3d.com/issues/2d-lost-crypt-unable-to-find-urp-12-dot-1-0-package-error-when-importing-lost-crypt))
    
*   AI Navigation: 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))
    
*   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))
    
*   HD RP: \[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))
    
*   IMGUI: Slider Min and Max Values become the same as the other Slider when selecting multiple Slider GameObjects in the Hierarchy window ([1388196](https://issuetracker.unity3d.com/issues/slider-min-and-max-values-become-the-same-as-the-other-slider-when-selecting-multiple-sliders-in-the-hierarchy-window))
    
*   Inspector Framework: In Record and Preview mode, right clicking Scale does not bring up Animation related features ([1365369](https://issuetracker.unity3d.com/issues/in-record-and-preview-mode-right-clicking-scale-does-not-bring-up-animation-related-features))
    
*   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: Editor crashes at "RegisterRuntimeInitializeAndCleanup::ExecuteCleanup()" when quitting from "Enter Safe Mode" prompt \[Linux\] ([1374087](https://issuetracker.unity3d.com/issues/linux-editor-crashes-at-registerruntimeinitializeandcleanup-executecleanup-when-quitting-from-enter-safe-mode-prompt))
    
*   Linux: Editor crashes at "\_\_assert\_fail\_base.cold" when opening a project (Linux) ([1375312](https://issuetracker.unity3d.com/issues/linux-editor-crashes-at-assert-fail-base-dot-cold-when-opening-a-project))
    
*   MacOS: \[M1\] "System is running out of memory" error is thrown when using Profiler as a Standalone Process with Deep Profile turned on ([1386242](https://issuetracker.unity3d.com/issues/system-is-running-out-of-memory-is-being-thrown-when-using-profiler-as-a-standalone-process-with-deep-profile-turned-on))
    
*   MacOS: \[M1\]\[IL2CPP\] Unity spawns Intel clang processes when building with Silicon Editor ([1392604](https://issuetracker.unity3d.com/issues/m1-il2cpp-unity-spawns-intel-clang-processes-when-building-with-silicon-editor))
    
*   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))
    
*   Metal: Application crashes when "Metal Write-Only Backbuffer" is enabled ([1379210](https://issuetracker.unity3d.com/issues/application-crashes-when-metal-write-only-backbuffer-is-enabled))
    
*   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))
    
*   OpenGL: Unity crashes when entering "-force-opengl" or "-force-glcore" in the Advanced Project Settings ([1374768](https://issuetracker.unity3d.com/issues/unity-crashes-when-entering-force-opengl-or-force-glcore-in-the-advanced-project-settings))
    
*   Progressive Lightmapper: Crash while sculpting Terrain and Baking Lightmaps ([1266511](https://issuetracker.unity3d.com/issues/crash-while-sculpting-terrain))
    
*   Progressive Lightmapper: Unity 2021.2 crashes on some Windows7 PCs when tbb12.dll gets loaded ([1361676](https://issuetracker.unity3d.com/issues/unity-2021-dot-2-crashes-on-some-windows-machines-when-tbb12-dot-dll-gets-loaded))
    
*   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 Management: Crash with "Transform::InitializeTransformHierarchyRecursive" when using undo after swapping Prefabs ([1400170](https://issuetracker.unity3d.com/issues/crash-with-transform-initializetransformhierarchyrecursive-when-using-undo-after-swapping-prefabs))
    
*   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))
    
*   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))
    
*   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: Extra OnEnter and OnExit event calls when hovering over UI elements ([1394226](https://issuetracker.unity3d.com/issues/wrong-onenter-and-onexit-event-calls-when-hovering-over-ui-elements))
    
*   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))
    
*   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))
    
*   Windows: Editor crashes or freezes with 'Copying file failed' error when importing a file from WinRAR Archiver ([1325310](https://issuetracker.unity3d.com/issues/editor-crashes-or-freezes-with-copying-file-failed-error-when-importing-a-file-from-winrar-archiver))
    
*   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.11f1 Release Notes

#### Improvements

*   IL2CPP: Added support for Il2CppSetOption attribute on structs and assemblies.

#### API Changes

*   Particles: Added: There is a new version of GetTrails that doesn't allocate any garbage. ([1394062](https://issuetracker.unity3d.com/issues/particles-particlesystem-dot-gettrails-api-forces-gc-dot-alloc-calls))

#### Fixes

*   Android: Fixed a Java local reference leak when array is returned when using AndroidJavaObject/AndroidJavaClass. ([1374806](https://issuetracker.unity3d.com/issues/android-crashes-with-signal-6-sigabrt-error-and-jni-error-abort-message-on-some-devices-running-android-8-or-lower))
    
*   Android: Fixed an app crashing when calling Cursor.visible or Cursor.SetCursor many time during a frame. ([1380363](https://issuetracker.unity3d.com/issues/android-addressables-player-crashes-with-a-jni-error-error-when-built-on-android))
    
*   Animation: Fixed a crash when modifying an animation override controller which was in use during a state machine enter / exit behavior callback. ([1346587](https://issuetracker.unity3d.com/issues/crash-on-libunity-dot-animationclip-getruntimeasset-when-an-animation-is-played))
    
*   Build Pipeline: Fixed an issue where subsequent builds or manually-selected script only builds could result in incorrect code stripping. ([1388491](https://issuetracker.unity3d.com/issues/assemblies-are-stripped-incorrectly-when-making-a-second-consecutive-development-build))
    
*   Core: Fixed incorrect handling of C#'s `readonly` keyword in the JobsDebugger. (1367166)
    
*   Editor: Fixed a Null reference exception on enabling constrain proportions scale for a freshly created Rect Transform object. ([1399997](https://issuetracker.unity3d.com/issues/clicking-scale-constraint-button-on-2d-object-throws-nullreferenceexception))
    
*   Editor: Fixed an issue where selecting a scene template modified its dependencies.
    
*   Editor: Fixed an issue where keyUp events were never received in the macOS editor under playmode. ([1380143](https://issuetracker.unity3d.com/issues/macos-keyboard-input-keys-sticky-and-get-stuck-axis-when-low-frame-rate-on-macos))
    
*   GI: Fixed an issue where environment lighting from an additively loaded scene would be ignored, when unloading the base scene, and that scene contains a light probe group. ([1324966](https://issuetracker.unity3d.com/issues/previously-loaded-scenes-ambient-light-is-applied-to-a-gameobject-when-loading-a-scene-with-loadscene-additive))
    
*   Graphics: Fixed a particles flickering issue on metal. ([1375960](https://issuetracker.unity3d.com/issues/particle-system-uses-incorrect-transform-matrices-for-motion-vectors-when-shadow-casting-is-enabled))
    
*   IL2CPP: Implement the internal SetLastWin32Error method. This is used in the CriticalHandle implementation and can cause problems for libraries like Mono.Data.SqlLite. ([1379079](https://issuetracker.unity3d.com/issues/android-il2cpp-android-sqlite-exceptions-when-built-with-il2cpp))
    
*   IL2CPP: Fixed "Attempted to lookup type that hasn't been created" error when building a UWP project. ([1390521](https://issuetracker.unity3d.com/issues/exception-unity-dot-il2cpp-dot-building-dot-builderfailedexception-error-during-build-when-vungle-sdk-is-included-in-the-project))
    
*   IL2CPP: Fixed an IL2CPP crash caused by High managed code stripping producing invalid IL. ([1358995](https://issuetracker.unity3d.com/issues/il2cpp-build-fails-when-managed-stripping-level-is-set-to-high))
    
*   IL2CPP: Fixed an issue where the Visual Studio Build Tools installations was not detected nor used.
    
*   iOS: Fixed an issue where the et On Demand Resources setting in XCode project was not always set to the value in Unity Player Settings. ([1379736](https://issuetracker.unity3d.com/issues/ios-player-setting-use-on-demand-resources-does-not-set-the-xcode-build-setting-enable-on-demand-resources))
    
*   Kernel: Added additional checks to `FileUtil.DeleteFileOrDirectory` to fix unintentional deletion of project assets directory. ([1382446](https://issuetracker.unity3d.com/issues/fileutil-dot-deletefileordirectory-deletes-the-entire-project-folder-when-it-is-passed-a-null-value))
    
*   Package Manager: Fixed an issue where Unity terminated with error code 0 when an exception occurs while importing a package in bach mode. ([1375776](https://issuetracker.unity3d.com/issues/unity-terminates-with-error-code-0-when-an-exception-occurs-while-importing-a-package-in-bach-mode))
    
*   Particles: Fixed an issue where there was incorrect Collider information for GetTriggerParticles, in the case where there were null colliders in the Trigger Module list. ([1356510](https://issuetracker.unity3d.com/issues/particlesystem-dot-colliderdata-dot-getcollider-returns-null-when-a-collider-is-hit-by-particle-system-particles))
    
*   Physics: Fixed an issue where re-parenting an inactive 2D Collider using a CompositeCollider2D on the target hierarchy would not use the composite. ([1386399](https://issuetracker.unity3d.com/issues/warning-message-appears-when-adding-child-gameobject-with-a-collider-into-compositecollider2d-with-a-script))
    
*   Prefabs: Fixed a RootGameObject detection issue for missing Prefab instances to avoid creating placeholders.
    
*   Prefabs: Fixed a scene saving for scene backups issue when entering PlayMode to re-enable EnterPlay mode with missing Prefab instances in the scene. (1379408)
    
*   Prefabs: Fixed an error that was thrown when merging changes made to a Prefab into a Nested Prefab with co-dependant components. ([1362574](https://issuetracker.unity3d.com/issues/changes-fail-when-merging-from-prefab-to-nested-prefab-with-co-related-components))
    
*   Profiler: Fixed "Call Stacks" toggle in Profiler Window enabling callstacks capturing in connected Players. ([1377934](https://issuetracker.unity3d.com/issues/profiler-profilers-call-stacks-button-gets-out-of-sync-with-playerconnection-when-its-toggled-after-connecting-to-player))
    
*   Serialization: Fixed an issue where error message did not include filename when serialized map in a YAML file was badly formed. ([1374218](https://issuetracker.unity3d.com/issues/unexpected-node-type-error-appear-when-reimporting-assemblies))
    
*   Shaders: Added the number of skipped shader variants to the shader compilation log output. (1389276)
    
*   Shaders: Fixed a misleading comment in UnityCG.cginc. ([1374639](https://issuetracker.unity3d.com/issues/comment-on-unityworldspaceviewdir-in-unitycg-dot-cginc-does-not-match-the-function-behavior))
    
*   Shaders: Fixed an issue where the shader name was not added to the error description when failing to compile or link GLSL shaders. (1378687)
    
*   Shaders: Fixed OOM crash when preparing shaders with a large amount of variants (100M+) for compilation. IPreprocessShaders now processes not more than 1M variants at a time. ([1388530](https://issuetracker.unity3d.com/issues/shader-stripping-crashes-when-it-gets-too-many-variants))
    
*   Shaders: Fixed the output of "Compile and show code" button being capped to 2GB on Windows. ([1378000](https://issuetracker.unity3d.com/issues/on-windows-preprocessed-lit-dot-shader-file-stops-mid-line-when-file-size-is-near-or-more-than-2gb))
    
*   UI Toolkit: Fixed a UIDocument sort order issue when multiple ones had the same sort order value but some of them were disabled. ([1378182](https://issuetracker.unity3d.com/issues/the-sort-order-of-a-previously-enabled-uidocument-is-not-respected-when-enabling-a-uidocument-with-lower-sort-order))
    
*   UI Toolkit: Fixed an issue where the icon in the Uxml preview header would not open the uxml file in the IDE (UI Builder).
    
*   UI Toolkit: Fixed an issue where the `Open With IDE` context menu was trying to open the uxml in the builder instead of opening it in the IDE (UI Builder). ([1368373](https://issuetracker.unity3d.com/issues/open-in-ide-opens-the-file-in-ui-builder))
    
*   VFX Graph: Fixed a collision with depth buffer issue when using a physical camera. ([1344733](https://issuetracker.unity3d.com/issues/vfx-graph-particles-do-not-collide-with-depth-buffer-when-physical-camera-is-used))
    
*   WebGL: Fixed a MSAA effect issue for WebGL. ([1377547](https://issuetracker.unity3d.com/issues/webgl-msaa-effect-is-not-applied-in-build))
    
*   WebGL: Fixed a template issue when quotation marks were used in company name or product name. ([1370946](https://issuetracker.unity3d.com/issues/webgl-player-is-stuck-on-the-gray-screen-when-company-name-includes-quotation-mark))
    
*   WebGL: Fixed an issue that prevented PlayerSettings.WebGL.emscriptenArgs options from being passed to the build. ([1368914](https://issuetracker.unity3d.com/issues/playersettings-dot-webgl-dot-emscriptenargs-regressed-with-incremental-player-build-on-webgl))
    
*   WebGL: Fixed an issue with the creation of external debug symbols. ([1378286](https://issuetracker.unity3d.com/issues/webgl-webgl-builds-fail-if-embedded-debug-symbols-option-is-used))
    
*   Windows: Fixed an issue when building generated IL2CPP C++ code with Visual Studio 2022 Unity did not correctly recognize it as "Visual Studio 2022". ([1378085](https://issuetracker.unity3d.com/issues/incremental-build-pipeline-recognizes-visual-studio-2022-as-vs-unknown))
    

#### Package changes in 2021.2.11f1

#### Packages updated

*   com.unity.addressables: [1.19.15](https://docs.unity3d.com/Packages/com.unity.addressables@1.19//changelog/CHANGELOG.html) → [1.19.17](https://docs.unity3d.com/Packages/com.unity.addressables@1.19//changelog/CHANGELOG.html)
    
*   com.unity.cinemachine: [2.8.3](https://docs.unity3d.com/Packages/com.unity.cinemachine@2.8//changelog/CHANGELOG.html) → [2.8.4](https://docs.unity3d.com/Packages/com.unity.cinemachine@2.8//changelog/CHANGELOG.html)
    
*   com.unity.ide.visualstudio: [2.0.12](https://docs.unity3d.com/Packages/com.unity.ide.visualstudio@2.0//changelog/CHANGELOG.html) → [2.0.14](https://docs.unity3d.com/Packages/com.unity.ide.visualstudio@2.0//changelog/CHANGELOG.html)
    

**Packages added**

*   [com.unity.sysroot@1.0.0](https://docs.unity3d.com/Packages/com.unity.sysroot@1.0//changelog/CHANGELOG.html)
    
*   [com.unity.sysroot.linux-x86\_64@1.0.0](https://docs.unity3d.com/Packages/com.unity.sysroot.linux-x86_64@1.0//changelog/CHANGELOG.html)
    
*   [com.unity.toolchain.linux-x86\_64@1.0.0](https://docs.unity3d.com/Packages/com.unity.toolchain.linux-x86_64@1.0//changelog/CHANGELOG.html)
    
*   [com.unity.toolchain.macos-x86\_64-linux-x86\_64@1.0.0](https://docs.unity3d.com/Packages/com.unity.toolchain.macos-x86_64-linux-x86_64@1.0//changelog/CHANGELOG.html)
    
*   [com.unity.toolchain.win-x86\_64-linux-x86\_64@1.0.0](https://docs.unity3d.com/Packages/com.unity.toolchain.win-x86_64-linux-x86_64@1.0//changelog/CHANGELOG.html)