发行说明

Known Issues in 2023.1.0a5

  • 2D: [Lost Crypt] Unable to find URP 12.1.0 package error when importing Lost Crypt (1388129)

  • AI Navigation Core: Trigger volumes are included in nav mesh generation for NavMeshSurface when geometry is set to Physics Colliders (UUM-10109)

  • Android: Workaround for crash on many PowerVR based devices (UUM-7782)
    Fixed in 2023.1.0a6.

  • Asset - Database: Infinite import on opening project (related to prefabs) (1411189)

  • Editor: Fix hang when dragging first root GameObject below itself in the Hierarchy (UUM-10504)
    First seen in 2023.1.0a5.
    Fixed in 2023.1.0a7.

  • Editor: Fix Unity Event callback list calculating its height incorrectly (UUM-8350)
    First seen in 2023.1.0a1.
    Fixed in 2023.1.0a6.

  • Editor: Fixed crash in LightProbe Gizmo Rendering. (UUM-10958)
    First seen in 2023.1.0a5.
    Fixed in 2023.1.0a7.

  • Editor: Fixed SceneView exceptions on some mouse interactions (UUM-6908)
    First seen in 2023.1.0a1.
    Fixed in 2023.1.0a6.

  • Graphics: Fix for new XR Display headers breaking Oculus App Spacewarp (ASW) due to a problem in back-compat code path. Fix for Vulkan validation error when GFR is disabled. (UUM-7369, UUM-9583)
    Fixed in 2023.1.0a7.

  • IL2CPP: Linux IL2CPP builds fail with "BuildFailedException: Incremental Player build failed!" (1427577)

  • MacOS: [Mac] Editor performance drops on macOS when clicking and dragging on Position, Rotation and Scale values in Transform component (UUM-7457)

  • Mono: [Linux] C# Reflection performance is 50 to 60 times slower (UUM-11526)

  • Profiling: Profiler Modules submenu and window is missing Titles of Modules and Counters (1419236)

  • RP Workflow: [HDRP] Standalone Profiler throws "HDRP Material Upgrade" pop-up and crashes after pressing "Ok" (1422062)

  • Scene Management: Undo crashes Unity with segmentation violation SIGSEGV (1385565)

  • Scene Management: [Undo] Additional GameObjects and a Console error after Undoing and Redoing a Paste As Child (UUM-9278)

  • Shader System: Shader variant build preparation does not scale (UUM-3711)

  • Shaders: fixed a crash when calling GetShaderKeywords on a user-constructed ShaderKeywordSet. (UUM-2536)
    Fixed in 2023.1.0a6.

  • uGUI: Fixed calculation of pointer position when running in multiple display mode and the main display was fullscreen with a non-native aspect ratio. (UUM-7893)
    Fixed in 2023.1.0a6.

  • UI Toolkit: Fixed an issue with numeric fields where entering negative value would yield incorrect values. (UUM-10177)
    First seen in 2023.1.0a4.
    Fixed in 2023.1.0a7.

  • UI Toolkit: Fixed ListView to accept drag and drop to populate serialized arrays in the Editor. (UUM-7948)
    First seen in 2023.1.0a2.
    Fixed in 2023.1.0a6.

  • Undo System: Handle additional changes when entering and exiting playmode (UUM-9631)
    First seen in 2023.1.0a4.
    Fixed in 2023.1.0a7.

  • Windows: Fixed an Editor issue where entering an IP address for profiling would crash the Editor. (UUM-9247)
    First seen in 2023.1.0a3.
    Fixed in 2023.1.0a6.

New 2023.1.0a5 Entries since 2023.1.0a4

Features

  • 2D: Added Sprite/SpriteShape/TilemapRenderer as mask sources for SpriteMask.

  • Editor: Added editor analytics event tracking for "Refresh access" and "New link..." button click.

  • Editor: Added rebindable shortcut possibility for GameView Stats button.

  • Graphics: Enabled Ray Tracing Support in Terrain settings by default for new Terrains.

  • Graphics: Shader Warmup can now compile pipeline state objects asynchronously.

  • HDRP: Path Tracer now makes use of the Ray Tracing Light Cluster.

  • HDRP: Volumetric material support for local volumetric fog volumes.

  • UI Toolkit: Added space-evenly to Justify Content property.

  • VFX Graph: VFX Instancing to optimize both CPU and GPU VFX runtime.

  • Video: PS4 and PS5 now support VideoPlayer time update mode.

Improvements

  • 2D: Improved performance of TilemapCollider2D. (UUM-6046)
    First seen in 2023.1.0a1.

  • Build Pipeline: Updated progress bar with more descriptive labels.

  • Documentation: Added scripting example for ObjectChangeEvents.

  • Editor: Console messages logged from Burst code now have clickable stacktraces.

  • Editor: Improved CustomAxis display in GraphicsSettings.

  • Editor: Improved performance of ActiveEditorTracker.

  • Editor: Improved performance of Selection APIs with large numbers of objects selected.

  • GI: Changed gaussian filter slider to move in 0.1 increments. In the C# API, int LightingSettings.filteringGauss* properties are replaced by float LightingSettings.filteringGaussian*. (UUM-9703)

  • Graphics: Defaulting color space to Linear in the com.unity.template.3d.

  • IL2CPP: Fixed missing static initialization calls in static constructors on generic instances that reference different instances of the same generic type.

  • IL2CPP: Removed boxing for more cases of comparisons to null in value type generic instances.

  • IL2CPP: Removed the null check before constructor calls.

  • License: Refactored the license notifications and made it more robust.

  • Networking: Clarified an error message in the logs when attempting to build a dedicated server player without having that platform's corresponding Dedicated Server Build support module installed.

  • Profiler: Released Memory Profiler version 1.0.0-pre.3. See https://docs.unity3d.com/Packages/com.unity.memoryprofiler@1.0/manual/index.html for more information.

  • Shadergraph: Reduced time taken by code generation when a shader graph asset is imported.

  • VFX Graph: Reduced time taken by code generation when a VFX asset is imported.

API Changes

  • Editor: Added: Added Core SRP editor API to add custom Burger Menu items. This functionality is also added to FoldoutGroup and AdditionalPropertiesFoldoutGroup.

  • Editor: Removed: Removed internal method MonoImporter.CopyMonoScriptIconToImporters (deprecated in 2021.2). See API docs for EditorGUIUtility.SetIconForObject for examples that achieve the same result using public APIs.

  • Shaders: Added: Added API ShaderVariantCollection.WarmUpProgressively that allows users to timeslice shader warmup across multiple frames.

  • URP: Added: Exposed xrPass to public so that URP users could leverage Core XRSystem API to script XR rendering.

Changes

  • Animation: Added support for Physics SimulationMode and Physics2D SimulationMode2D in the Animator and Animation component.

  • Asset Bundles: When the Asset Bundle cache layout was changed in 2017, an automatic migration codepath was added to check for asset bundles in the old cache location and move them into the new cache, so that end users would not need to re-download the bundles just because the cache layout changed. As 5 years have now passed, it is unlikely that this automatic migration still has any value, so the behavior has been removed.

  • macOS: MacOS Player now requires macos 10.14+.

  • Text: Upgraded freetype to 2.12.1. (UUM-6502)
    First seen in 2023.1.0a2.

  • UI Toolkit: Added an initial integration between the Properties and UI Toolkit modules and created property bags for VisualElement.style, VisualElement.resolvedStyle and all style properties.

