Unity 2022.2.14

Released:
Select the runtime platforms of your choice from the list below (the desktop runtime is included as standard) or, to install the full complement of runtime platforms, use the download assistant installer above.
New to Unity? Get started

Known Issues in 2022.2.14f1

  • 2D: Editor goes into a loop while importing the “UI Toolkit Sample – Dragon Crashers” asset (UUM-32117)

  • Camera: [2022.2] “targetDisplay” doesn’t change the camera’s “Target Display” setting when called from the script (UUM-25995)

  • DirectX12: [DXR] GPU memory leaks when Renderer.rayTracingMode is set to UnityEngine.Experimental.Rendering.RayTracingMode.DynamicGeometry (UUM-31709)

  • DirectX12: [macOS] Editor freezes when saving prefab changes in Play Mode if “VSync” is enabled (UUM-30173)

  • FrameDebugger: Frame Debugger VRAM memory leak (UUM-28065)

  • iOS: Rendering freezes when the orientation is changed (UUM-9480)

  • Linux: [Vulkan] Crash on "__sigaction" when Vulkan is set as default Graphics API (UUM-30668)

  • Metal: [iOS] Framerate drops below 120fps when tapping the screen in a near-empty scene on iPhone 13 Pro (UUM-5944)

  • RP Foundation: "Resources.FindObjectsOfTypeAll(typeof(Material)).Length" increases every time when entering/exiting Play Mode (UUM-27587)

  • Scene Management: Crash on Transform::CheckStructure when manually opening a scene (UUM-31129)

  • Texture: [AsyncUpload] Crash on Sprite::Transfer<GenerateTypeTreeTransfer> when building the project (UUM-31364)

  • Universal RP: Flickering orbs appear when using RenderTargetHandle (UUM-26513)

  • Video: Crash on WindowsVideoMedia::GetFirstReadyTextureTime when focusing GameObject in Tutorial (UUM-21948)

  • Visual Effects: Fatal freeze when playing a VFX made with VFX Graph and consisting many effects (UUM-31773)

  • Web Platform: "wasm-ld.exe" is not terminated when canceling a WebGL Build during the "Linking build.js (wasm)" phase (UUM-20797)

  • Windows: BuildPipeline.BuildPlayer ignores BuildPlayerOptions.locationPathName and attempts to build to the cached folder (UUM-30952)

2022.2.14f1 Release Notes

Improvements

  • Animation: Reduced the cost of building muscle clips, which among other things speeds up Animator.Awake.

  • Animation: Reduced the number of GC allocations when calling Animator.GetParameter(int index) and generally made it faster.

  • Burst: Added support for ChromeOS

  • Burst: Windows/ARM64 targeting support.

  • Editor: Animation Events are now organized into sub-menus in the inspector.

  • Editor: Reduced cost of outline rendering, which improves the frame rate of the editor when many objects are selected.

  • GI: Added hotkeys for opening the lighting window and performing bakes. These are Ctrl+9 and Ctrl+Shift+L respectively.

  • iOS: "Thread Performance Checker" is now disabled by default in a generated xcode project.

  • Kernel: Performance in heavily run code paths for NativeArray, UnsafeUtility, and AtomicSafetyHandle improved through inlining.

  • Scripting: Switched some path sorting during compilation from an invariant culture compare to an ordinal compare, speeding up C# compilation when scripts are changed.

  • Shaders: Reduced the time spent in the asset post processing code for shader assets, which speeds-up the import of shaders.

  • UI Toolkit: Added missing keyboard navigation support for left and right keys in TreeView.

  • VFX Graph: Greatly reduced the import cost of VFX Graph objects, especially when importing many at once.

API Changes

Changes

  • Burst: Changed Burst Inspector input handling so that arrow-keys can be used to select in search boxes.

  • Burst: Made Burst Inspector's target job load asynchronous.

  • Serialization: Big-endian serialized files will now be automatically rewritten to little-endian in the editor, as Unity 2023.2 will drop support for reading such files.

