### Known Issues in 2021.1.21f1

*   Ads: \[Android\] Unity Ad return app to Lock screen ([1281041](https://issuetracker.unity3d.com/issues/android-unity-ad-return-app-to-lock-screen))
    
*   Asset Import Pipeline: Editor crashes with out of memory while importing a lot of assets (mostly textures) at once, on Windows/DX11 ([1324536](https://issuetracker.unity3d.com/issues/editor-crashes-with-system-out-of-memory-error-when-importing-size-heavy-textures))
    
*   Asset Importers: Editor crashes on UnityEditor.Unsupported:IsDestroyScriptableObject when applying changes to a custom asset ([1353925](https://issuetracker.unity3d.com/issues/editor-crashes-on-unityeditor-dot-unsupported-isdestroyscriptableobject-when-applying-changes-to-a-custom-asset))
    
*   Asset Importers: \[MacOS\] Second Unity instance in Activity Monitor is "not responding” after importing ([1331736](https://issuetracker.unity3d.com/issues/macos-second-unity-instance-in-activity-monitor-is-not-responding-after-importing))
    
*   Audio: Crash on AudioCustomFilter::GetOrCreateDSP when recompiling scripts while in Play Mode ([1354002](https://issuetracker.unity3d.com/issues/crash-on-audiocustomfilter-getorcreatedsp-when-recompiling-scripts-while-in-play-mode))
    
*   Global Illumination: Crash while sculpting Terrain and Baking Lightmaps ([1266511](https://issuetracker.unity3d.com/issues/crash-while-sculpting-terrain))
    
*   Global Illumination: \[Enlighten\] Fatal Error when closing the Editor while Generating Lighting ([1354238](https://issuetracker.unity3d.com/issues/fatal-error-when-closing-the-editor-while-generating-lighting))
    
*   Global Illumination: \[LightProbes\] Probes lose their lighting data after entering Play mode when Baked and Realtime GI are enabled ([1052045](https://issuetracker.unity3d.com/issues/light-probes-lose-their-lighting-data-after-entering-play-mode-when-baked-and-realtime-gi-are-enabled))
    
*   IMGUI: Scrolling is jumping when scrolling in the Input Manager ([1362327](https://issuetracker.unity3d.com/issues/scrolling-is-jumping-when-scrolling-in-the-input-manager))
    
*   Input: Input.GetKey does not trigger when the mouse cursor is outside the Game window ([1358134](https://issuetracker.unity3d.com/issues/input-dot-getkey-does-not-trigger-when-the-mouse-cursor-is-outside-the-game-window))
    
*   Linux: Linux Editor crashes at "\_XFreeX11XCBStructure" when loading tutorials ([1323204](https://issuetracker.unity3d.com/issues/linux-editor-crashes-at-xfreex11xcbstructure-when-loading-tutorials))
    
*   Mobile: \[Android\] App stops due to OnPixelCopyFinishedListener not being supported on devices with lower than 24 SDK ([1331290](https://issuetracker.unity3d.com/issues/app-stops-due-to-onpixelcopyfinishedlistener-not-being-supported-on-devices-with-lower-than-24-sdk))
    
*   Mono: \[Mono Upgrade\] CommandBuffer native plugin events hang in the Editor ([1308216](https://issuetracker.unity3d.com/issues/commandbuffer-native-plugin-events-hang-in-the-editor))
    
*   Packman: User can't easily configure location of both UPM and Asset Store package local cache ([1317232](https://issuetracker.unity3d.com/issues/user-cant-easily-configure-location-of-both-upm-and-asset-store-package-local-cache))
    
*   Profiling: GUIStyle errors are thrown when entering Play mode with docked Profiler and the "Maximize On Play" option Enabled ([1364443](https://issuetracker.unity3d.com/issues/guistyle-errors-are-thrown-when-entering-play-mode-with-docked-profiler-and-the-maximize-on-play-option-enabled))
    
*   Profiling: Profiler.GetTotalAllocatedMemoryLong increases when Scene is loaded and unloaded ([1364643](https://issuetracker.unity3d.com/issues/profiler-dot-gettotalallocatedmemorylong-increases-when-scene-is-loaded-and-unloaded))
    
*   Quality of Life: Crash on GUIView::DoPaint when selecting color with a color picker ([1355078](https://issuetracker.unity3d.com/issues/crash-on-guiview-dopaint-when-selecting-color-with-a-color-picker))
    
*   Scene Management: Poor performance when loading or unloading a large Scene ([1360901](https://issuetracker.unity3d.com/issues/poor-performance-when-loading-or-unloading-a-large-scene))
    
*   Scripting: Crashes on mono\_class\_init when entering Play Mode after recompiling scripts ([1262671](https://issuetracker.unity3d.com/issues/crashes-on-mono-class-init-when-entering-play-mode-after-recompiling-scripts))
    
*   Scripting: Increased Script Assembly reload time ([1323490](https://issuetracker.unity3d.com/issues/increased-reload-time))
    
*   Scripting: Performance degradation when activating or deactivating uGUI GameObject ([1348763](https://issuetracker.unity3d.com/issues/performance-degradation-when-activating-or-deactivating-ugui-gameobject))
    
*   Scripting: Unity does not execute code weavers when the project is opened for the first time ([1350116](https://issuetracker.unity3d.com/issues/unity-does-not-execute-code-weavers-when-its-opened-for-the-first-time))
    
*   Settings Window: \[Mobile Notifications\] Editor crashes when clicking on any category while Mobile Notifications pane is open ([1361351](https://issuetracker.unity3d.com/issues/mobile-notifications-editor-crashes-when-clicking-on-any-category-while-mobile-notifications-pane-is-open))
    
*   Terrain: Terrain Lit Opacity as Density option causes alpha'd areas on the 5th layer or greater to appear with artifacts ([1283124](https://issuetracker.unity3d.com/issues/terrain-lit-opacity-as-density-option-causes-alphad-areas-on-the-5th-layer-or-greater-to-appear-with-artifacts))
    
*   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))
    
*   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.1.21f1 Release Notes

#### Improvements

*   Profiler: Released com.unity.performance.profile-analyzer@1.1.0 with a series of fixed and improvements. More details at https://docs.unity3d.com/Packages/com.unity.performance.profile-analyzer@1.1/manual/whats-new.html

#### API Changes

*   Graphics: Added: A new API for compiling shaders from editor code and obtaining reflection info was added to ShaderData.Pass.

#### Changes

*   Code Editor: Update com.unity.ide.vscode package to 1.2.4.
    
*   Package Manager: Change error and warning box to look like the info box.
    

#### Fixes

*   Android: Fixed an issue where a looping, streaming video caused a Unity app to drop frames or freeze, if network latency was really high. ([1341573](https://issuetracker.unity3d.com/issues/android-streaming-a-video-can-cause-an-app-to-hang-slash-freeze-when-network-latency-is-high))
    
*   Asset Bundles: Fixed an issue with Asset Bundle determinism. (1346263)
    
*   Asset Pipeline: Fixed a crash inside Physics Manager when a Default Material was present and shut down. ([1338910](https://issuetracker.unity3d.com/issues/editor-importing-a-physicsmaterial-crashes-the-editor-inside-physicmaterial-reset))
    
*   Asset Pipeline: Fixed a crash that occurred if ImportAsset was called with "Assets\\" path. Also fixed an issue where any folder path ending with path separator did not get imported. ([1354411](https://issuetracker.unity3d.com/issues/double-slash-at-the-end-of-the-assets-folder-path-crashes-editor-when-invoked))
    
*   Editor: Prefab override is not reset anymore when prefab is pasted as a child. ([1339266](https://issuetracker.unity3d.com/issues/prefabs-overridden-properties-arent-transferred-when-copying-it-to-another-prefab))
    
*   Graphics: Fixed a renderingLayerMask issue with terrain tree rendering. ([1324480](https://issuetracker.unity3d.com/issues/hdrp-terrain-trees-are-stuck-on-light-layerdefault-even-when-rendering-layer-mask-is-set-to-a-different-layer))
    
*   Graphics: Fixed an issue where a Single Channel Texture2DArrays had a corrupted mips when using Box mip filtering. ([1352547](https://issuetracker.unity3d.com/issues/2d-texture-2d-array-preview-looks-corrupted-when-mip-map-filtering-is-set-to-box-at-different-mip-levels))
    
*   iOS: Fixed an issue where a presentation controller dismissal resulted in black screen when allowed orientations were changed while it was showing. ([1304313](https://issuetracker.unity3d.com/issues/ios-app-shows-a-black-screen-when-orientation-is-changed-during-uiviewcontroller-dismissal))
    
*   iOS: Fixed an issue where Analytics temporary data was stored in a user accessible folder. ([1211659](https://issuetracker.unity3d.com/issues/ios-service-related-files-and-folders-created-under-documents-folder-on-ios))
    
*   iOS: Fixed an issue where Bluetooth keyboards did not handle the input outside of text entry. ([1355543](https://issuetracker.unity3d.com/issues/ios-input-from-an-external-keyboard-is-not-handled-when-running-a-build))
    
*   Linux: Fixed issue where dismissing a context menu can cause a crash. ([1347655](https://issuetracker.unity3d.com/issues/linux-crash-on-disablesubmenu-when-double-clicking-to-close-a-context-menu))
    
*   Physics: Fixed an issue where "Physics2D.Distance()" always returned zero distance when an overlapped CapsuleCollider2D with a uniform (degenerate) size was used. ([1354786](https://issuetracker.unity3d.com/issues/physics2d-dot-distance-returns-zero-when-capsulecollider-has-a-size-of-0-dot-1-0-dot-1))
    
*   Profiler: Fixed an issue where there was no error message when trying to load an old profiler data format and direct users to load the data in unity 2018.4. ([1341972](https://issuetracker.unity3d.com/issues/profiler-loading-data-from-file-2018-dot-3-or-2018-dot-4-does-not-produce-correct-results))
    
*   Shaders: Fixed a shader compiler crash when asked to compile a variant for a platform that is not installed. ([1348875](https://issuetracker.unity3d.com/issues/pass-dot-compilevariant-crashes-the-shader-compiler-when-using-a-target-platform-that-is-not-installed))
    
*   Shaders: Fixed a spacing issue when drawing material UI for Integer based enum properties. ([1355315](https://issuetracker.unity3d.com/issues/extra-spacing-is-added-in-the-inspector-when-using-enum-for-integer-property))
    
*   Shaders: Fixed an issue when Pass.CompileVariant silently accepted impossible combinations of ShaderCompilerPlatform and BuildTarget. ([1348874](https://issuetracker.unity3d.com/issues/pass-dot-compilevariant-allows-impossible-combinations-of-parameters-like-metal-on-android))
    
*   Shaders: Fixed an issue where the Editor was nearly unusable when compiling heavy compute shaders in the background. ([1348455](https://issuetracker.unity3d.com/issues/unity-shader-compiler-task-process-have-high-cpu-usage-when-installing-hdrp-package))
    
*   Shaders: Fixed an issue where UI sliders only allowed end values for ranges with the left value greater than the right value. ([1351151](https://issuetracker.unity3d.com/issues/range-shader-property-slider-malfunctioning-when-value-goes-from-high-to-low))
    
*   Shaders: Fixed count constant generating an error when compiling shaders for Vulkan using Pass.CompileVariant API. ([1348871](https://issuetracker.unity3d.com/issues/pass-dot-compilevariant-complains-about-top-level-params-being-outside-of-cbuffer-when-compiling-for-vk-slash-android))
    
*   Shaders: Fixed Pass.CompileVariant not filtering keywords not relevant to the given pass. ([1349218](https://issuetracker.unity3d.com/issues/pass-dot-compilevariant-api-doesnt-filter-keywords-for-a-given-pass))
    
*   Shaders: Fixed Pass.CompileVariant throwing errors when compiling subshaders coming from the fallback or passes coming from UsePass. ([1348862](https://issuetracker.unity3d.com/issues/pass-dot-compilevariant-throws-errors-when-iterating-over-all-subshaders-and-passes-of-a-new-surface-shader))
    
*   Shaders: Fixed ShaderData.Pass providing no way to check whether a particular shader stage is included. ([1348880](https://issuetracker.unity3d.com/issues/no-api-to-check-whether-a-pass-has-a-given-shader-stage))
    
*   UI Toolkit: Drag and drop in ListView will not bind negative index. ([1319543](https://issuetracker.unity3d.com/issues/reorderable-listview-binds-negative-index-when-dragging-an-element-off-the-top-of-the-listview))
    
*   UI Toolkit: Fixed an exception in ListView when the page up key was pressed after hitting navigation keys. ([1324806](https://issuetracker.unity3d.com/issues/argumentoutofrangeexception-is-thrown-when-pressing-pageup-key-after-a-directional-key-is-pressed-and-using-uidocument))
    
*   UI Toolkit: Fixed selection on pointer up on mobile to allow touch scrolling. ([1312139](https://issuetracker.unity3d.com/issues/uitoolkit-listview-onselectionchange-conflicts-with-scrolling-on-touch-devices))
    
*   UI Toolkit: Submit event on a ListView focuses in the content to allow keyboard navigation. ([1311688](https://issuetracker.unity3d.com/issues/ui-toolkit-listview-isnt-being-selected-when-clicking-submit-key))
    
*   WebGL: Added workaround for Safari IndexedDB bug. ([1342163](https://issuetracker.unity3d.com/issues/webgl-macos-page-fails-to-load-on-safari-14-dot-1-1))
    
*   WebGL: Set the mouse position to be in the middle of the canvas if the cursor is locked. ([1347311](https://issuetracker.unity3d.com/issues/webgl-player-crashes-when-calling-inputsystem-dot-registerbindingcomposite-function-with-runtimeinitializeonloadmethod-attribute))