Fixes

  • Android: Fixed an Android audio crash when targeting API Level 31 and running on an Android 12 device. Also fixed an AudioManager.GetStreamVolume exception when targeting API Level 29 or later, which caused the AudioSettings.Mobile.stopAudioOutputOnMute feature to not work correctly, if enabled. (UUM-5652)

  • Android: Fixed an issue where a directory with NDK OSX App was not accepted if it had a valid NDK root directory. (UUM-7703)
    First seen in 2023.1.0a2.

  • Animation: Fixed a invalid breadcrumb in Animator Window when undoing nested BlendTree creation.. (1417429)

  • Animation: Fixed a missing controller reference issue in the undo/redo of Animation Window. (1417425)

  • Animation: Fixed an undo/redo of an entry state transition in the state machine issue. (1417428)

  • Animation: Fixed AnimationWindow throwing InvalidOperationException in some cases after performing Undo. (UUM-1438)

  • Asset Import: Fixed import of some meshes with Blend Shape Normals set to Calculate. (UUM-7867)

  • Asset Pipeline: Fixed a race condition where an asset preview might fail to become available in specific timing circumstances.

  • Asset Pipeline: Fixed to enable LogAsserts when working with the out of process importer.

  • Audio: Fixed unexpected output from OnAudioFilterRead when the audio source was stopped and the 'spatialize' property is enabled. (UUM-6318)

  • Core: Fixed alignment issues in ujobs when using memset on Release builds. (UUM-9178)

  • Editor: Fixed a crashes in batch mode when using -vcsMode Perforce.

  • Editor: Fixed an API breaking change for the EditorToolAttribute constructor. (UUM-5792)
    First seen in 2023.1.0a1.

  • Editor: Fixed an issue where certain properties could not be excluded in the TextureImporterInspector. (UUM-3787)

  • Editor: Fixed an issue where SpeedTreeImporterModelEditor was throwing exception on DoMaterialsHaveDifferentShader() call when invalid SpeedTree asset was imported. (UUM-6486)
    First seen in 2023.1.0a1.

  • Editor: Fixed an issue where th About window failed to show the full version after pressing "Option" (Alt on Windows) key. (UUM-7697)

  • Editor: Fixed an issue where Undo dd not work when a GameObject was replaced with Prefab instance by holding Alt and dragging the Prefab and did not mark the scene as dirty. The modifier key has changed from Alt to Ctrl on Windows and Linux and Cmd on OSX. (UUM-2264)
    First seen in 2023.1.0a1.

  • Editor: Fixed contents of GridSelection in the Inspector window, when the Select Tool is used while the Inspector and Tile Palette are docked in the same window. (UUM-7857)

  • Editor: Fixed crash when OnDemand scheduler tries to upload previews without accelerator connection. (UUM-5544)
    First seen in 2023.1.0a1.

  • Editor: Fixed Edit button status of Tile Palette when editing a GridSelection. (UUM-7857)

  • Editor: Fixed mouse offset for dragging elements to the inspector on Linux. (UUM-1568)

  • Editor: Fixed selection cycling regression. (UUM-9561)

  • Editor: Fixed the TimeManager for DragAndDropForwarding tests. (UUM-6233)
    First seen in 2023.1.0a1.

  • Editor: Fixed unsaved changes made to assets are now preserved when renaming an asset while using Perforce. (VCSB-20)
    First seen in 2023.1.0.

  • Editor: Launch screen scaling issues resolved.

  • Editor: Removed disabling of field of culling mask in light components for URP and updated documentation to reflect this. (UUM-2392)
    First seen in 2023.1.0a1.

  • EmbeddedLinux: Auto-detects the PluginImporter settings of native plugins placed within Assets/Plugins/EmbeddedLinux of a project.

  • EmbeddedLinux: Fixed build failures when building a project from the command-line for the first time.

  • GI: Fixed an issue where scene objects would lose their lighting data when they are packed into or unpacked from a prefab, and playmode is entered without first saving the scene. (1393020)

  • Graphics: BatchRendererGroup: Remove asset subscribers from Mesh & Materials upon deletion.

  • Graphics: Fixed a ReadPixels issue. (UUM-2998)
    First seen in 2023.1.0a1.

  • Graphics: Fixed an issue that prevented Meshes to be correctly shared between RayTracingAccelerationStructures. (UUM-5526)
    First seen in 2023.1.0a1.

  • Graphics: Fixed crash in RecalculateBounds when called on the mesh with unloaded vertices/indices. (UUM-7712)

  • Graphics: Fixed shader warning not being displayed in the Ray Tracing Shader inspector. (UUM-8054)

  • HDRP: Fixed hard eges on volumetric clouds. (UUM-3153)

  • HDRP: Prevent users from clicking the denoising package install button multiple times while waiting for the installation to finish. (UUM-1202)
    First seen in 2023.1.0a1.

  • IL2CPP: Corrected the behavior of RuntimeInformation.OSDescription on WebGL. (UUM-1144)

  • IL2CPP: Fixe a memory corruption that could happen when the "Faster (smaller) builds" option was used with generic types that had a generic base class with no fields, and a different base class with at least one generic field. (UUM-3066)

  • IL2CPP: Fixed a stack overflow during code conversion when an attribute constructor uses the attribute itself. (UUM-3907)

  • IL2CPP: Fixed a throw exception from Buffer.BlockCopy when the destination array had a non-primitive element type. (UUM-3302)

  • IL2CPP: Fixed a thrown managed exception when CreateDelegate was called with a delegate type that was not generated ahead of time. (UUM-817)

  • IL2CPP: Fixed IL2CPP build failure when using Unbox instruction with generic by reference return type. (UUM-5942)

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

  • iOS: Fixed an issue where the Archive option was failing on missing bitcode on iOS/tvOS. (UUM-9413)
    First seen in 2023.1.0a4.

  • iOS: Fixed embedded frameworks loosing "sign on copy". (UUM-7653)

  • iOS: Fixed resetting "no backup" flag (iOS.Device.ResetNoBackupFlag); updated "no backup" handling to use modern iOS API. (UUM-7881)
    First seen in 2023.1.0a1.

  • Linux: Fixed an ArgumentException while opening prefab overrides context window. (UUM-1566)
    First seen in 2023.1.0a1.

  • Linux: Fixed two mouse move events in one single frame by removing one pushed from gtk callback. (UUM-1905)

  • Networking: Fixed an issue where UnityWebRequest will not change HEAD to GET on 302 or 303 response. (UUM-7274)
    First seen in 2023.1.0a1.

  • Package Manager: Feature's reset button behaviour has been fixed for custom packages. (UUM-6410)

  • Package Manager: Fixed an Keyboard navigation issue in the package manager. We can now properly use up/down, page up/down with optional shift key in asset tab. (UUM-6478)

  • Particles: Fixed an issue where disabling VR head roll when rendering particles from a command buffer was not supported.

  • Particles: Skip draw call for gpu instanced mesh particle trails if using same material as particles. (UUM-7071)

  • Player: Fixed splash landscape background using the wrong uv's when a portrait background was included. (1418161)

  • Player: Fixed Unity splash screen logo not including mipmaps which would reduce quality of the logos appearance.

  • Prefabs: Fixed after 'Apply All' is clicked in the overrides window then properties are still shown as overriden. (UUM-6917)
    First seen in 2023.1.0a1.

  • Prefabs: Fixed the canvas layout order in the prafab's context and isolation mode. (UUM-3458)

  • Profiler: Fixed crash in Linux Editor when toggling Standalone Profiler recording on and off. (UUM-7877)

  • Profiler: Fixed Standalone Profiler recording Play mode data while Editor is in Edit mode. (UUM-2160)

  • Profiler: Remove deprecated functionality in the Memory Module, which is replaced by the Memory Profiler package. (UUM-6732)

  • Scene/Game View: Fixed an issue where activeLayout property for Overlays were not exposed (1419915)

  • Scripting: Fixed an issue where assembly validation errors disappear when clearing console messages. (UUM-3087)

  • Services: Fixed issue that would make it so that services could not be used after computer returned from sleep.

  • Shadergraph: Fixed the TimeManager for MaterialVariant tests. (UUM-8013)
    First seen in 2023.1.0a3.

  • SRP Core: Fixed an editor drawer for Value tuples in the Rendering Debugger. (UUM-7000)
    First seen in 2023.1.0a1.

  • SRP Core: Fixed an issue where Asset Icons and MonoBehaviour for SRP's where not unified.

  • Terrain: Fixed the following error that was thrown: "EndLayoutGroup: BeginLayoutGroup must be called first" when selecting a .raw file to import as a Heightmap due to an error with IMGUI.

  • Text: Fixed an issue where unselecting, double clicking and triple clicking text fields did not produces reliable and expected behaviour.

  • TLS: TLS: Underlying TLS implementation updated to address CVE-2021-44732 and CVE-2021-45450. (UUM-3245)

  • uGUI: Fixed the NullReferenceException when using Tile image types with a sprite atlas being omitted from build. (UUM-4340)
    First seen in 2023.1.0a1.

  • UI Elements: Fixed an issue where min max slider was behaving abnormally when using larger thumb styling. (UUM-5017)
    First seen in 2023.1.0a1.

  • UI Toolkit: Fixed a custom foldouts alignment issue in the inspector. (UUM-3156)
    First seen in 2023.1.0a1.

  • UI Toolkit: Fixed an issue where an alternate row background would disappearing after a refresh.

  • UI Toolkit: Fixed an issue where old header content of a column was removed when its header template was changed. (UUM-4129)
    First seen in 2023.1.0a1.

  • UI Toolkit: Fixed an issue where the flag value was not being updated with change of selection for unsigned int in enum mask field. (UUM-3688)
    First seen in 2023.1.0a1.

  • UI Toolkit: Fixed bind/unbind discrepancies with items in ListView/TreeViews controls.

  • UI Toolkit: Fixed dynamic height caching and reordering issues on ListView/TreeView controls.

  • UI Toolkit: Fixed elements disappearing when changing both the border radius and padding at the same time. (UUM-4160)
    First seen in 2023.1.0a3.

  • UI Toolkit: Improved performance of the UITK NonReorderable and Reorderable ListView in the inspector. (UUM-3483)
    First seen in 2023.1.0a1.

  • UI Toolkit: Prevent Tab key propagation when already handled in user scripts. (UUM-3694)
    First seen in 2023.1.0a3.

  • Undo System: Fixed the TimeManager for UndoManager tests. (UUM-8019)
    First seen in 2023.1.0a3.

  • Universal RP: Fixed depth pre-pass being always executed on GLES devices. (UUM-8381)

  • Universal RP: Fixed incorrect light brightness when using SimpleLit shader. (UUM-7851)

  • Universal RP: Fixed specular highlight edges on Android. (UUM-7654)

  • URP: Fixed a wireframe view issue in URP. (UUM-2548)

  • URP: Fixed Gizmos in Game View when using Viewports. (UUM-7069)

  • URP: Fixed SpeedTree Shadergraph causes errors spammed in console. (UUM-3126)
    First seen in 2023.1.0a1.

  • VFX Graph: Error thrown when entering a subgraph that is already opened. (1425836)

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

  • VFX Graph: Fixed an issue where VFX shadows were rendering when VFX was disabled in Scene View visibility menu. (UUM-4752)

  • VFX Graph: Make collision with SDF more robust to bad inputs. (1406977)

  • VFX Graph: Unexpected memory allocation in inspector preview when interacting with mouse while in pause. (UUM-7986)
    First seen in 2023.1.0a1.

  • Video: "Can't play movie" error is thrown when setting VideoPlayer.url to an invalid url through a script. (1388735)

  • Video: Failure in stable builder Test PlayModeTests - PS4 (part 4 of 4, remainder) -VideoPlaybackTests.VideoPlaybackCanQueuePlaybackBeforeReady. (UUM-974)
    First seen in 2023.1.0a1.

  • Video: Fixed a race condition when seeking before prepare. (UUM-961)
    First seen in 2023.1.0a1.

  • Video: Fixed an issue where Vorbis audio tracks created by MediaEncoder and VideoClipImporter had missing samples at the end. (1417269)

  • Video: PS4VideoPlayback does not yet support StepForward before Pause() or Play() was called. (UUM-970)
    First seen in 2023.1.0a1.

  • Web: Apply the new icon to the diagnostics overlay and add a missing CSS line. (UUM-7766)
    First seen in 2023.1.0a1.

  • Web: Blur active element before focusing window to correct behavior on Firefox. (UUM-1169)
    First seen in 2023.1.0a1.

  • WebGL: Fixed a 3D audio effects issue. (UUM-1165)
    First seen in 2023.1.0a1.

  • WebGL: Fixed an issue where the soft keyboard would leave whitespace at the bottom of the page after being dismissed. (UUM-1159)

  • WebGL: Fixed bug where the rendering canvas wasn't resizing when changing orientation. (UUM-1135)

  • Windows: Fixed resolution misdetection on vertical displays, which caused APIs like Screen.currentResolution or Screen.GetDisplayLayout() return wrong data and the player contain letterboxing when it shouldn't. (UUM-7552)

  • Windows: Restored the display enumeration behaviour back to Unity 2021.1 and earlier: the primary display will always be treated as display 1.

