Unity 2022.2.5

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

  • 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)

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

  • OpenGL: [URP] The Scene View flickers when hovering over it with the cursor (UUM-24656)

  • Profiling: [VR Template] Standalone Profiler Crashes when opening (UUM-21186)

  • RP Foundation: [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode (UUM-25831)

  • Scripting: Script component no longer recognized in the Inspector when attached to a GameObject and then moved to a different location in the Project window (UUM-25445)

  • Serialization: Serialized field values are lost when switching between branches using Git (UUM-12454)

  • UI Toolkit Controls: Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector (UUM-25833)

  • Visual Effects: [VFX Graph] Opaque Unlit Output don't write to Depth (UUM-19559)

  • Visual Effects: [VFX Graph] Particles Flicker when sorting and/or Indirect draw is on. (UUM-24848)

2022.2.5f1 Release Notes

Improvements

  • EmbeddedLinux: Now enabled via BootConfig parameters, Editor Setting and has a scripting entrypoint.

API Changes

  • HDRP: Added: DecalShaderGraphGUI.SetupDecalKeywordsAndPass - Adding back a public API used to validate shadergraph materials by user scripts.

  • Scripting: Added: Object.FindFirstObjectByType() and Object.FindAnyObjectByType() functions added as potentially faster alternatives to Object.FindObjectOfType(). These new functions let you decide whether you must have the first (lowest InstanceID) object found or if any instance is adequate. In the latter case the function can be many times faster as no internal sorting is required. See the scripting documentation for both functions for more details.

  • Scripting: Added: Object.FindObjectsByType() function added as a potentially faster alternative to Object.FindObjectsOfType(). This new function gives users the choice whether or not to perform the expensive sorting by InstanceID on the returned collection of objects rather than having it always performed wasting time when unnecessary. See the scripting documentation for Object.FindObjectsByType() and Object.FindObjectsOfType() for more details.

Changes

  • Documentation: Added documentation for public-facing methods:<br>

    • EditorUserBuildSettings.SwitchActiveBuildTarget<br>
    • NamedBuildTarget.FromBuildTargetGroup<br>
    • NamedBuildTarget.ToBuildTargetGroup (UUM-22137)
  • Editor: Updated the documentation for AudioClip.GetData. Clarified the usage of the API for all streamed clips and made a note on the return value of AudioClip.GetData which is currently undocumented. (UUM-363)

Fixes

  • Android: Fixed an issue causing builds to fail when output file has no extension and Build App Bundle (Google Play) is enabled. (UUM-10941)

  • Android: Fixed mapping file output failure when destination folder doesn't exist. (UUM-9368)

  • Android: Warn user if both template file and disabled template file exists in project. (UUM-19338)

  • Build Pipeline: Fixed an issue where UWP test certificate would be regenerated once deleted from the assets folder. (UUM-22116)

  • Build Pipeline: Fixed null reference errors when loading user scripting objects from ContentFiles. (UUM-24989)

  • Build Pipeline: Switching between Desktop Standalone and Dedicated Server platforms in the Build Settings window should now cause scripts to recompile. (UUM-22125)

  • Core: Fixed a rare crash in the Job System that could occur during Editor shutdown and Domain Reload when cleaning up Job Reflection Data due to accessing dangling pointers. (UUM-18867)

  • Editor: Enabled AND/OR block to not always be suggested in Query builder mode. (DOTSE-1992)

  • Editor: Enabled the New Scene window to now show proper search results when a scene template is pinned. (UUM-15393)

  • Editor: Enabled the state of showtabs to persist in preferences. (UUM-15004)

  • Editor: Extracted potential Editor-only dependencies and marked those as Reference instead of Clone. (UUM-3666)

  • Editor: Fixed Pin in New Scene Dialog checkbox style in scene template inspector. (UUM-15305)

  • Editor: Fixed a bug where AssetBundle builds could fail due to incorrectly reported errors about script serialization mismatches. (UUM-19452)

  • Editor: Fixed a crash that can happen when closing Unity. (UUM-22255)

  • Editor: Fixed a problem where a failed Unity Linker invocation may cause subsequent builds to fail with "Sequence contains no elements". (UUM-18372)

  • Editor: Fixed Automatically Sign option. (UUM-2683)

  • Editor: Fixed bug related to scriptable objects so that they are now correctly reloaded in the import worker clients. (UUM-12314)

  • Editor: Fixed duplicate EditorApplication.update delegates being registered when changing editor layout. (UUM-12847)

  • Editor: Fixed for crash that could happen during asset matching in preview thread. Preview thread was not attached to scripting domain which is used by asset matcher. (UUM-11627)

  • Editor: Fixed for right click update in inspector window and package manager. (UUM-2304)

  • Editor: Fixed multi select + click so it now works in dependency list. (UUM-20649)

  • Editor: Fixed pin position. (UUM-15301)

  • Editor: Fixed showing the dependencies of scene template when there is a single dependency. (UUM-2524)

  • Editor: Fixed the scrollbar in the Description field in the new scene dialog. (UUM-15359)

  • Editor: Fixed the URL for the Scene Template pipeline documentation. (UUM-15399)

  • Editor: Removed the ability to apply components marked with HideFlags.DontSaveInEditor to Prefab. (UUM-21110)

  • GI: Fixed bug where light probes are prematurely deleted when unloading a scene after a multiscene bake. (UUM-19357)

  • GI: Fixed corrupted probes on scenes without a lighting data asset when running the editor with -nographics. (UUM-16874)

  • GI: Fixed issue where baking a single reflection probe could result in the wrong cubemap being associated with the wrong probe. (UUM-20194)

  • Graphics: Avoid memory corruption when async readback destination NativeArray is too small. Instead the readback fails. (UUM-12422)

  • Graphics: Fixed a crash on launch when the most prioritized graphics API is Vulkan and Vulkan drivers are not fully functional.

  • HDRP: Fixed diffusion profile list upgrade.

  • HDRP: Fixed usage of HDMaterial.ValidateMaterial for materials created from ShaderGraphs.

  • IL2CPP: Enabled properly forwarding declare generic value type pointer arguments. (UUM-19689)

  • IL2CPP: Enabled the marshaling offset to compute properly for the first field in an explicit layout type when that field has a non-zero offset. (UUM-19622)

  • IL2CPP: Fixed DllNotFoundException when setting a file to hidden on non-Windows platforms. (UUM-14580)

  • IL2CPP: Fixed IL2CPP build crashes when capturing memory snapshot. (UUM-21880)

  • IL2CPP: Fixed incorrect code generation for references to void* pointers. (UUM-4299)

  • IL2CPP: Fixed scenarios where assemblies that were excluded from player builds could be pulled in during managed code stripping. (UUM-14403)

  • IL2CPP: Improved performance of awaiting async operations on Windows. (UUM-20917)

  • IL2CPP: Removed caching of assemblies when probing directories in the linker. (UUM-17887)

  • iOS: Fixed freeze on startup when URP is used with memoryless depth backbuffer. (UUM-21910)

  • Kernel: Fixed reading out of bounds in FileStreamerReader::DirectRead. (UUM-22386)

  • Linux: Fixed Shift+alpha keys so that they are now recognized on certain keyboard layouts. (UUM-19010)

  • Linux: Fixed the panel focus switching when arrow keys are pressed while in play mode. (UUM-21632)

  • Mono: Added use of a relative path to the gdiplus dynamic library in the dllmap entry in the config file. (UUM-20719)

  • Mono: Fixed an issue where the internal debugger would refuse connections after performing multiple switches between release and debug editor runtime optimizations. (UUM-16704)

  • Physics 2D: Fixed a bug where a Rigidbody2D without interpolation using MovePosition per-frame could result in a memory leak.

  • Player: Fixed an issue where all objects are rendered black when using entities.graphics. (UUM-24814)

  • Scene/Game View: Fixed Grid Size field snapping to minimum grid size when trying to enter a value below one. (UUM-24640)

  • Scripting: Fixed an issue where the API updater was not able to apply changes to internal packages when the project controlled by Perforce. (UUM-16373)

  • Shadergraph: Fixed SRP Batcher compatibility issue with instanced properties. (UUM-24825)

  • Shaders: Fixed a crash when loading shaders that are incompatible with the current hardware due to resource limits. (UUM-21964)

  • UI Toolkit: Fixed an issue where the UI Builder would export "none" instead of "initial" when setting a font to null. (UUM-16426)

  • UI Toolkit: Fixed incorrect width calculated for Labels with style tags. (UUM-8428)

  • UI Toolkit: Fixed Painter2D.Arc() notch when preceded by a MoveTo() command. (UUM-22756)

  • Universal RP: Fixed an issue causing materials using Shader Graphs with material override to disappear when using the Deferred rendering path if alpha clipping is enabled in the material. (UUM-18063)

  • Universal RP: Fixed ComplexLit mixed lighting by matching ComplexLit shader keywords with the Lit shader. (UUM-18553)

  • VFX Graph: Fixed an exception while using Unlit ShaderGraph with VFX. (UUM-8053)

  • VFX Graph: Fixed an issue were Alpha Clipping have unexpected behavior in editor when used in MaterialOverride with SG integration, . (UUM-552)

  • VFX Graph: Unexpected sorting on some VFX output while using the new SG integration. (UUM-12152)

Package changes in 2022.2.5f1

Packages updated

Changeset:
551d45108343

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