### Known Issues in 2021.1.2f1

*   Addressable Assets: Performance bug reported by the DOTS team in PreloadManager::WaitForAllOperationToComplete ([1322086](https://issuetracker.unity3d.com/issues/performance-bug-reported-by-the-dots-team-in-preloadmanager-waitforalloperationtocomplete))
    
*   2D: \[Skinning Editor\] Vertex can't be created after modifying Vertexes weight and when Sprite is from the .psb file ([1322204](https://issuetracker.unity3d.com/issues/skinning-editor-vertex-cant-be-created-after-modifying-vertexes-weight-and-when-sprite-is-from-the-psb-file))
    
*   Windows: \[Windows 7\] "WindowsVideoMedia error 0xc00d36b4" error is thrown when loading a video with the VideoPlayer ([1306350](https://issuetracker.unity3d.com/issues/windows-7-windowsvideomedia-error-0xc00d36b4-error-is-thrown-when-loading-a-video-with-the-videoplayer))
    
*   Scripting: Increased Script Assembly reload time ([1323490](https://issuetracker.unity3d.com/issues/increased-reload-time))
    
*   Asset Bundles: Synchronous Asset Loading Does Not Correctly Load Preload Dependencies ([1321141](https://issuetracker.unity3d.com/issues/synchronous-asset-loading-does-not-correctly-load-preload-dependencies))
    
*   Linux: Linux Editor crashes at "\_XFreeX11XCBStructure" when loading tutorials ([1323204](https://issuetracker.unity3d.com/issues/linux-editor-crashes-at-xfreex11xcbstructure-when-loading-tutorials))
    
*   Asset Importers: \[Performance Regression\] Importing an fbx model is noticeably slower when the model contains Animations ([1265275](https://issuetracker.unity3d.com/issues/performance-regression-importing-an-fbx-model-is-noticeably-slower-when-the-model-contains-animations))
    
*   Terrain: Crash on TreeRenderer::WillRenderTrees when being in Play Mode for several seconds ([1317966](https://issuetracker.unity3d.com/issues/crash-on-treerenderer-willrendertrees-when-being-in-play-mode-for-several-seconds))
    
*   IMGUI: Contents of a ModalUtility window are invisible when it is launched from a Unity Context Menu ([1313636](https://issuetracker.unity3d.com/issues/error-displaying-showmodalutility-window))
    
*   Global Illumination: Reflection probes doesn't contain indirect scene lighting after the on-demand GI bake from the Lighting window ([1324246](https://issuetracker.unity3d.com/issues/reflection-probes-doesnt-contain-indirect-scene-lighting-after-the-on-demand-gi-bake-from-the-lighting-window))
    
*   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))
    
*   Serialization: Crash in SerializedProperty::IsValid when reordering a SerializedProperty list ([1320319](https://issuetracker.unity3d.com/issues/crash-in-serializedproperty-isvalid-when-reordering-a-serializedproperty-list))
    
*   Global Illumination: \[GPUPLM\] Crash in RadeonRaysMeshManager::RemoveGeometry while baking Terrain game object with 4k lightmaps on certain GPU ([1255993](https://issuetracker.unity3d.com/issues/global-illumination-editor-crashes-while-baking-terrain-game-object-using-progressive-gpu-lightmapper))
    
*   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))
    
*   Global Illumination: Wintermute::Geometry::Verify errors are spammed when baking a Mesh with Mesh Compression set to Medium/High ([1319133](https://issuetracker.unity3d.com/issues/speedtree-asset-breaks-when-trying-to-lightmap))
    
*   Cloth: Cloth is broken when parent GameObject scale is lower than 1 and Surface Penetration constraints are set 0 ([1319488](https://issuetracker.unity3d.com/issues/cloth-is-broken-when-parent-gameobject-scale-is-lower-than-1-and-surface-penetration-constraints-are-set-0))
    
*   XR: OpenXR + URP + UWP rendering stuck ([1323833](https://issuetracker.unity3d.com/issues/openxr-plus-urp-plus-uwp-rendering-stuck))
    
*   MacOS: \[macOS\] "build is damaged and cannot be opened" error when downloading Unity build from internet ([1323501](https://issuetracker.unity3d.com/issues/macos-build-is-damaged-and-cannot-be-opened-error-when-downloading-unity-build-from-internet))
    
*   Packman: Package Manager incorrectly shows that there are no packages in a new project ([1319205](https://issuetracker.unity3d.com/issues/package-manager-falsely-shows-that-there-are-no-packages-in-a-new-project))
    
*   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))
    
*   Asset Importers: Wintermute::Geometry::Verify errors are spammed when baking a Mesh with Mesh Compression set to Medium/High ([1313968](https://issuetracker.unity3d.com/issues/wintermute-geometry-verify-errors-are-spammed-when-baking-a-mesh-with-mesh-compression-set-to-medium-slash-high))
    
*   2D: \[URP\] The Camera renders black screen when Post Processing is enabled in the 2D Renderer and in the Camera Component ([1318500](https://issuetracker.unity3d.com/issues/urp-the-camera-renders-black-screen-when-post-processing-is-enabled-in-the-2d-renderer-and-in-the-camera-component))
    
*   Polybrush: \[PolyBrush\] Something went wrong saving brush settings Warning is thrown when Saving a Brush after opening the PolyBrush Window ([1315475](https://issuetracker.unity3d.com/issues/polybrush-something-went-wrong-saving-brush-settings-warning-is-thrown-when-saving-a-brush-after-opening-the-polybrush-window))
    

### 2021.1.2f1 Release Notes

#### Improvements

*   Graphics: Add control to independently clear stencil buffer in CommandBuffer api.
    
*   Scripting: CompiliationPipeline.GetAssemblies will now correctly include Roslyn analyzers in ScriptCompilerOptions.
    
*   XR: Removed "Preview" text from UI display element.
    

#### API Changes

*   Graphics: Added: New API functions with no side effects in DynamicResolutionHandler, to retrieve resolved drs scale and to apply DRS on a size.
    
*   Graphics: Added: New API in DynamicResolutionHandler to handle multicamera rendering for hardware mode. Changing cameras and resetting scaling per camera should be safe.
    

#### Changes

*   HDRP: Updated Wizard to better handle RenderPipelineAsset in Quality Settings
    
*   Package: Updates com.unity.cinemachine to 2.7.3
    
*   Shadergraph: Fixed a bug where property deduplication was failing and spamming errors ([1317809](https://issuetracker.unity3d.com/issues/console-error-when-adding-a-sample-texture-operator-when-a-sampler-state-property-is-present-in-blackboard))
    
*   Timeline: Updated Timeline package to version 1.5.4.
    
*   XR: The Oculus XR Plugin package has been updated to 1.9.0.
    

#### Fixes

*   Animation: Fixed issue where Timeline would stay stuck after going to Play Mode. ([1315060](https://issuetracker.unity3d.com/issues/timeline-stays-stuck-after-going-to-play-mode))
    
*   Asset Import: Fixed issue where OnAssignedMaterialModel is not called for meshes that get a default material assigned. ([1307374](https://issuetracker.unity3d.com/issues/onassignmaterialmodel-callback-not-called-for-meshes-without-material-defined-in-imported-file))
    
*   Asset Pipeline: : Fixed asset that could get reported when projectsetting.asset file is modified directly. ([1270162](https://issuetracker.unity3d.com/issues/2d-game-kit-import-parameters-got-modified-during-import-error-is-thrown-when-opening-up-the-project-for-the-first-time))
    
*   Build Pipeline: Fixed excessive garbage collection occurring during the build process. ([1318468](https://issuetracker.unity3d.com/issues/editorassetgarbagecollectmanager-memory-threshold-overflows-due-to-int-wrapping-when-threshold-is-set-to-more-than-2gb))
    
*   Editor: Fixed "Lightmap Static" being displayed instead of "Contribute GI" in the editor Static flags dropdown. ([1298221](https://issuetracker.unity3d.com/issues/lightmap-static-flag-instead-of-contribute-gi-in-editor-static-flags))
    
*   Editor: Fixed "TLS Allocator" error when using Asset Store Tools. ([1303631](https://issuetracker.unity3d.com/issues/tls-allocator-error-when-using-asset-store-tools))
    
*   Editor: Fixed for Window with 'hasUnsavedChanges' set to true not being saved when closed with Middle Mouse Button. ([1307671](https://issuetracker.unity3d.com/issues/unsaved-changes-detected-popup-is-not-being-shown-when-tab-with-changes-is-closed-with-middle-mouse-button))
    
*   Editor: Fixed IsArrayReorderable method producing errors in Reflect package ([1321782](https://issuetracker.unity3d.com/issues/invalidoperationexception-queue-empty-error-is-thrown-when-selecting-an-asset-and-viewing-it-in-the-inspector))
    
*   Editor: Fixed multi-target ReorderableLists that have more than the maximum allowed multi-edit number of elements appearing as empty ([1317103](https://issuetracker.unity3d.com/issues/reorderable-arrays-with-high-element-counts-show-up-as-empty-when-multi-selecting))
    
*   Editor: Fixed ReorderableList allocating memory when getting multi-target array size ([1297993](https://issuetracker.unity3d.com/issues/reorderablelist-allocates-a-lot-of-memory-when-inspecting-multiple-targets))
    
*   Editor: Fixed reordering lists with Gradient elements being visually outdated after reorder ([1315679](https://issuetracker.unity3d.com/issues/the-preview-of-the-gradient-is-not-changed-when-reordering-gradient-list-or-array-in-the-inspector))
    
*   Editor: On Windows, a maximized instance of Unity on a second, lower resolution display will now remain maximized on that display when the Editor is restarted. ([1314966](https://issuetracker.unity3d.com/issues/windows-editor-main-window-doesnt-re-open-on-the-secondary-monitor-it-was-on-when-it-was-closed))
    
*   Editor: Removed EditorGUIUtility.GetSkinnedIcon and EditorGUIUtility.GetSkinnedIconForDpi to fix unloading of unused textures. Moved part of the implementation in C++ while keeping the features provided by the removed functions. (1308097)
    
*   Editor: Using an unsupported keyCode in a shortcut attribute no longer throws any exceptions. ([1303144](https://issuetracker.unity3d.com/issues/shortcut-window-is-blank-and-errors-are-thrown-when-unsupported-button-is-used-in-shortcut-attribute))
    
*   GI: Fixed a null pointer bug in graphics bindings. ([1310875](https://issuetracker.unity3d.com/issues/crash-on-rendererscripting-updategimaterialsforrenderer-when-calling-updategimaterials-on-a-null-renderer))
    
*   GI: Fixed progressive updates not working for the first bake of an editor session. ([1300926](https://issuetracker.unity3d.com/issues/gpu-plm-progressive-updates-doesnt-work-on-first-bake-after-opening-the-editor))
    
*   Graphics: Calculating correct rtHandleScale by considering the possible pixel rounding when DRS is on
    
*   Graphics: First Material data is used for Shadowmap rendering when using multiple Materials with the same Shader and different properties ([1304644](https://issuetracker.unity3d.com/issues/first-material-data-is-used-for-shadowmap-rendering-when-using-multiple-materials-with-the-same-shader-and-different-properties))
    
*   Graphics: Fix for async texture deletion to make sure graphics commands have completed first. ([1280073](https://issuetracker.unity3d.com/issues/unloading-source-asset-immediately-after-blit-source-dest-can-result-in-blank-dest))
    
*   Graphics: Scissor test was automatically disabled when changing render-targets. It is not the case anymore and is consistent with other platforms.
    
*   HDRP: Fixed missing Update in Wizard's DXR Documentation
    
*   HDRP: Fixed multicamera rendering for Dynamic Resolution Scaling using dx12 hardware mode. Using a planar reflection probe (another render camera) should be safe.
    
*   HDRP: Fixed pixelated appearance of Contrast Adaptive Sharpen upscaler and several other issues when Hardware DRS is on
    
*   IMGUI: Fixed an issue where clearing search field using 'x' button does not register changed event. ([1306036](https://issuetracker.unity3d.com/issues/endchangecheck-is-not-triggered-when-clearing-the-imgui-search-field-by-pressing-the-x-button))
    
*   iOS: Fixed a UnityWebRequest issue that caused freezing on background/resume when the device is offline. ([1315244](https://issuetracker.unity3d.com/issues/ios-freeze-when-continually-sending-unitywebrequests-and-internet-connection-is-disabled))
    
*   iOS: Fixed FixedUpdate being called on startup more times than should be to account for Time.deltaTime on first Update. ([1318647](https://issuetracker.unity3d.com/issues/mobile-fixedupdate-gets-called-multiple-times-before-the-first-update-when-build-is-run-on-a-device))
    
*   Particles: Fixed incorrect error check in SetParticles that would cause an exception to be thrown when the offset value was equal or greater than the particles array length. ([1313413](https://issuetracker.unity3d.com/issues/offset-is-outside-the-valid-range-error-is-thrown-when-setting-the-particles-with-the-same-variables-as-getting-them))
    
*   Physics: Ensure that a Kinematic Rigidbody2D continues to accept MovePosition and/or MoveRotation commands when nested as a child of another Rigidbody2D. ([1320783](https://issuetracker.unity3d.com/issues/physics-inconsitency-with-nested-rigidbody-and-rigidbody2d))
    
*   Physics: Fixed Collision.relativeVelocity being calculated incorrectly when an ArticulationBody was part of the contact pair. ([1310485](https://issuetracker.unity3d.com/issues/collision-dot-relativevelocity-always-return-zero-when-using-articulationbody-on-collision))
    
*   Scene Manager: This change prevents Unity from crashing when the asset of the current opened scene has been deleted, a new scene asset is imported, with same GUID, and the user chooses "reload". ([1309393](https://issuetracker.unity3d.com/issues/freeze-or-crash-on-editorscenemanager-reloadscene-when-importing-an-asset-and-reloading-the-opened-scene))
    
*   Scripting: Fixed Filename/Line extraction in logs not working correctly in some edge cases. ([1300479](https://issuetracker.unity3d.com/issues/certain-errors-do-not-open-in-code-editors-when-double-clicking-error))
    
*   Scripting: Fixed a problem when adding UI Toolkit pkg to a project where a scripted imported from the pkg would get rejected and exceptions would be reported to the user. ([1269167](https://issuetracker.unity3d.com/issues/unityexception-and-argumentexception-errors-are-thrown-when-ui-toolkit-is-added-to-a-new-project))
    
*   Scripting: Fixed ScriptUpdater crash when Editor is installed in a folder with spaces in the path. ([1309831](https://issuetracker.unity3d.com/issues/api-updater-fails-with-system-dot-io-dot-directorynotfoundexception-could-not-find-a-part-of-the-path-exception))
    
*   Serialization: Fixed regression where Event code could be stripped from build when using il2cpp. ([1301147](https://issuetracker.unity3d.com/issues/enabling-a-meshrenderer-from-a-unityevent-is-not-possible-in-a-il2cpp-build))
    
*   Services: Fixed a bug where the crash reporting symbol uploader process would crash on Apple M1 hardware.
    
*   Services: Fixed a bug where the crash reporting symbol uploader process would crash on parsing certain dSYM files.
    
*   Shaders: Fixed #pragma once directive not working correctly with the caching preprocessor ([1322879](https://issuetracker.unity3d.com/issues/dot-hlsl-file-doesnt-get-included-when-using-number-pragma-once))
    
*   Shaders: Fixed a rare crash when upgrading shaders. ([1299790](https://issuetracker.unity3d.com/issues/editor-crashes-on-upgradeoldshadersyntax-when-shaders-are-being-upgraded-during-importing-process))
    
*   Shaders: Fixed incorrect code generated by HLSLcc for textureQueryLod GLSL function ([1314040](https://issuetracker.unity3d.com/issues/shader-compiler-fails-to-generate-vulkan-output-when-hlsl-texture-method-calculatelevelofdetail-is-used))
    
*   Shaders: Fixed incorrect line numbers reported for errors in shader files when using Caching preprocessor ([1318689](https://issuetracker.unity3d.com/issues/errors-shown-in-the-console-window-point-to-the-incorrect-line-number-in-shader-code))
    
*   Shaders: Fixed shader compilation regression on Win 7 ([1318359](https://issuetracker.unity3d.com/issues/shader-fails-to-compile-when-using-windows-7))
    
*   Shaders: Fixed shader keyword overflow when doing a build ([1297800](https://issuetracker.unity3d.com/issues/global-shader-keyword-limit-is-reached-when-fallback-shader-adds-local-keywords-to-the-list-on-build))
    
*   Shaders: Fixed sprites using default sprite material not rendering in the Editor when build target is set to console (1318066)
    
*   Timeline: Fixed error message when playing an audio track from its last sample. ([1319163](https://issuetracker.unity3d.com/issues/playing-from-last-frame-of-an-audioclip-in-timeline-throws-an-invalid-seek-position-was-passed-to-this-function-error))
    
*   Video: Calling VideoPlayer.Prepare and VideoPlayer.StepForward produces a frame on a Render Texture ([1318270](https://issuetracker.unity3d.com/issues/calling-videoplayer-dot-prepare-and-videoplayer-dot-stepforward-produces-a-frame-on-a-render-texture))
    
*   WebGL: Added support for detecting Chrome and Firefox browsers on iOS devices. Fixes an issue that Chrome and Firefox browsers would fail to load on iOS 14.4. (1316861)
    
*   WebGL: Changed behavior of `Application.OpenURL()` for the WebGL platform to open an URL in a new browser tab instead of opening the URL in the current browser tab and thus navigating away. ([1320393](https://issuetracker.unity3d.com/issues/application-dot-openurl-not-working-for-webgl-builds))
    
*   Windows: Setting a custom cursor now respects Windows DPI and Ease of Access settings related to the cursor size. ([1305480](https://issuetracker.unity3d.com/issues/windows-max-mouse-cursor-size-is-limited-when-using-cursor-dot-setcursor-and-cannot-be-increased-past-a-certain-threshold))
    
*   XR: Always disable optimized frame pacing when using XR. (1288764)
    
*   XR: Fixed rect used by scissor test on Vulkan (1203183)
    
*   XR: Fixed URP Vulkan shows low perf on stress test when running development build. (1299445)
    
*   XR: Updated XR Interaction Toolkit to 1.0.0-pre.3.