New 2023.1.0a5 Package Changes since 2023.1.0a4

Packages updated

Preview of Final 2023.1.0a5 Release Notes

Features

  • 2D: Added Sprite/SpriteShape/TilemapRenderer as mask sources for SpriteMask.

  • Editor: Added 'focusedWindowChanged' callback to EditorWindow class.

  • Editor: Added editor analytics event tracking for "Refresh access" and "New link..." button click.

  • Editor: Added Helper Bar that shows useful shortcuts.

  • Editor: Added optional priority argument to Shortcut and ClutchShortcut attributes.

  • Editor: Added rebindable shortcut possibility for GameView Stats button.

  • Graphics: Added new RayTracingAccelerationStructure.AddInstance signature that allows adding Mesh instances into the acceleration structure for GPU ray tracing. This is the equivalent of Graphics.RenderMesh from rasterization pipeline.

  • Graphics: Enabled Ray Tracing Support in Terrain settings by default for new Terrains.

  • Graphics: Shader Warmup can now compile pipeline state objects asynchronously.

  • HDRP: Added Ray Tracing Terrain support for HDRP.

  • HDRP: Path Tracer now makes use of the Ray Tracing Light Cluster.

  • HDRP: Volumetric material support for local volumetric fog volumes.

  • Terrain: Added Quality Settings for being able to control various Terrain settings at different quality levels.

  • UI Toolkit: Added space-evenly to Justify Content property.

  • UI Toolkit: Added Vertex Buffer size configuration.

  • URP: Added RenderGraph support to URP postFX.

  • URP: SSAO: AO Method dropdown added to select between Interleaved Gradient Noise and Blue Noise.

  • URP: SSAO: Blur Quality dropdown added to select between: High (Bilateral), Medium (Gaussian) and Low (Single-Pass Kawase).

  • URP: SSAO: Falloff field added to control the distance from the camera the AO should affect.

  • Version Control: Added changelist related options to pending changes context menu.

  • Version Control: Added option to enable changelists and display them in pending changes tab.

  • VFX Graph: VFX Instancing to optimize both CPU and GPU VFX runtime.

  • Video: PS4 and PS5 now support VideoPlayer time update mode.

