### Known Issues in 2021.3.22f1

- Asset - Database: Script recompiles in Play Mode when Script Changes While Playing option is set to Recompile After Finished Playing and Auto refresh is set to enabled.
    ([UUM-20409](https://issuetracker.unity3d.com/issues/script-recompiles-in-play-mode-when-script-changes-while-playing-option-is-set-to-recompile-after-finished-playing-and-auto-refresh-is-set-to-enabled))

- iOS:  Rendering freezes when the orientation is changed
    ([UUM-9480](https://issuetracker.unity3d.com/issues/ios-rendering-freezes-when-the-orientation-is-changed))

- Linux:  Crash on GUIView::IsVSyncEnabled when saving a preset
    ([UUM-29750](https://issuetracker.unity3d.com/issues/linux-crash-on-guiview-isvsyncenabled-when-saving-a-preset))

- MacOS: [2D Platformer Microgame] 2D Platformer Microgame Project crash on __cxxabiv1::__aligned_malloc_with_fallback when pinching out or in on the trackpad during “Zoom in and out” step 
    ([UUM-20720](https://issuetracker.unity3d.com/issues/m1-2d-platformer-microgame-2d-platformer-microgame-project-crash-on-cxxabiv1-aligned-malloc-with-fallback-when-pinching-out-or-in-on-the-trackpad-during-zoom-in-and-out-step))

- MacOS: [M1] Crash on System.Object:__icall_wrapper_ves_icall_array_new_specific when launching a project
    ([UUM-3207](https://issuetracker.unity3d.com/issues/m1-crash-on-system-dot-object-icall-wrapper-ves-icall-array-new-specific-when-launching-a-project))

- Mono: Crash with ScanAssemblyForAttributesAndInterfaceImplementations when opening a project
    ([1376858](https://issuetracker.unity3d.com/issues/crash-with-scanassemblyforattributesandinterfaceimplementations-when-opening-a-project))

- RP Foundation: "Resources.FindObjectsOfTypeAll(typeof(Material)).Length" increases every time when entering/exiting Play Mode
    ([UUM-27587](https://issuetracker.unity3d.com/issues/resources-dot-findobjectsoftypeall-typeof-material-dot-length-increases-every-time-when-entering-slash-exiting-play-mode))

- Scene Management: Crash on Transform::CheckStructure when manually opening a scene
    ([UUM-31129](https://issuetracker.unity3d.com/issues/crash-on-transform-checkstructure-when-manually-opening-a-scene))



### 2021.3.22f1 Release Notes

#### Fixes

- 2D: - Fixed an issue where in large Sprite Libraries the inspector would fail to load Sprite previews.
    ([DANB-367](https://issuetracker.unity3d.com/issues/sprites-start-to-flicker-in-the-inspector-of-the-sprite-library-asset-when-expanding-the-inspector))

- 2D: - \[com.unity.2d.animation\] Fixed an issue where "System.ArgumentException" thrown when opening sprite Prefab with Script.
    ([DANB-335](https://issuetracker.unity3d.com/issues/system-dot-argumentexception-thrown-when-opening-sprite-prefab-with-script))

- 2D: - \[com.unity.2d.animation\] Fixed an issue where IKEditorManager updates even when there are no active IK Manager 2Ds in the Scene.
    ([DANB-344](https://issuetracker.unity3d.com/issues/ikeditormanager-dot-initialize-is-called-when-the-editorapplication-dot-hierarchychanged-event-is-invoked))

- 2D: - \[com.unity.2d.animation\] Fixed an issue where IKGizmos will throw an exception in the editor when IKSolver has an unassigned Solver in its list.
    (DANB-370)

- 2D: - \[com.unity.2d.animation\] Fixed an issue where undo the addition of a Sprite Skin component would crash the editor.
    ([DANB-201](https://issuetracker.unity3d.com/issues/crash-on-transform-gettransformaccess-when-undoing-the-action-of-adding-sprite-skin-to-an-object))

- 2D: - \[com.unity.2d.animation\] Fixed an issue where undoing vertex painting results in a displaced mesh.
    ([DANB-309](https://issuetracker.unity3d.com/issues/2d-using-undo-in-the-skinning-editor-after-moving-bones-and-geometry-with-the-weight-brush-disfigures-the-sprite))

- 2D: - \[com.unity.2d.animation\] Fixed SpriteResolver does not animation with animation clip when upgrading from 2020.3.
    (DANB-374)

- 2D: - \[com.unity.2d.spriteshape\]  Fix case where Error "A Native Collection has not been disposed, resulting in a memory leak" occurs in Play Mode.
    ([DANB-296](https://issuetracker.unity3d.com/issues/error-a-native-collection-has-not-been-disposed-resulting-in-a-memory-leak-occurs-in-play-mode-when-a-gameobject-has-the-sprite-shape-controller-component-and-is-a-child-of-an-inactive-parent))

- 2D: - \[com.unity.2d.spriteshape\] Fix case where BezierUtility.BezierPoint function parameters are not in the right order.
    ([DANB-239](https://issuetracker.unity3d.com/issues/bezierutility-dot-bezierpoint-function-parameters-are-not-in-the-right-order))

- 2D: - \[com.unity.2d.tilemap.extras\]\[GameObjectBrush\] Align rotation and flip to 2D View in Editor.

- 2D: - \[com.unity.2d.tilemap.extras\]\[GameObjectBrush\] Fix placement of GameObjects for Hexagon Layouts with Anchor.

- 2D: - \[com.unity.2d.tilemap.extras\]\[RandomBrush\] Use default color and transform when painting over with RandomBrush.

- 2D: Fixed a crash when a user loads a Tilemap with a TilemapCollider2D and CompositeCollider2D with an invalid Sprite.
    ([UUM-29132](https://issuetracker.unity3d.com/issues/crash-on-tilemapcollider2d-generatepathsfromsprite-when-opening-specific-project))

- Apple TV: Fixed a crash when closing the hardware keyboard.
    ([UUM-26712](https://issuetracker.unity3d.com/issues/tvos-crash-when-closing-the-on-screen-keyboard-with-tvos-version-15-dot-0))

- Asset Pipeline: Fixed a case of Missing Script errors that could occur after leaving safe mode.

- Asset Pipeline: Removed use of auto keyword in LMDB library.
    (UUM-29394)

- DX12: Fixed a crash due to copying sampler descriptors.
    (UUM-29343)

- Editor: Detect asset corruption before uploading to accelerator.
    ([UUM-26502](https://issuetracker.unity3d.com/issues/asset-corruption-when-using-the-accelerator-cache-server))

- Editor: Disabled depth resolve if the camera doesn't have a depth buffer.
    (UUM-22019)

- Editor: Enabled Gradle file search to use RegEx when looking for Play library dependencies, which identifies dependencies included with both double or single quotes.
    (UUM-29110)

- Editor: Enabled shader global values to be taken into account when deciding what to rebake.
    (UUM-27392)

- Editor: Fixed "Target minimum iOS Version" requirement.
    ([UUM-29044](https://issuetracker.unity3d.com/issues/wrong-target-minimum-ios-version-is-set-in-a-newly-created-project-if-the-required-version-is-12))

- Editor: Fixed a rare Editor crash when using accelerator for shader cache.
    ([UUM-27645](https://issuetracker.unity3d.com/issues/crash-during-project-build-when-accessing-remote-shader-cache))

- Editor: Fixed an OS key binding exception in ShortcutManager.
    ([UUM-4125](https://issuetracker.unity3d.com/issues/windows-keys-show-up-with-incorrect-keycodes-and-throw-errors-when-attempting-to-reassign-shortcuts-to-them))

- Editor: Fixed freeform light tessellation for Light2D.
    ([UUM-9674](https://issuetracker.unity3d.com/issues/freeform-light2d-lighting-is-incorrect-when-moving-around-nodes))

- Editor: Fixed handling msaa resolve in Frame Debugger when connected to Meta Quest over display link.
    ([UUM-1552](https://issuetracker.unity3d.com/issues/xr-quest-2-using-the-frame-debugger-camera-dot-render-commands-are-displayed-in-red-and-black-when-msaa-is-activated))

- Editor: Fixed issue when importing FBX files where memory usage grows exponentially with the amount of clips present in the file.
    ([UUM-22047](https://issuetracker.unity3d.com/issues/unity-editor-not-responding-and-uses-up-all-the-memory-while-opening-project))

- Editor: Fixed ReorderableList element culling when drawing with GUI rotation or scaling applied.
    ([UUM-10761](https://issuetracker.unity3d.com/issues/ui-doesnt-render-list-contents-when-using-guiutility-dot-scalearoundpivot))

- Editor: Fixed the editor crash while switching avatar from generic to humanoid.
    ([UUM-22716](https://issuetracker.unity3d.com/issues/linux-crash-on-guiview-sendlayoutevent-guistate-and-when-changing-animation-type-to-humanoid))

- Editor: GameObjects from 31st layer are rendered when Camera.cullingMask is set to 'Everything'.
    ([UUM-2698](https://issuetracker.unity3d.com/issues/gameobjects-from-31st-layer-are-not-rendered-when-camera-dot-cullingmask-is-set-to-everything))

- Editor: Only change file status flags with chflags on OSX if the requested flags differ from actual.
    (UUM-26616)

- Editor: The color picker can now select the proper color on a secondary monitor on macOS
    ([UUM-2501](https://issuetracker.unity3d.com/issues/cant-select-color-from-editor-with-color-picker-when-unity-editor-is-on-secondary-monitor))

- GI: Fixed corrupted probes on scenes without a lighting data asset when running the editor with -nographics.
    ([UUM-16874](https://issuetracker.unity3d.com/issues/linear-color-space-always-renders-fullbright-when-target-platform-is-uwp))

- Graphics: Fixed failing editor mode test on M1 trying to create a PVRTC texture smaller than the minimum required size.
    (UUM-3791)

- Graphics: Product name will now be used as application name when creating Vulkan instance.
    ([UUM-25486](https://issuetracker.unity3d.com/issues/there-is-no-option-to-change-the-string-being-passed-when-unity-passes-the-string-to-the-vkcreateinstance-function))

- Graphics: VSync doesn't turn off when changing the quality in the Player from "High Fidelity" to "Performant".
    ([UUM-17522](https://issuetracker.unity3d.com/issues/vsync-doesnt-turn-off-when-changing-the-quality-in-the-player-from-high-fidelity-to-performant))

- Linux: Fixed the Mouse position so it is now correct when playing the build on a multiple monitor setup in full screen mode.
    ([UUM-26497](https://issuetracker.unity3d.com/issues/linux-mouse-position-is-incorrect-when-playing-build-on-a-multiple-monitor-setup-in-full-screen-mode))

- Networking: Fixed an issue that could prevent UDP sockets from being created on Windows when TDI filters were installed.

- Scene/Game View: Fixed selected child GameObjects not rendering gizmos when the root GameObject is not also selected.
    ([UUM-22208](https://issuetracker.unity3d.com/issues/collider-gizmos-are-not-visible-when-a-child-gameobject-is-selected-and-parent-gameobject-is-outside-the-view))

- Shaders: Fix material keywords cleared when setting the exact same list of keywords
    ([UUM-27639](https://issuetracker.unity3d.com/issues/setting-the-material-dot-shaderkeywords-field-causes-the-field-to-become-empty-when-the-new-shader-keywords-are-the-same-as-the-existing-ones))

- TLS: Cumulative TLS update.<br>
    Fixed invalid verification results reported in some cases when there is a TLS handshake failure.<br>
    Fixed an issue where opening multiple TLS connections with different lifetimes might affect the ability to produce log output after one of the first connections is closed.<br>
    Improved TLS errors reported by Unity Web Request.

- uGUI: "NullReferenceException" error is thrown when entering the Play Mode with &gt;=2 open Inspectors and Canvas GameObject is selected.
    ([UUM-1510](https://issuetracker.unity3d.com/issues/nullreferenceexception-error-is-thrown-when-entering-the-play-mode-with-equals-2-open-inspectors-and-canvas-gameobject-is-selected))

- uGUI: Instantiating a Selectable under a CanvasGroup sets the correct interactable state.
    ([UUM-27611](https://issuetracker.unity3d.com/issues/the-button-is-interactable-when-instantiated-into-a-non-interactable-canvas-group))

- UI Elements: Added "-unity-slice-scale" USS property to UI Builder and updated drag step for some style fields<br>
    Also updated dragger manipulators for the following UI Builder property inspectors \(default drag step updated from 1.0px \(old value\) to 0.1px \(new value\):<br>
    - TextShadow's Blur Radius, Offset X and Y fields<br>
    - Slice Scale field.
    ([UUM-15680](https://issuetracker.unity3d.com/issues/ui-builder-the-border-of-visualelement-is-not-created-when-slicing-a-pixel-art-sprite))

- UI Toolkit: Users can set the ScrollView's mouse wheel scroll size \(thus its speed\) with the Mouse Wheel Scroll Size attribute, regardless of its vertical and horizontal page sizes.
    ([UUM-18554](https://issuetracker.unity3d.com/issues/slow-scroll-view-scrolling-when-entering-play-mode-and-in-builds))

- Universal RP: Fixed soft shadow filtering quality when using large empty shadow atlas. Use allocated atlas size instead of requested size.
    ([UUM-10520](https://issuetracker.unity3d.com/issues/urp-shadows-are-jagged-when-shadow-atlas-resolution-is-set-to-4096))

- URP: Fixed incorrect Depth for Camera Stacks.
    ([UUM-24943](https://issuetracker.unity3d.com/issues/ios-ui-camera-stacking-is-not-working-on-some-ios-devices))

- VFX Graph: Added support for multiple subgraphs drag&amp;drop.
    ([UUM-15236](https://issuetracker.unity3d.com/issues/multiple-subgraphs-cannot-be-dragged-to-the-system))

- VFX Graph: Fixed a crash when drag &amp; dropping a vfx on another vfx with a circular dependency.
    ([UUM-14670](https://issuetracker.unity3d.com/issues/vfx-crash-on-serializablemanagedref-getscripttype-when-drag-and-dropping-subgraph-to-the-system))

- VFX Graph: Fixed the `Dispose()` method of `MeshToSDFBaker` leading to memory leaks
    ([UUM-25814](https://issuetracker.unity3d.com/issues/sdf-baking-causes-memory-to-be-allocated-that-isnt-deallocated-when-in-play-mode-and-in-builds))

- VFX Graph: GPU Event weren't always safe.
    (UUM-25065)

- WebGL: Fixed FMOD console errors when a scene is reloaded.
    (UUM-19241)

- WebGL: Fixed playback of mp3 audio files loaded via UnityWebRequest on Safari
    ([UUM-25389](https://issuetracker.unity3d.com/issues/webgl-audio-source-has-no-sound-if-the-audio-clip-was-downloaded-via-webrequest-on-ios-devices))

- Windows: Fixed IME text input not being reported appropriately when users clicks away while using an IME, with the input system. The characters would be reported multiple times.
    (UUM-24734)




#### Package changes in 2021.3.22f1

#### Packages updated

- com.unity.2d.animation: [7.0.9](https://docs.unity3d.com/Packages/com.unity.2d.animation@7.0//changelog/CHANGELOG.html) &#x2192; [7.0.10](https://docs.unity3d.com/Packages/com.unity.2d.animation@7.0//changelog/CHANGELOG.html)

- com.unity.2d.spriteshape: [7.0.6](https://docs.unity3d.com/Packages/com.unity.2d.spriteshape@7.0//changelog/CHANGELOG.html) &#x2192; [7.0.7](https://docs.unity3d.com/Packages/com.unity.2d.spriteshape@7.0//changelog/CHANGELOG.html)

- com.unity.2d.tilemap.extras: [2.2.4](https://docs.unity3d.com/Packages/com.unity.2d.tilemap.extras@2.2//changelog/CHANGELOG.html) &#x2192; [2.2.5](https://docs.unity3d.com/Packages/com.unity.2d.tilemap.extras@2.2//changelog/CHANGELOG.html)

- com.unity.nuget.newtonsoft-json: [3.0.2](https://docs.unity3d.com/Packages/com.unity.nuget.newtonsoft-json@3.0//changelog/CHANGELOG.html) &#x2192; [3.1.0](https://docs.unity3d.com/Packages/com.unity.nuget.newtonsoft-json@3.1//changelog/CHANGELOG.html)

- com.unity.purchasing: [4.6.0](https://docs.unity3d.com/Packages/com.unity.purchasing@4.6//changelog/CHANGELOG.html) &#x2192; [4.7.0](https://docs.unity3d.com/Packages/com.unity.purchasing@4.7//changelog/CHANGELOG.html)

- com.unity.services.analytics: [4.3.0](https://docs.unity3d.com/Packages/com.unity.services.analytics@4.3//changelog/CHANGELOG.html) &#x2192; [4.4.0](https://docs.unity3d.com/Packages/com.unity.services.analytics@4.4//changelog/CHANGELOG.html)

- com.unity.xr.openxr: [1.6.0](https://docs.unity3d.com/Packages/com.unity.xr.openxr@1.6//changelog/CHANGELOG.html) &#x2192; [1.7.0](https://docs.unity3d.com/Packages/com.unity.xr.openxr@1.7//changelog/CHANGELOG.html)

- com.unity.transport: [1.3.1](https://docs.unity3d.com/Packages/com.unity.transport@1.3//changelog/CHANGELOG.html) &#x2192; [1.3.3](https://docs.unity3d.com/Packages/com.unity.transport@1.3//changelog/CHANGELOG.html)