Unity 2022.2.2

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.2f1

  • 2D: [URP] Memory leak when in Play Mode (UUM-19089)

  • Animation: Root Motion character warps into a new position when negative speed values are applied in a Blend Tree (UUM-21885)

  • IMGUI Framework: Array values aren't changed when altering them in a custom EditorWindow (UUM-15645)

  • iOS: [M1] Crash on MTLGetEnvCase<MTLErrorModeType> when building the project for iOS (UUM-22385)

  • Kernel: [2D] The order of the Sprites is changed in the drop-down asset creation menu (UUM-12509)

  • MacOS: Crash on __pthread_kill when dragging Sprites into the Scene view (UUM-20950)

  • Metal: [iOS]Unable to maintain 120fps consistently in a near-empty scene on iPhone 13 Pro (UUM-5944)

  • Shader System: GameObjects doesn't get rendered when using "Unlit.Unlit_UsePass" Shader (UUM-18980)

  • Video: [Android] Application crashes when changing the source URL of a video player in Android (UUM-20661)

2022.2.2f1 Release Notes

Features

  • Universal RP: Added Temporal Anti-aliasing support. Available from Camera Anti-aliasing settings. Known limitations: Incompatible with MSAA, Dynamic Resolution or Camera stacking. Supports fixed resolution only, no temporal upsampling supported.

Improvements

  • Build Pipeline: Improved error handling for builds to show less redundant error messages.

  • Editor: Improved performance of Handles.DrawAAPolyLine.

  • Editor: Improved performance of rendering the Project Settings. It would previously repeatedly query all objects loaded into the editor, which meant that operations that load assets into memory (entering playmode) would make the Project Settings unusable slow.

  • Graphics: Registration of the Shader.globalRenderpipeline is done internaly and using the renderPipelineShaderTag from the RenderPipelineAsset that is currently in use.

  • Physics: Increased the Articulation Body tree limit from 64 to 256 bodies.

  • Profiler: Reduced the performance cost of drawing charts in the profiler.

  • VFX Graph: Fixed lightmap range limitations. (UUM-19058)

API Changes

  • Build Pipeline: Obsoleted: Application.SetBuildTags and Application.GetBuildTags are now obsolete.

  • Graphics: Added: Overridable property renderPipelineShaderTag on the RenderPipelineAsset.

Changes

  • Universal RP: Shader parameters used by additional lights are now removed when additional lights are disabled in URP Assets.