Improvements

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

  • Build Pipeline: Updated progress bar with more descriptive labels.

  • Burst: Used explicit namespace for UnityEditor.PackageManager.Events to avoid conflicts.

  • Documentation: Added scripting example for ObjectChangeEvents.

  • Documentation: Removed legacy command line argument 'vrmode' from documentation.

  • DX12: Improved visuals by setting swapchain background color to make resize more pleasing and disable scaling in resize. (UUM-2444)

  • DX12: Optimize D3D12 sampler access by removing unnecessary locking and map finds.

  • Editor: Console messages logged from Burst code now have clickable stacktraces.

  • Editor: Improved CustomAxis display in GraphicsSettings.

  • Editor: Improved layout of Quality settings table, to avoid cropping of the labels.

  • Editor: Improved performance of ActiveEditorTracker.

  • Editor: Improved performance of Selection APIs with large numbers of objects selected.

  • GI: Changed gaussian filter slider to move in 0.1 increments. In the C# API, int LightingSettings.filteringGauss* properties are replaced by float LightingSettings.filteringGaussian*. (UUM-9703)

  • GI: Improved error messages when exceeding max allocation size for transmission texture when baking with the GPU lightmapper.

  • GI: Made minor refactorings which pave the road for new and improved features.

  • Graphics: Avoid redundant render target attachment stores for read-only attachments when using Vulkan.

  • Graphics: Defaulting color space to Linear in the com.unity.template.3d.

  • HDRP: Changed ACES luminance fit to allow pure whites.

  • HDRP: Enabled multi-editing for Diffusion Profiles.

  • HDRP: Improved rendering by adding caustics support for cinematic eye shader in HDRP material samples eye graph.

  • HDRP: New iteration on the water system.

  • HDRP: Removed diffusion profiles from global settings.

  • HDRP: Tooltips improvement.

  • IL2CPP: Fixed missing static initialization calls in static constructors on generic instances that reference different instances of the same generic type.

  • IL2CPP: Removed boxing for more cases of comparisons to null in value type generic instances.

  • IL2CPP: Removed the null check before constructor calls.

  • License: Refactored the license notifications and made it more robust.

  • Networking: Clarified an error message in the logs when attempting to build a dedicated server player without having that platform's corresponding Dedicated Server Build support module installed.

  • Physics: Added a field in the PhysicsManager inspector that exposes the number of 16kb chunks used by PhysX's temporary scratch buffer, the default number of chunks is 4 with a total of 64kb of memory allocated. The scratch buffer size can be seen inside the memory profiler as an allocation root.

  • Physics: Added a temporary scratch buffer to the Physics simulation, in order to improve performance by avoiding going to the main allocator for small temporary allocations.

  • Profiler: Released Memory Profiler version 1.0.0-pre.3. See https://docs.unity3d.com/Packages/com.unity.memoryprofiler@1.0/manual/index.html for more information.

  • Serialization: Improved performance for cases where endianness needs to be swapped during (de)serialization.

  • Shadergraph: Reduced time taken by code generation when a shader graph asset is imported.

  • SRP Core: Tooltips improvement across SRPs.

  • URP: Downsampling will now not only affect the AO pass but also the blur passes.

  • URP: Improved Depth test to avoid incorrectly adding AO in places where two objects are far away from one another.

  • URP: Tooltips improvement.

  • VFX Graph: Reduced time taken by code generation when a VFX asset is imported.

  • XR: Improved GLES3 multiview rendering performance. (1374693)

API Changes

  • Android: Obsoleted: PlayerSettings.Android.minifyWithR8 is obsolete now. Setting it has no effect and it always returns true.

  • Core: Added: A new event Application.memoryUsageChanged, that is fired when applications memory usage changes significantly (for example goes critically low).

  • Editor: Added: Added Core SRP editor API to add custom Burger Menu items. This functionality is also added to FoldoutGroup and AdditionalPropertiesFoldoutGroup.

  • Editor: Obsoleted: PlayerSettings API using BuildTargetGroup is now obsolete, use it with NamedBuildTarget instead.

  • Editor: Removed: Removed internal method MonoImporter.CopyMonoScriptIconToImporters (deprecated in 2021.2). See API docs for EditorGUIUtility.SetIconForObject for examples that achieve the same result using public APIs.

  • Graphics: Added: Introduces Native Renderpass API on CommandBuffer.

  • Graphics: Added: Material.GetBufferHandle to get the GraphicsBufferHandle in a material property sheet.

  • Graphics: Added: Material.GetPropertyNames(<PropertyType>) to query the property sheet names in a material based on a given property type.

  • Graphics: Added: New Foveated Rendering API on the command buffer interface.

  • Graphics: Added: New overload for CommandBuffer.SetComputeBufferParam, which allows binding a resource with GraphicsBufferHandle.

  • Graphics: Added: RenderPipeline.IsRenderRequestSupported. Protected method, render pipelines can override this to specify their support for RequestData types.

  • Graphics: Added: RenderPipeline.ProcessRenderRequest. Protected method, render pipelines can override this to implement the rendering logic for RenderRequests.

  • Graphics: Added: RenderPipeline.StandardRequest. Use this as the RequestData parameter in SubmitRenderRequest to trigger a default srp render on the specified camera.

  • Graphics: Added: RenderPipeline.SubmitRenderRequest. Triggers a render with the active render pipeline according to the passed in RequestData.

  • Graphics: Added: RenderPipeline.SupportsRenderRequest. Checks the active pipeline whether the given RequestData type is supported.

  • Graphics: Deprecated: Deprecation of the various DrawX functions on the ScriptableRenderContext in favor of the RendererList API.

  • Shaders: Added: Added API ShaderVariantCollection.WarmUpProgressively that allows users to timeslice shader warmup across multiple frames.

  • SRP Core: Added: An extension method to fetch the Render Pipeline assets from a BuildTarget.

  • UI Toolkit: Added: Added the necessary Experimental APIs to interact with subsections of the Text. (UUM-4313)

  • Universal RP: Added: UniversalRenderPipeline.SingleCameraRequest. Use this as the RequestData parameter in SubmitRenderRequest to render a single camera.

  • URP: Added: Added light cookies stripping.

  • URP: Added: Exposed xrPass to public so that URP users could leverage Core XRSystem API to script XR rendering.

  • URP: Obsoleted: RenderSingleCamera is now obsolete. Please use RenderPipeline.SubmitRenderRequest with RequestData of the SingleCameraRequest type.
    Graphics: Camera.SubmitRenderRequests is now obsolete. Please use RenderPipeline.SubmitRenderRequest with RequestData of a supported type such as RenderPipeline.StandardRequest.

