Unity 2022.3.18

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

  • 3D Physics: Physics.ComputePenetration returns False when two colliders overlap (UUM-15831)

  • Animation: Editor crashes with Error “TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations” when loading specific AssetBundle (UUM-59736)

  • Asset - Database: Missing Default Layout dialog on projects created using templates packaged on 2022.3.13f1 (UUM-55758)

  • Asset Bundles: UV1 data is lost during AssetBundle build when Optimize Mesh Data is on (UUM-57201)

  • Asset Importers: Crash on SpriteRenderer::OnDeleteSprite when opening a project with "TopDown Engine" by More Mountains imported (UUM-59618)

  • Audio Authoring: Wrong tooltip when hovering over the "Load In Background" property of an audio clip (UUM-27581)

  • DirectX12: Crash on D3D12Fence::Wait when using Forward+ Rendering Path with Better Shaders asset (UUM-57113)

  • DOTS: [Android] [Entities] Build fails with the error “Asset has disappeared while building player to 'globalgamemanagers.assets' - path '', instancedID '-xxxxxx'“ when building (UUM-41830)

  • Editor Platform: Crash on -[CocoaMainMenu validateMenuItem:] when pressing/searching in Help (UUM-33727)

  • GLES: [Linux][URP] Crash on GfxFramebufferGLES::Clear when entering the Play Mode when all Renderer Features are disabled, Native RenderPass and MainCamera's Depth Texture is enabled (UUM-49240)

  • IAP: [Android] The Player crashes with a "JNI ERROR (app bug)" error when the global reference table gets overflowed by BillingClientStateListener (UUM-55105)

  • IL2CPP: [Android] Crash on Android when AndroidJavaProxy is calling from multiple threads (UUM-49357)

  • Kernel: Crash on TransformAccessClearCallback when undoing ModularAvatar > Setup Outfit (UUM-59652)

  • MacOS: Mouse and keyboard button inputs are delayed when in the Player on macOS (UUM-59176)

  • Mono: Crash in CollectManagedImportDependencyGetters inside OpenScene in batch mode (UUM-57742)

  • PhysX Integration: ConfigurableJoint's drives behave differently after the PhysX 4.1.2 update (UUM-55081)

  • Scene Management: Crash on GameObject::QueryComponentByType when opening a project (UUM-58461)

  • Scripting Buildtime: Unclearable nunit error when installing/uninstalling the Entities package on a new project (UUM-58284)

2022.3.18f1 Release Notes

Features

  • iOS: Added Apple Privacy Manifest support.

  • VisionOS: The Apple visionOS platform is no longer experimental.

API Changes

  • Package: Added: XR Hands (com.unity.xr.hands) 1.4.0-pre.1 added as next version in package manifest.

  • Package: Changed: XR Interaction Toolkit (com.unity.xr.interaction.toolkit) 3.0.0-pre.1 added as next version to package manifest to allow discoverability.

Changes

  • Burst: Updated default LLVM to version 16.

  • Package: Updated code coverage package to version 1.2.5.