Fixes

  • Asset Pipeline: Fixed an issue where the standalone profiler could crash or emit errors when the script domain reloads in the editor. (UUM-19179)

  • Build Pipeline: Doing a clean build will remember state about built files, so that files no longer in a build can be deleted in subsequent builds.

  • Build Pipeline: Fixed a bug where building a development player, and then a non-development player with no other changes could show the "Development Player" watermark.

  • Build Pipeline: Fixed a potential bug where building players could in rare circumstances fail with a sharing violation on a file called buildreport.json_2.traceevents.

  • Build Pipeline: Fixed an issue where build GUIDs would sometimes not change between subsequent builds.

  • Build Pipeline: Make postprocess callbacks correctly report player path for "install in builds folder". (UUM-4118)

  • Core: Fixed ShaderGraph code generation to properly enable GPU instanced properties. (UUM-20505)

  • Editor: Added a check to ensure context view context can't be duplicated, copied or cut. (UUM-2655)

  • Editor: Added a proper error message when trying to run the Editor in a misconfigured environment with no HOME variable set (Mac and Linux). (UUM-14787)

  • Editor: Added EditorSceneManager event for RestoreSceneManagerSetup so systems can get notified about it. (UUM-19655)

  • Editor: Camera relative culling options have been added to the Graphics section in Project Settings. This will potentially alleviate light popping issues due to lack of precision when the objects or lights are far from the origin. Enabling the camera relative culling setting for lights will potentially introduces issues for objects or lights that are far from the camera origin. (UUM-7551)

  • Editor: Converting the root in a Prefab Asset to a Prefab instance to create a variant is now disallowed, similarly as Replace Prefab instance. This guard is added to prevent loosing default overrides and references for all instances of the Prefab.'. (UUM-20181)

  • Editor: Fixed a bug when zooming in using the orthographic camera, the terrain texture was previously rendered incorrectly. Now when zooming in, the texture on the terrain should be rendered correctly. (UUM-1809)

  • Editor: Fixed a bug which caused auto with Generate Lighting to not work as expected in connection with DOTS. Auto mode will now be ignored in the backend when the core Entities package is used.<br> Note: An inspector window and the lighting settings window will show the value of 'Auto Generate' which has been set in the lighting settings asset. The lighting window will show a warning if Auto Generate is ticked but it will not prevent the user from doing so.<br> Note that the following lighting window UI changes have been included in the fix:<br> Auto Generate is not disabled when the Entities package is used. The checkbox will represent the actual value in the lighting settings asset.<br> The warning is only shown if Auto Generate is ticked and the text is updated to say Auto Generate mode is ignored [...]. (UUM-18955)

  • Editor: Fixed a crash when a window is closed during EditorWindow.OnLostFocus. (UUM-12434)

  • Editor: Fixed an issue if -createProject is used would force script recompile. (UUM-10810)

  • Editor: Fixed animation clip's preview window's grid's depth when using deferred rendering in URP. (UUM-2947)

  • Editor: Fixed Auto-save scenes checkbox. (UUM-11717)

  • Editor: Fixed EvaluateArgs instabilities. (UUM-16646)

  • Editor: Fixed for special characters not displaying as expected in built application names on Android. (UUM-12251)

  • Editor: Fixed intermittent crash when destroying/recreating menu items on Linux. (UUM-11724)

  • Editor: Fixed issue when there are 0 quality levels for the current platform and gathering the RP assets for the current target was not returning the one in GraphicsSettings. (UUM-19235)

  • Editor: Fixed issue where mouse up and mouse down events were reported twice in OnGUI when using the Device Simulator. (UUM-14340)

  • Editor: Fixed regression where physical camera settings were no longer affecting the scene view camera in HDRP. The settings are not properly handled. (UUM-18190)

  • Editor: Fixed serious Editor performance issue when running on macOS Ventura. (UUM-19011)

  • Editor: Fixed some keyboard shortcuts not working on MacOS editor. (UUM-20428)

  • Editor: Fixed tile palette dropdown flickering. (UUM-8307)

  • Editor: Fixed UI Builder importing image in unity ask to save changes then errors out. (UUM-8302)

  • Editor: Improved automation speed on mac. (UUM-9301)

  • Editor: Prevent too many open files error when uploading to Accelerator. (UUM-19028)

  • Editor: Removed Exported define from SearchService to avoid domain reload. (UUM-18922)

  • Editor: [OpenGL] Editor goes into infinite loading when the options menu in a Game View window is clicked. (UUM-6030)

  • GI: Added the range property to the Light Explorer window.

  • GI: Fixed crash in LightProbesManager after removing the first added probeset. (UUM-17760)

  • GI: Fixed lightprobes getting direct lighting in subtractive mode. (UUM-1344)

  • GI: Fixed looping error message when baking in prefabs and subscenes. (UUM-15675)

  • HDRP: Enabled SSR transparent in default framesettings. (UUM-19598)

  • HDRP: Fixed scalarization issues on Gamecore.

  • HDRP: Improved the script linking the directional light to a Custom Render Target calling the RenderPipeline function GetMainLight(). (UUM-14543)

  • IMGUI: Removed Resolve of invalid GC handle error occurring when exiting Play mode. (UUM-14969)

  • iOS: Fixed a hang on startup on iOS 16 when linking to UnityFramework. (UUM-16259)

  • Linux: Fixed crash on Linux inside profiler memory sampling function. (UUM-19153)

  • macOS: Fixed a hang on startup on MacOS 13 when running from Xcode. (UUM-15967)

  • macOS: Removed developer placeholder text from progress dialog. (UUM-18221)

  • Networking: Fixed race condition between DownloadHandlerTexture and Resources.UnloadUnusedAssets, sometimes cause premature destruction of the texture. (UUM-18044)

  • Particles: Fixed some particle script API so it now syncs in-flight update jobs before modifying state. (UUM-12469)

  • Scripting: Fixed a bug where the editor could throw an Exception after an asmdef setup error was fixed. (UUM-15296)

  • Scripting: Fixed an issue where caching of package assemblies could cause script debugging to pick up files from a different project.

  • Serialization: Fixed issue where de-serializing Prefab containing a SerializeReference which has been refactored not handles MovedFrom. Improved AssetDatabase script type dependency so that if a missing SerializeReference instance type, re-appears importers depending on it will be trigerred. (UUM-6733)

  • Shadergraph: Fixed a number of memory leaks in ShaderGraph where windows and view elements were not disposing of resources properly. (UUM-20502)

  • Shaders: Fixed a crash in Shader Prefiltering when the Render Pipeline assets contain circular data references. (UUM-19976)

  • Shaders: Fixed a rare issue with auxiliary texture properties not being initialized properly. (UUM-15576)

  • Shaders: Fixed reflection probe rendering silently being skipped when the required shader is not found in the player. (UUM-12628)

  • Shaders: Fixed Texture and Vector material properties not supporting displaying tooltips. (UUM-5691)

  • SRP Core: Added Local mode to fit Probe Volumes to scene. (UUM-17784)

  • SRP Core: Fixed recalculating of apv probe positions. (UUM-19991)

  • SRP Core: Fixed virtual offset pushing probes outside of geometry. (UUM-19697)

  • TextCore: Corrected the ellipsis behavior on last visible lines. (UUM-10417)

  • UI Toolkit: Element collapse/expand arrows were invisible when using UI Elements List View. (UUM-9854)

  • UI Toolkit: Fix playmode tint not applied to text color. (UUM-7215)

  • UI Toolkit: Fixed display issue when resizing parent of Visual Element with negative scale. (UUM-18196)

  • UI Toolkit: Fixed layout instabilities with scrollviews and IMGUIContainers in scrollviews. (UUM-16435)

  • UI Toolkit: Fixed Painter2D thin strokes so that they don't look semi-transparent anymore. (UUM-15265)

  • UI Toolkit: Fixed the old theme not being removed from the list of documentElement's stylesheet when changing the current theme. (UUM-11196)

  • UI Toolkit: Fixed tight-mesh showing neighboring sprite artefact caused by the background-repeat feature. (UUM-20050)

  • UI Toolkit: Make sure clickable is not invoked when target Visual Element is not enabled. (UUM-16476)

  • Universal RP: Fixed an issue with slower build-times caused by large Additional Light Shadows arrays in URP Shaders. (UUM-17405)

  • Universal RP: Fixed releasing render targets when using multiple renderers. (UUM-16481)

  • URP: Fixed a bug where lights with different blend styles may have missing shadows. (UUM-1872)

  • URP: Fixed an issue where the Universal Renderer could incorrectly clear the render target during the forward opaques pass even if the render target contains valid rendering data produced by a pass that ran before opaque rendering. (ARFB-190)

  • URP: Fixed mixed lights when using deferred rendering and shadow mask. (UUM-19587)

  • VFX Graph: Fixed an issue that VisualEffect spawned behind the camera were always updated until visible and culled. (UUM-6379)

  • VFX Graph: Fixed an issue with the out of range exception on GPU when multiple spawn context are plugged to the same initialize system. (UUM-8351)

  • VFX Graph: Removed unexpected GC.Alloc while accessing to state.vfxEventAttribute in [VFXSpawnerCallbacks](https://docs.unity3d.com/ScriptReference/VFX.VFXSpawnerCallbacks.OnUpdate.html). (UUM-14769)

  • VFX Graph: Six-way lighting fixes. (UUM-19052)

  • Video: Video is displayed with one frame delay when videoPlayer.Play() is called. (UUM-15543)

  • Web: Fixed a bug on Chrome on iOS where the WebGL canvas cannot regain focus after losing it. (UUM-1166)

  • XR: Fixed VR run in background focus issue.

Package changes in 2022.2.2f1

Packages updated

Changeset:
c93c5d3acf5b

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