Fixes

  • 2D: Fixed case where Sprite is not being masked when using SpriteShape. (UUM-26584)

  • 2D: Fixed truncation of path for saving Tile assets when ending is not a file. (UUM-29490)

  • Android: Enabled the unlock image to be set on each lock rather than only on the first. (UUM-21954)

  • Android: Fixed an issue where the Accelerometer values are not updated when the ASENSOR_TYPE_LINEAR_ACCELERATION sensor is disabled on certain Samsung devices. (UUM-20754)

  • Animation: Default values for animation curve parameters on Volume Components where being shared with current interpolated value on the volume stack. (UUM-20456, UUM-20458)

  • Audio: Fixed corrupt audio playing for the first time in the first launch, when audio mixer is assigned at runtime. (UUM-19696)

  • Burst: Burst managed breakpoints might fail to work, after a domain reload.

  • Burst: Domain completed stall when switching between debug/release scripting modes when burst compilation is needed for items in the new domain.

  • Burst: Fixed "An item with the same key has already been added" compiler error that could occur when duplicate field names were present in obfuscated assemblies.

  • Burst: Fixed "An item with the same key has already been added" hashing error that could occur if obfuscators changed nested type names to have the same name and different namespaces.

  • Burst: Fixed "Failed to find entry-points: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly" error that was displayed when Burst tried to compile an assembly that had C# compilation errors.

  • Burst: Fixed a BadImageFormatException error that could occur in some player builds.

  • Burst: Fixed Burst compilation error relating to UnityEngine.Assertions.Assert.Fail when doing player builds with high stripping settings.

  • Burst: Fixed code-gen issue where side-effects before a conditional throw would be ignored.

  • Burst: Fixed inaccurate stacktraces when throwing an exception from Burst in specific cases.

  • Burst: Fixed incorrect codegen when having multiple try-finally blocks inside another try-finally block (for example from foreach loops).

  • Burst: Fixed incorrect pdb path for AoT dll libraries.

  • Burst: Fixed line highlight and register highlight not clearing when Burst Inspector settings change.

  • Burst: Fixed possible deadlock when compiling after domain reload.

  • Burst: Fixed that some changes made to versioned assemblies wouldn't get picked up and compiled by Burst.

  • Burst: Fixed MethodDecoderException when trying to call CompileFunctionPointer on a nested static method.

  • Burst: Neon intrinsics: fixed default target CPU for Arm Mac Standalone builds.

  • Core: Enabled JobsUtility.ThreadIndex and JobsUtility.ThreadIndexCount to now be used in Burst compiled static constructors. Previously, their use would result in a "BC1091: External and internal calls are not allowed inside static constructors" error. (UUM-31459)

  • DX12: Fixed for samplers resetting to point on streaming texture mips. (UUM-27504)

  • Editor: Fixed a bug with animation preview. (UUM-27517)

  • Editor: Fixed a situation where opening a regular window after an auxiliary window can cause a crash if the window closes. (UUM-29982)

  • Editor: Fixed EnumField not updating the value label when calling Init and the value was the same.<br> Fixed EnumField updating the label when calling SetValueWithoutNotify and the value had not changed. (UUM-28904)

  • Editor: Fixed freeform light tessellation for Light2D. (UUM-9674)

  • Editor: Fixed issue where -nographics command line argument was not being forwarded to the Asset Import Workers. (UUM-29722)

  • Editor: Fixed multiple mouse click event reported in imgui. (UUM-30742)

  • Editor: Fixed shortcut profile delete dialog message overflow in Shortcut Manager. (UUM-28294)

  • Editor: Improved the formatting for the context column in Shortcut Manager. (UUM-28692)

  • Entities Graphics: Fixed Custom passes when using the BatchRendererGroup. (UUM-30471)

  • GI: Fixed an issue where scene debug visualization modes would look broken when baking multiple scenes together. (UUM-17494)

  • GI: Fixed an issue with Light Explorer filtering when many lights are present. (UUM-30672)

  • Graphics: Fixed blitting from RenderTexture.active to another RenderTexture with a shader sampling a texture at specific UV values causing visual artifacts. (UUM-7994)

  • Graphics: Fixed for problem with reflecton probe normalization data being invalid. (UUM-28054)

  • Graphics: Removed the deprecation of SceneRenderPipeline and limited its behaviour until a replacement is proposed. (UUM-11126)

  • IL2CPP: Corrected the clipped output from System.Diagnostics.Debug.WriteLine(). (UUM-26431)

  • IL2CPP: Fixed a bug where IL2CPP returns an invalid pointer on P/Invoke methods that returns a non-blittable struct by reference. (UUM-20790)

  • IL2CPP: Fixed a bug where referenced assets are unloaded by Resources.UnloadUnusedAssets(). (UUM-26883)

  • IL2CPP: Fixed a C++ compilation error when assigning to a ref parameter in shared generic code with constraints. (UUM-28821)

  • IL2CPP: Fixed a C++ compilation error when structs had static fields with circular type references. (UUM-16351)

  • IL2CPP: Fixed an intermittent crash on POSIX platforms which can happen when Directory.GetFiles is called while files in that directory are deleted on a different thread. (UUM-29790)

  • IL2CPP: Improved the stability of generated field names. (UUM-23162)

  • IL2CPP: Marshalled a null value in a delegate field as a null delegate. (UUM-29202)

  • Kernel: Added additional logging when deallocating temp memory that is older than permitted lifetime. (UUM-23100)

  • License: Fixed an issue where the Editor quits when activating ULF license and the license already exists. (UUM-31031)

  • Mono: Removed throw from attribute setters generated by profile stubber. (UUM-18689)

  • Mono: Removed !sig-&gt;is_inflated assert from icall wrapper generator. (UUM-27888)

  • Package: - Android SDK Level 33 (Tiramisu) support now available.<br>

    • Added necessary post notification permission to manifest.<br>
    • Package will now ask for permission during initialization if required.<br>
    • External Dependency Manager for Unity (EDM4U) and Mobile Dependency Resolver (MDR) support now available. When either is installed:<br>
    • A new PushSDKDependencies.xml file is generated for them to use.<br>
    • InsertPushNotificationDependenciesIntoGradleScript will not run to prevent duplication from gradle.<br>
    • Fixed errors appearing in the Editor Play Mode due to platform specific classes instantiating.
  • Package Manager: Fixed all delayed fields when editing a package in the inspector. (UUM-19658)

  • Shadergraph: Addressed error feedback on import of graphs with invalid or missing targets, allowing them to be modified and saved. [SGB-166][SGB-167]

  • Shadergraph: Addressed issue where duplicate serialized blackboard category children would in subgraphs would brick the ShaderGraph editor. [SGB-378]

  • Shadergraph: Addressed issue where missing targets were not handled on import. [SGB-1]

  • Shadergraph: Addressed various issues with the Swizzle node. [SGB-159]

  • Shadergraph: Fixed issue where custom interpolator previews would provide erroneous results when connecting through a reroute node. [SGB-89]

  • Shadergraph: Fixed issue where reroute node would sometimes show the wrong color for its appropriate inputs. [SGB-17]

  • Shadergraph: Fixed issue where subgraph gradient blackboard properties could have naming conflicts with parent graphs. [SGB-310]

  • Shadergraph: Fixed issue where the Gradient Noise Node was causing implicit truncation warnings. [SGB-469]

  • Shadergraph: Fixed issue where the view position of the graph editor would sometimes be forgotten when swapping between two open shadergraph editor windows. [SGB-377]

  • SRP Core: Fixed Decal Projector Editor fields so they are now saved when editing a prefab. (UUM-29105)

  • SRP Core: Revert Property for animation curves on Volume Components (UUM-20456, UUM-20458)

  • UI Toolkit: Added missing support for TreeView reordering, including depth reordering, expansion when hovering an expandable item, and sibling drop marker. (UUM-3683)

  • UI Toolkit: Fixed element becoming invisible after a reorder in an animated ListView. (UUM-21272)

  • UI Toolkit: Fixed items going slightly out of bounds in ListViews. (UUM-28519)

  • UI Toolkit: Fixed items in animated lists sometimes disappearing. (UUM-25833)

  • UI Toolkit: Fixed NullReferenceException followed by ArgumentException when removing an element from its panel during a style transition. (UUM-22564)

  • UI Toolkit: Fixed the reported TreeView state after a reorder operation. (UUM-3478)

  • UI Toolkit: Fixed the sound on Mac when navigating collection views with keyboard. (UUM-26264)

  • VFX Graph: Exposure weight slider was not hidden when a shadergraph was assigned to an output context. (UUM-4753)

  • VFX Graph: Fixed errors in the console when undoing changes from gizmo in some specific conditions. (UUM-21929)

  • VFX Graph: The VFX component inspector had an unpaired EditorGUI.BeginChangeCheck that was breaking the state of GUI.changed (UUM-15919)

  • Video: Disabled replacement operator new/delete for Android so it no longer causes a crash with VideoPlayer. (UUM-21724)

  • Video: Improved Variable Frame Rate support for Apple platforms. (UUM-21455)

Package changes in 2022.2.14f1

Packages updated

Changeset:
b2c9b1ac6cc0

Third Party Notices

For more information please see our Open Source Software Licenses FAQ on the Unity Support Portal

Usamos cookies para garantir a melhor experiência no nosso site. Visite nossa página da política de cookies para obter mais informações.

Eu entendi