Fixes

  • 2D: Fixed local bounds of 2D Freeform Light from changing when scene is reloaded. (UUM-49000)

  • 2D: Fixed metal warnings spammed in console. (UUM-14313)

  • 2D: Fixed Tile's StartUp not being called when refreshed if the Tile has an instantiated GameObject. (UUM-57053)

  • Android: Fixed Graphics.Blit with Vulkan PreTransform creating corrupted RenderTexture data in landscape orientation. (UUM-52910)

  • Android: Fixed problem with WebCamTexture feed being black when using it on an older OS version device. (UUM-58286)

  • Android: Upgraded Google's Frame Pacing library from v1.7 to v1.10 to fix various stability and performance issues with Optimized Frame Pacing. (UUM-57566)

  • Animation: Fixed erroneous discrete int and enum default values written back by the Animator. (UUM-58573)

  • Asset Import: Fixed issue where "Multiple plugins with the same name" error occurs when importing bundle files in .androidpack folders on Mac. (UUM-35317)

  • Audio: Fixed an issue in visionOS builds where audio would not resume after the app resumes from the background. (LXR-3040)

  • Audio: Fixed performance issue that would occur when having many inactive audio sources in a scene. (UUM-52194)

  • Build System: Don't crash on windows if there are duplicate environment variable keys.

  • Burst: Burst recompiles assemblies due to hashes mismatching because of the way assembly defines are combined into the hash.

  • Burst: Fixed an issue where underflows of nint and nuint at compile time would lead to incorrect code.

  • Burst: Fixed an issue where use of certain intrinsics could cause a compile error even if properly guarded by the appropriate IsXXXSupported property.

  • Burst: Fixed android builds throwing a NullReferenceException.

  • Burst: Fixed arithmetic and bitwise negation on native integers.

  • Burst: Fixed burst not differentiating between overloaded generic functions such as T foo(int val) and T foo(T val) when the function calls are foo(1); foo<int>(1). Burst would previously only compile the T foo(T val) function.

  • Burst: Fixed constant SHUFFLE function not seen as a constant when called indirectly through a FunctionPointer.

  • Burst: Fixed the managed fallback for bursts intrinsic functions cvt_ss2si, cvtss_si32, and cvtss_si64 to follow midpoint rounding standard of nearest even.

  • Burst: If an exception is thrown from burst compiled code in the Editor on Windows there was potential for certain callee saved registers to be corrupted. In order to fix this ( editor only - player builds are unaffected), we now save some additional context on each entry point.

  • Editor: Context menus in transient search now respect light mode themes on macOS. (UUM-59378)

  • Editor: Disabled third party plugins in macOS context menus. (UUM-54055)

  • Editor: EditorApplication.focusChanged now gets triggered using operating system dependent application focus events (UUM-41894)

  • Editor: Enabled clang sanitizer tool built so that linux can be built with ./jam LinuxEditor/LinuxPlayer -sASAN=1 -sUBSAN=1 -sTSAN=1. (UUM-53077)

  • Editor: Fixed a bug on Linux where the Edit menu was displaying the wrong default shortcut for Delete. (UUM-59833)

  • Editor: Fixed build errors due when switching between build targets using buildPlayer command line options. (UUM-34899)

  • Editor: Fixed crash in shortcut generation on Mac OS. (UUM-56950)

  • Editor: Fixed issue with MaskField using the wrong data to render selected items. (UUM-58570)

  • Editor: Fixed Opaque Layer Mask filters out meshes that use the 31st Layer. (UUM-17764)

  • Editor: Global Settings will always be ensured no matter what RP is active. (UUM-47264)

  • Editor: Increased VisionOS Metal RuntimeVersion to 7 (should enable tessellation).

  • Editor: Linux CheckedMenu submenu items not displaying as Checked in some occasions. (UUM-58878)

  • Editor: Opening a context menu on macOS will now focus the application so all functions in the hierarchy work. (UUM-26081)

  • Editor: Printing proper message into console when compiling mesh data optimization processing to avoid confusing logs. (UUM-54590)

  • Editor: Some visionOS builds will no longer fail with an inability to execute process_symbols.sh.

  • GI: Fixed crash on Apple Silicon in llvm::VectorType::get when opening a specific project. (UUM-59133)

  • Graphics: Clarify RenderTexture creation error wording to use "volumeDepth" instead of "depth". (UUM-59895)

  • Graphics: DrawProceduralNow family of functions also provide emulated vertexbuffers. (UUM-51751)

  • Graphics: Fixed missed samplerCubeArrayShadow texture binding when processing GLSLang reflection. (UUM-59188)

  • Graphics: Ignore volumeDepth during RenderTexture creation validation for texture dimensions Texture2D and Cubemap as noted in the API documentation. (UUM-60005)

  • Graphics: Surface shader path has correct parameters set when emulating vertexbuffers. (UUM-52930)

  • Graphics: When using CaptureScreenshotAsTexture during the rendering process with Metal API, if the results are undefined then Unity now outputs an error instead of crashing. (UUM-47096)

  • HDRP: Async compute Presents issues when depending on the first texture read of depth. In some platforms (vulkan/dx12 and some consoles) the first read of depth is actually a write because of decompression / layout / barriers.<br> Async compute is inserting the fence before this operation because RenderGraph sees everything as a simple Read / Write.<br> Temporarily hacking this so the first read of depth is tagged as a write, so the correct fence is inserted. (UUM-57601)

  • HDRP: Fixed incorrect shadows rendering in player. (UUM-7816)

  • IL2CPP: Fixed C++ compilation error when Enum.HasFlag was called with a Nullable enum value. (UUM-58451)

  • IL2CPP: Fixed conversion errors on constrained calls in shared generic code. (UUM-55756)

  • IL2CPP: Fixed crash when calling Type.IsGenericTypeParameter and Type.IsGenericMethodParameter. (UUM-56064)

  • IL2CPP: Fixed null value on P/Invoke method with an [Out] marshalled blittable class parameter. (UUM-57901)

  • Linux: Fixed CursorLockMode.Confined does not confine cursor when using multiple displays. (UUM-57233)

  • macOS: Fixed secondary display refresh rate values being invalid. (UUM-37294)

  • Mono: Fixed issue where invoking a virtual method on a delegate would only consider the method's overrides on the first call. (UUM-55774)

  • Package Manager: Fixed the issue where bundled plugins cannot be exported into a .unitypackage file. (UUM-37376)

  • Player: Fixed incorrect shadows rendering in player. (UUM-25408)

  • Profiler: Fixed an issue whereby all Rendering statistics could be zero in Play Mode when the application's target frame rate was set. (UUM-58128)

  • Scene/Game View: Fixed an issue where continuously panning an orthographic SceneView camera would eventually cause the rendered geometry to be clipped. (UUM-56425)

  • Scene/Game View: Fixed issue where holding the Shift key down and scrolling with the mouse wheel would not change SceneView's camera speed while in Flythrough mode. (UUM-56423)

  • Scripting: Fixed incorrect asset icon when script name is 'GameManager'. (UUM-46121)

  • Shaders: Added _KEYWORD_DECLARED define for each shader keyword so that it is possible to select code sections based on the keyword presence. (UUM-59203)

  • Shaders: Ensures internal shader compiler errors such as losing connection to a compiler process aren't cached like compilation errors are. (UUM-28802)

  • Shaders: Fixed an incorrect warning being shown when doing paired calls to SetAsyncCompilation / RestoreAsyncCompilation on RenderingCommandBuffer. (UUM-59508)

  • UI Elements: Fixed the multicolumn control not calling DestroyItem when clearing its itemsSource and calling a Rebuild. (UUM-54832)

  • UI Elements: Fixed the UI Builder hierarchy element duplicate command. (UUM-60026)

  • UI Toolkit: Fixed elastic scrollview jittery on drag. (UUM-56550)

  • UI Toolkit: Fixed missing dirty-repaint when setting the DynamicColor hint. (UUM-59393)

  • UI Toolkit: [Properties] Fixed an issue where the source generator would output reflection code when direct access was possible. (UUM-59924)

  • Universal RP: Fixed an "floating point division by zero" warning in Shadows.hlsl.

  • Universal RP: Fixed an "Implicit truncation of vector type" warning in ShaderPassDecal.hlsl.

  • Universal RP: Fixed an "Output value 'fragmentOutput' is not completely initialized" warning in ShaderPassDecal.hlsl.

  • Universal RP: Fixed an error in Bloom.shader for foveated when the debug check is enabled inside FoveatedRendering.hlsl.

  • Universal RP: Fixed an issue where disabling SSAO feature didn't work in built projects when the SSAO disabled keyword had been stripped out. (UUM-56165)

  • Universal RP: Fixed an issue where Evaluate SH and SoftShadow keywords were incorrectly declared in ShaderGraph shaders. (UUM-59974)

  • Universal RP: Fixed an issue where LOD Crossfade was declared twice in Unlit ShaderGraph.

  • WebGL: Improved texture memory usage for Text Mesh Pro font textures on WebGL2 by enabling support for Alpha8 texture format. (UUM-59366)

  • Windows: Fixed automatic resizing of an unfocused player window once the mouse button is released. (UUM-49236)

  • Windows: Removed undesirable HID warning messages. (UUM-56489)

  • XR: Enabled MSAA with single pass on VisionOS.

Package changes in 2022.3.18f1

Packages updated

Pre-release packages added

Changeset:
d29bea25151d

Third Party Notices

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

我们使用 Cookie 来确保为您提供网站的最佳体验。有关更多信息,请访问我们的 Cookie 政策页面

明白了