Changes

  • Android: Android SDK must have cmdline-tools component installed now. Unity will ignore tools component.

  • Android: Default gradle templates have changed significantly with new Gradle and AGP versions. Gradle templates in existing projects will have to be recreated based on new default templates when upgrading projects created with previous Unity versions.

  • Android: JDK 11 is required now to build Android apps.

  • Android: Removed editor UI option which allowed to choose between R8 and Proguard tools to minify code. New AGP version doesn't have an option to minify using proguard. Instead R8 is always used.

  • Android: Unity Now uses Android Gradle Plugin 7.1.2 by default.

  • Android: Unity Now uses Gradle 7.2 by default.

  • Animation: Added support for Physics SimulationMode and Physics2D SimulationMode2D in the Animator and Animation component.

  • Apple TV: Changed the minimum supported OS version to tvOS13.

  • Asset Bundles: When the Asset Bundle cache layout was changed in 2017, an automatic migration codepath was added to check for asset bundles in the old cache location and move them into the new cache, so that end users would not need to re-download the bundles just because the cache layout changed. As 5 years have now passed, it is unlikely that this automatic migration still has any value, so the behavior has been removed.

  • HDRP: Changed DiffusionProfileOverride so that now it accumulates profiles instead of replacing when interpolating at runtime.

  • iOS: Changed the minimum supported OS version to iOS13.

  • macOS: MacOS Player now requires macos 10.14+.

  • UI Toolkit: Added an initial integration between the Properties and UI Toolkit modules and created property bags for VisualElement.style, VisualElement.resolvedStyle and all style properties.

  • UI Toolkit: ColorField is now UI Toolkit based and does not rely on an IMGUIContainer.

  • URP: Changed light and decal layers to rendering layers.

  • URP: Changed the samples field to a dropdown: High (12 samples), Medium (8 samples) and Low (4 samples).

  • URP: Changed the the final After Opaque passes to be merged with the last blur pass.

  • URP: Foveated Rendering is now integrated in URP for supported platforms.

Fixes

  • 2D: Fixed an asset previews Tilemap Prefabs not being generated due to Grid Components being stripped away during this process. (UUM-2503)

  • 2D: Fixed an issue where Fill and Erase extents were not added to user preferences when showing a Flood Fill preview while painting with Tilemaps.

  • 2D: Fixed case where Sprite Atlas shows only first page in Preview within Inspector. (1427632)

  • 2D: Fixed duplicate instantiated GameObjects from Tiles on Tilemap Prefabs when instantiating the Tilemap Prefabs. (UUM-1671)

  • Android: Fix Screen.safeArea calculations (UUM-3972)

  • Android: Fixed a performance issue caused by redundant depth/stencil stores on some Adreno OpenGL ES drivers. (1429210)

  • Android: Fixed an Android audio crash when targeting API Level 31 and running on an Android 12 device. Also fixed an AudioManager.GetStreamVolume exception when targeting API Level 29 or later, which caused the AudioSettings.Mobile.stopAudioOutputOnMute feature to not work correctly, if enabled. (UUM-5652)

  • Android: Fixed an issue where executing Android SDK tool command would fail with missing java error. For ex., "Unable to locate a Java Runtime". Even though everything is set correctly in Preferences->External Tools->JDK. Also during the failure, Unity will now print environment variables thus helping identifying such issues in the future. (UUM-2106)

  • Android: Fixed an overhead of memory allocations in the Vulkan backend issue for allocation sizes between 128kB and 1024kB. (UUM-5966)

  • Android: Fixed crash during low memory kill. (1423456)

  • Android: Fixed crash when creating pipeline objects for some URP Lit shader on some older Adreno drivers. (UUM-3650)

  • Android: Fixed Patch (/And Run) failing on some Android 12 devices with "Permission Denied" or "No such file or directory". (1422895)

  • Android: Fixed regression where TouchScreenKeyboard.Open() was not opening. (UUM-2112)

  • Animation: Fixed a invalid breadcrumb in Animator Window when undoing nested BlendTree creation.. (1417429)

  • Animation: Fixed a missing controller reference issue in the undo/redo of Animation Window. (1417425)

  • Animation: Fixed an undo/redo of an entry state transition in the state machine issue. (1417428)

  • Animation: Fixed AnimationWindow throwing InvalidOperationException in some cases after performing Undo. (UUM-1438)

  • Asset Import: Fixed import of some meshes with Blend Shape Normals set to Calculate. (UUM-7867)

  • Asset Import: Fixed out of bounds exception on empty array access when importing SpeedTree billboards with no mesh data. (1428865)

  • Asset Pipeline: Fixed a race condition where an asset preview might fail to become available in specific timing circumstances.

  • Asset Pipeline: Fixed to enable LogAsserts when working with the out of process importer.

  • Audio: Fixed an issue where Audio Clip Import Settings were not getting saved when the "Override for Dedicated Server" setting was enabled. (UUM-399)

  • Audio: Fixed audio mixer groups not visible from the packages. (UUM-369)

  • Audio: Fixed unexpected output from OnAudioFilterRead when the audio source was stopped and the 'spatialize' property is enabled. (UUM-6318)

  • Build Pipeline: Fixed an issue where clean builds did not remember state about the built files, thus files in a build could not be deleted in subsequent builds.

  • Build System: Fixed an issue where thes splashscreen logo could not be removed when it was included in a previous build. (1400086)

  • Burst: Fixed an issue that whitespace changes in ILPP'd assemblies would not be detected.

  • Burst: Fixed some ARM branch instructions not being processed as such.

  • Core: Fixed alignment issues in ujobs when using memset on Release builds. (UUM-9178)

  • Core: Fixed Asset import workers to not inherit open handles from the main editor causing trouble rebinding network sockets. (1418567)

  • DX12: Fixed to Allow releasing memory with GL.Flush() within a single frame. (1400617)

  • Editor: -Fixed [UIToolkit] Reorderables reset array count to 0 when multi selecting objects that have arrays with more than 64 elements. (1417862)

  • Editor: Fixed a crash when loading TIFFs with bad thumbnail tags. (UUM-3783)

  • Editor: Fixed a crash when there was a corrupt PrefabInstance. (UUM-1926)

  • Editor: Fixed a crashes in batch mode when using -vcsMode Perforce.

  • Editor: Fixed an issue with Windows Standalone play started on the wrong screen. (1423262)

  • Editor: Fixed an issue that warning messages are no longer displayed when selecting the color picker after selecting the object picker when editing materials. (UUM-647)

  • Editor: Fixed an issue where certain properties could not be excluded in the TextureImporterInspector. (UUM-3787)

  • Editor: Fixed an issue where FBX files with custom property animations where considered as not having animation data at all. (1427122)

  • Editor: Fixed an issue where GameObjectChangeTracker was not able to detect GameObject sibling order change.

  • Editor: Fixed an issue where LODGroup editor was not updating immediately when there were changes. (UUM-5815)

  • Editor: Fixed an issue where ObjectField failed to continue to process ObjectSelector events when it was not in focused. (1415249)

  • Editor: Fixed an issue where th About window failed to show the full version after pressing "Option" (Alt on Windows) key. (UUM-7697)

  • Editor: Fixed an issue where the New launch screen did not bring notification dialogs to front. (UUM-6395)

  • Editor: Fixed an issue where there was a missing Edit button for Light Probe UI. (UUM-919)

  • Editor: Fixed CharacterController component colliding with multiple Trigger colliders stacked in a small space. (1419316)

  • Editor: Fixed contents of GridSelection in the Inspector window, when the Select Tool is used while the Inspector and Tile Palette are docked in the same window. (UUM-7857)

  • Editor: Fixed crash when opening scenes in builds that had missing Prefab sources. (UUM-2546)

  • Editor: Fixed Edit button status of Tile Palette when editing a GridSelection. (UUM-7857)

  • Editor: Fixed Folders with the already existing name are moved properly. (1389121)

  • Editor: Fixed InvalidOperationException when closing OpenFolderPanel. (1394298)

  • Editor: Fixed mouse offset for dragging elements to the inspector on Linux. (UUM-1568)

  • Editor: Fixed not being able to summon context menu issue when SceneView was active. (1423212)

  • Editor: Fixed performance issue for looping small clip with root motion extraction. (1428866)

  • Editor: Fixed selection cycling regression. (UUM-9561)

  • Editor: Fixed UI error when using graphics volume context menu. (UUM-3911)

  • Editor: Launch screen scaling issues resolved.

  • EmbeddedLinux: Auto-detects the PluginImporter settings of native plugins placed within Assets/Plugins/EmbeddedLinux of a project.

  • EmbeddedLinux: Fixed build failures when building a project from the command-line for the first time.

  • EmbeddedLinux: Fixed Query EGL to get the correct max supported VSync value.

  • GI: -Fixed [GPU PLM] OpenCL shader loading time in new projects has become significantly slower. Fixed regression by speeding up OpenCL shader loading stage by caching binaries in the GICache. (UUM-1350)

  • GI: Changed GPU lightmapper device selection from emitting a Warning to emitting a Log message to not confuse users when requirements are not met.

  • GI: Fixed an issue where scene objects would lose their lighting data when they are packed into or unpacked from a prefab, and playmode is entered without first saving the scene. (1393020)

  • GI: Fixed baking stall occuring when baking terrain with holes. (1408533)

  • GI: Fixed regression introduced by fix for baked probes that were sometimes black. The regression caused a crash during a bake on MacOS. (UUM-1207)

  • Graphics: BatchRendererGroup: Remove asset subscribers from Mesh & Materials upon deletion.

  • Graphics: Fixed an issue in RayTracingAccelerationStructure.CullInstances when SkinnedMeshRenderers and CPU Skinning are used, preventing skinned geometries to be added into the acceleration structure. (UUM-4798)

  • Graphics: Fixed an issue that SkinnedMeshRenderer and MeshRenderer are now in the same SRP Batch during shadow pass. (UUM-4336)

  • Graphics: Fixed an issue where 2D Textures with multiple faces or images did correctly update their hash values when any face/image was changed and not just the first one. (UUM-2506)

  • Graphics: Fixed an issue where Crunched textures appeared too bright in projects in linear color space. (UUM-3200)

  • Graphics: Fixed an issue where Mesh.GetBlendShapeBuffer would cause stalls when called with PerVertex layout.

  • Graphics: Fixed code generation for signed bitfieldExtract for OpenGL ES 3 shaders. (UUM-476)

  • Graphics: Fixed crash in RecalculateBounds when called on the mesh with unloaded vertices/indices. (UUM-7712)

  • Graphics: Fixed crash in ScriptableBatchRenderer::ApplyShaderPass when switching between URP and HDRP.

  • Graphics: Fixed Graphics.CopyBuffer and GetData/SetData for non-compute targets when using Vulkan. (UUM-3674)

  • Graphics: Fixed shader warning not being displayed in the Ray Tracing Shader inspector. (UUM-8054)

  • HDRP: Added async compute support doc. (UUM-6183)

  • HDRP: Added missing using statements in one of the example scripts in the documentation for the accumulation API. (UUM-3224)

  • HDRP: Disabled Volumetric Clouds for Default Sky Volumes. (UUM-6185)

  • HDRP: Fixed a discrepency between recursive rendering and path tracing for refraction models. (UUM-6179)

  • HDRP: Fixed a NullReferenceException when importing empty material.

  • HDRP: Fixed a render graph error when rendering a scene with no opaque objects in forward. (UUM-6189)

  • HDRP: Fixed a rounding issue in ray traced reflections at half resolution. (UUM-6177)

  • HDRP: Fixed an issue that Data Driven Lens Flare are not occluded with the volumetric clouds. (1421739)

  • HDRP: Fixed an issue where Shadow near plane could not be set to 0, and clamped to 0.01 can only occur on Cone, Pyramid and Point Lights.

  • HDRP: Fixed an issue where the HDRP Wizzard showed up when opening the Standalone Profiler.

  • HDRP: Fixed an issue with DOTS and Look Dev tool causing entities in the tool to be drawn in the game view. (UUM-6188)

  • HDRP: Fixed artifacts on PBR DOF camera cuts such as the COC sticking around with blurry values. (UUM-6187)

  • HDRP: Fixed artifacts on quarter and half res depth of field when dynamic resolution jumps between resolutions. (UUM-6184)

  • HDRP: Fixed blending artifacts with physically based DoF. (1375978)

  • HDRP: Fixed blinking Ray traced reflection with dynamic resolution. (UUM-6180)

  • HDRP: Fixed blinking SSGI with dynamic resolution. (UUM-6181)

  • HDRP: Fixed cull mode toggle in transparent material inspector shifting the UI. (UUM-6186)

  • HDRP: Fixed Decal Layer Texture lifetime in rendergraph. (UUM-6664)

  • HDRP: Fixed duplicated code sample in the custom pass documentation. (UUM-6173)

  • HDRP: Fixed grey out profile list button instead of throwing error. (UUM-6174)

  • HDRP: Fixed hard eges on volumetric clouds. (UUM-3153)

  • HDRP: Fixed incorrect distortion when hardware DRS is enabled. (UUM-3322)

  • HDRP: Fixed incorrect false positives in shadow culling. (UUM-1294)

  • HDRP: Fixed isssue with up direction of the light anchor tool sometime getting wrong. (UUM-6190)

  • HDRP: Fixed leaks in ray tracing effects due to missing ambient probe for ray tracing effects. (UUM-589)

  • HDRP: Fixed motion vector debug visualization suite to provide a way to visualize intensities. (1430303)

  • HDRP: Fixed quad artifacts on TAA and fixed an issue on bicubic filtering. (UUM-6205)

  • HDRP: Fixed re-ordering issue in the custom pass list. (UUM-6176)

  • HDRP: Fixed reflection issue upon scene filtering. (UUM-6514)

  • HDRP: Fixed specular occlusion fallback on normal when bent normal is not available. (UUM-6662)

  • HDRP: Fixed SSGI using garbage outside the frustum. (UUM-6175)

  • HDRP: Fixed the clamp happening on the sum of ray tracing samples instead of per sample. (UUM-6513)

  • HDRP: Fixed the default DXR volume not having any DXR effects enabled. (UUM-6182)

  • HDRP: Fixed tiling artifacts with physically based DoF. (1413534)

  • HDRP: Fixed Virtual texturing streaming loading to be no longer hindered by transparent materials. Transparent materials, depending on their transmitance or alpha, will let the VT streaming system requests textures appropiately. (1423890)

  • HDRP: Fixed [HDRP] Noisy top shadows when using 'High' Filtering Quality with Tesselated Meshes (Lit Tesselation). (UUM-3341)

  • HDRP: Updated misleading tooltip in the environment lighting in HDRP. (UUM-6178)

  • IL2CPP: Corrected the behavior of RuntimeInformation.OSDescription on WebGL. (UUM-1144)

  • IL2CPP: Fixe a memory corruption that could happen when the "Faster (smaller) builds" option was used with generic types that had a generic base class with no fields, and a different base class with at least one generic field. (UUM-3066)

  • IL2CPP: Fixed crash when a Unity player is unloaded and reloaded. (UUM-2660)

  • IL2CPP: Fixed a crash in il2cpp memory allocator. (UUM-4708)

  • IL2CPP: Fixed a stack overflow during code conversion when an attribute constructor uses the attribute itself. (UUM-3907)

  • IL2CPP: Fixed a throw exception from Buffer.BlockCopy when the destination array had a non-primitive element type. (UUM-3302)

  • IL2CPP: Fixed a thrown managed exception when CreateDelegate was called with a delegate type that was not generated ahead of time. (UUM-817)

  • IL2CPP: Fixed Cache shared code used by il2cpp between projects for faster initial compiles.

  • IL2CPP: Fixed IL2CPP build failure when using Unbox instruction with generic by reference return type. (UUM-5942)

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

  • IL2CPP: Fixed leak of internal thread objects that could manifest in a pause on player exit (UUM-607)

  • IL2CPP: Fixed performance issues in metadata access with thread contention. (UUM-609)

  • IL2CPP: Fixed performance regression in regular expressions. (UUM-590)

  • IL2CPP: Updated zlib to version 1.2.12 for CVE-2018-25032. (UUM-599)

  • iOS: Fixed a forcing jobified metal rendering issue where it was disregarding player settings. (UUM-7195)

  • iOS: Fixed embedded frameworks loosing "sign on copy". (UUM-7653)

  • Linux: Fixed Aux drop down window will close when it's main container window is closed. (UUM-1574)

  • Linux: Fixed nullpointer exception for rapidly open and close selection icon dropdown. (UUM-1572)

  • Linux: Fixed print stack trace frequently crashing. (UUM-1595)

  • Linux: Fixed two mouse move events in one single frame by removing one pushed from gtk callback. (UUM-1905)

  • macOS: Fixed the issue of the appearance of multiple "Unsaved Changes Detected" reports. (1369562)

  • macOS: Fixed an issue with exposing profiler markers in non-development players. (UUM-2990)

  • Mono: Fixed a crash during stack trace construction if a this object is null. (UUM-611)

  • Package: Fixed errors when inspecting tutorial pages on Unity 2021 or later.

  • Package Manager: Feature's reset button behaviour has been fixed for custom packages. (UUM-6410)

  • Package Manager: Fixed an issue where Package Manager Window would throw an error when a package url links was not available and now are disabled.

  • Package Manager: Fixed an Keyboard navigation issue in the package manager. We can now properly use up/down, page up/down with optional shift key in asset tab. (UUM-6478)

  • Package Manager: Fixed Package Tag text in details header is not visible. (1420347)

  • Package Manager: Updated package count in "My Assets" when current number of packages is larger than total number. (1431169)

  • Particles: Fixed an issue where disabling VR head roll when rendering particles from a command buffer was not supported.

  • Particles: Skip draw call for gpu instanced mesh particle trails if using same material as particles. (UUM-7071)

  • Physics: Fixed an issue where rotating a GameObject hierarchy with a Rigidbody at it's root, would recompute the body's mass properties for each child collider present in the hierarchy. (1318791)

  • Physics: Fixed Articulation Bodies accepting drives with non-finite values as input. (1429317)

  • Physics: Improved and jobified Physics.SyncTransforms in order to providing up to 70% speed up in general.

  • Player: Fixed splash landscape background using the wrong uv's when a portrait background was included. (1418161)

  • Player: Fixed Unity splash screen logo not including mipmaps which would reduce quality of the logos appearance.

  • Prefabs: Fixed Events prefabInstanceReverting and prefabInstanceReverted which are now automatically raised upon any revert operation, whether full or partial. (1409546)

  • Prefabs: Fixed Handle ManagedReferences that cannot be applied or reverted. Also made sure the root of the Managed Reference can be applied to apply sub fields that are overriden. (1409175)

  • Prefabs: Fixed the canvas layout order in the prafab's context and isolation mode. (UUM-3458)

  • Profiler: Fixed an issue that taking a memory capture no longer logs a message to the console displaying the temporary file location.

  • Profiler: Fixed crash in Linux Editor when toggling Standalone Profiler recording on and off. (UUM-7877)

  • Profiler: Fixed Standalone Profiler recording Play mode data while Editor is in Edit mode. (UUM-2160)

  • Profiler: Remove deprecated functionality in the Memory Module, which is replaced by the Memory Profiler package. (UUM-6732)

  • Scene/Game View: Fixed an issue where activeLayout property for Overlays were not exposed (1419915)

  • Scene/Game View: Fixed an issue where gizmos with bounds near the camera were incorrectly culled. (1429779)

  • Scene/Game View: Fixed case where Overlays placed partially outside of a view would reset their position. (1422226)

  • Scene/Game View: Fixed Overlay popups not clipping to window size. (1419903)

  • Scripting: Fixed a validate assemblies issue after build target was changed. (UUM-3562)

  • Scripting: Fixed an issue where Application.logMessageReceived can be called from a job, when the job is scheduled on the main thread. (UUM-3085)

  • Scripting: Fixed an issue where assembly validation errors disappear when clearing console messages. (UUM-3087)

  • Scripting: Fixed Assemblies without any class or structs produces warnings. (UUM-4342)

  • Scripting: Fixed broken performance test.

  • Scripting: Fixed Disabled Plugin Assembly validation not working on startup. (UUM-4560)

  • Scripting: Improved diagnostic message and do not enter in safe-mode on some unsupported ApiUpdater scenarios involving .asmref adding code into .asmdef. (1406100)

  • Serialization: Avoid crash and log error message when boxedValue is set to null for non nullable property types. (UUM-658)

  • Serialization: Fixed Issue when performing an undo on an object that uses SerializeReference reuse existing C# objects, instead of recreating them. (UUM-651)

  • Services: Fixed issue that would make it so that services could not be used after computer returned from sleep.

  • Shadergraph: Fixed a compilation bug in BiRP Target in some variants with lightmaps. (UUM-7354)

  • Shaders: Changed texture declaration macros in HLSLSupport.cginc and SRP core package to use explicitly typed texture declaration so that the precision information will propagate properly on mobile shader targets. (1363451)

  • SRP Core: Fixed a null reference exception when settings null Render Pipeline Global settings on the Settings provider. (1423712)

  • SRP Core: Fixed a serialization error when Recovering Default Volume Profile after it was deleted from the project folder. (1423734)

  • SRP Core: Fixed a SerializedObjectNotCreatableException on Volume Component Editors. (1423153)

  • SRP Core: Fixed a swaping Volume Component issue in a Volume profile when there was mixed pipeline Volume Components did not override correctly. (1427585)

  • SRP Core: Fixed a Volume Component Editor issue where Foldouts states were stored by position instead of state. (1422120)

  • SRP Core: Fixed an issue where Asset Icons and MonoBehaviour for SRP's where not unified.

  • Terrain: Fixed the following error that was thrown: "EndLayoutGroup: BeginLayoutGroup must be called first" when selecting a .raw file to import as a Heightmap due to an error with IMGUI.

  • Text: Fixed an issue where unselecting, double clicking and triple clicking text fields did not produces reliable and expected behaviour.

  • Text: Fixed Text component not rendering elements with floating point coordinates correctly on machines with locale set to one that uses commas as decimal separators. (UUM-868)

  • TLS: TLS: Underlying TLS implementation updated to address CVE-2021-44732 and CVE-2021-45450. (UUM-3245)

  • uGUI: Fixed incorrect scroll bar handle calculations when clicking inside a scroll container that had a smaller handle rect. (1415690)

  • UI Toolkit: Fixed an issue where an alternate row background would disappearing after a refresh.

  • UI Toolkit: Fixed an issue where newline caused incorrect text size rounding error. (UUM-4169)

  • UI Toolkit: Fixed an issue where the expanded state of the ListView would not be serialized across selections. (UUM-1461)

  • UI Toolkit: Fixed an issue where the VisualElement's uxml attributes would not get properly cleared after calling "Unset" or "Unset All". (UI Builder). (1385056)

  • UI Toolkit: Fixed bind/unbind discrepancies with items in ListView/TreeViews controls.

  • UI Toolkit: Fixed dynamic height caching and reordering issues on ListView/TreeView controls.

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

  • UI Toolkit: Fixed rendering glitch on circles caused by incorrect geometry. (1357998)

  • UI Toolkit: Fixed some Layout Update Struggling issues related to ScrollViews. (1417765)

  • UI Toolkit: Fixed the position of the drag element of slider not being updated when resizing the label element. (1422677)

  • UI Toolkit: Fixed UI Toolkit runtime panels sometimes ignoring clicks in a build. (1419208)

  • UI Toolkit: Fixed visual artifact when border width is larger than border radius. (1420601)

  • UI Toolkit: Fixed VisualElements change scaling when mouse moves over a different window on a higher DPI display. (UUM-7260)

  • Universal RP: Fixed depth pre-pass being always executed on GLES devices. (UUM-8381)

  • Universal RP: Fixed incorrect light brightness when using SimpleLit shader. (UUM-7851)

  • Universal RP: Fixed specular highlight edges on Android. (UUM-7654)

  • Universal Windows Platform: Fixed a crash when entering a composition string longer than 64 characters into the IME. (UUM-928)

  • Universal Windows Platform: Fixed Application.OpenURL asserting due to not freeing temporary memory. (UUM-2205)

  • Universal Windows Platform: Fixed Build & Run picking the wrong instance of Visual Studio which potentially doesn't have required components installed to deploy the application. (UUM-931)

  • URP: Fixed a Gizmo and grid artifact in the editor view. (UUM-2299)

  • URP: Fixed a wireframe view issue in URP. (UUM-2548)

  • URP: Fixed an issue where camera UI inspector's clearFlag was not respected. (1422234)

  • URP: Fixed an issue where the material upgrader was showing up when the URP package was being installed. (UUM-2434)

  • URP: Fixed Gizmos in Game View when using Viewports. (UUM-7069)

  • URP: Fixed missing Depth Copy texture in Scene view. (1431872)

  • URP: Fixed URP 2D - Fix Light2D upgrading issue with m_AlphaBlendOnOverlap property. (UUM-1845)

  • URP: Fixed URP 2D - incorrect output when post process is enabled. (UUM-5871)

  • URP: Fixed URP 2D - vertex color for sprite shapes. (UUM-1921)

  • VFX Graph: Error thrown when entering a subgraph that is already opened. (1425836)

  • VFX Graph: Fixed an isse where the mirrored curve presets to match Shuriken curve editor was missing. (1411514)

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

  • VFX Graph: Fixed an issue when motion vector is applied on line using targetOffset, the VFXLoadParameter was missing. (UUM-3303)

  • VFX Graph: Fixed an issue where Position ArcSphere was failing with BlendDirection. (UUM-1295)

  • VFX Graph: Fixed an issue where VFX shadows were rendering when VFX was disabled in Scene View visibility menu. (UUM-4752)

  • VFX Graph: Fixed unexpected assert when capacity is really high. (UUM-534)

  • VFX Graph: Make collision with SDF more robust to bad inputs. (1406977)

  • Video: "Can't play movie" error is thrown when setting VideoPlayer.url to an invalid url through a script. (1388735)

  • Video: Fixed an issue where Audio channel order from the VideoPlayer was not matching what FMOD expects for 5.1/7.1 on Android, both with Vorbis and AAC audio codecs.

  • Video: Fixed an issue where Vorbis audio tracks created by MediaEncoder and VideoClipImporter had missing samples at the end. (1417269)

  • WebGL: Fixed a bug where the soft keyboard had incorrect formatting leading to excess whitespace. (UUM-1161)

  • WebGL: Fixed an issue where the soft keyboard would leave whitespace at the bottom of the page after being dismissed. (UUM-1159)

  • WebGL: Fixed bug where the rendering canvas wasn't resizing when changing orientation. (UUM-1135)

  • WebGL: Fixed connection issue between the WebGL player and the profiler. (UUM-798)

  • Windows: Fixed "Failed to determine current display mode, falling back to main display mode." error getting spammed in certain RDP scenarios. (UUM-3700)

  • Windows: Fixed resolution misdetection on vertical displays, which caused APIs like Screen.currentResolution or Screen.GetDisplayLayout() return wrong data and the player contain letterboxing when it shouldn't. (UUM-7552)

  • Windows: Restored the display enumeration behaviour back to Unity 2021.1 and earlier: the primary display will always be treated as display 1.

  • XR: Fixed XR devices not following RunInBackground setting in Player Setting on PC standalone and playmode in Editor.

Preview of Final 2023.1.0a5 Package changes

Packages updated

Packages added

变更集: 8123519e1968