Added: Added PhysicsWorld.ExplosionDefinition.useTriggers to control whether an explosion applies an impulse to trigger shapes.
Physics 2DAPI change
Added: Added PhysicsWorld.minEdgeLength, PhysicsWorld.minPolygonEdgeLength, and PhysicsWorld.minPolygonCollinearDistance to expose geometry validity thresholds, and an areEdgesValid property to SegmentGeometry, CapsuleGeometry, ChainSegmentGeometry, and PolygonGeometry to check a geometry's edges against them.
Physics 2DAPI change
Added: Added PhysicsWorld.stateHash, which returns a hash of the current state of the world. Use it to compare the state of two worlds, for example when checking that a simulation is deterministic. The value is recalculated over the whole world each time you read it, so avoid reading it every frame.
Physics 2DAPI change
Added: Added PhysicsWorld SetName() and GetName() methods to allow assigning of a 64 character name to help with world identity during debugging.
Physics 2DAPI change
Added: Added pointA and pointB to the physics contact manifold point, which give the contact point on each shape in world space. The existing point property is now deprecated because the two new properties replace it.
Physics 2DBreaking
Added: Added: "PhysicsMath.TryGetRelativeMatrix2D()" and "PhysicsMath.TryGetPlaneMatrix2D()", which compute a 2D relative transform without ever returning a NaN result for a degenerate or flattened scale. These are often required when authoring components and help calculate relative transformation between two in a Transform hierarchy.
Physics 2DAPI change
Added: Added: PhysicsBody, PhysicsShape and PhysicsJoint now each have a "drawTarget" property, selecting which Unity editor views (Scene view, Game view or both) the object is drawn into when the world is drawn.
Physics 2DAPI change
Changed: The batch and span setters on "PhysicsBody", "PhysicsShape" and "PhysicsJoint", along with "PhysicsWorld.Simulate", "PhysicsWorld.DrawShapes", "PhysicsSpace.SetBatchProxyAABB" and "PhysicsSpace.SetBatchProxyCategories", now return the number of items ignored because they were invalid and log a single warning when any are ignored.
Physics 2DAPI change
Deprecated: Deprecated the PhysicsCallbacks.IPreSolveCallback interface. It reported both an existing contact and a predicted stop for a fast moving shape through a single callback, so it is replaced by PhysicsCallbacks.IPreContactCallback and PhysicsCallbacks.IPreContinuousCallback, one for each situation. The deprecated interface keeps working and still reports both, and a shape only uses it where the matching new interface is not implemented, so you can move over one at a time.
Physics 2DBreaking
Deprecated: Deprecated PhysicsWorld.WorldProfile.applyBounciness; bounciness is no longer a separate solver stage so it always reads as zero.
Physics 2DBreaking
Obsoleted: Removed PhysicsWorld and PhysicsWorldDefinition autoContactCallbacks and autoTriggerCallbacks properties as they are no longer required or used. The contact and trigger events are effectively free now and production of such events is still controlled on a per-shape basis so no behaviour has been lost.
Physics 2DBreaking
Obsoleted: Obsoleted Playable APIs Playable.SetDelay, Playable.GetDelay, as well as Playable.SetPlayState. The delay functionality can be implemented manually via ScriptPlayables, either by inserting a new playable in the chain which implements the delay, or by modifying the parent playable to handle the delay.
PlayablesBreaking
Changed: Added an optional Display Name property to ProfilerCounterDescriptor for improved readability.
ProfilerAPI change
Added: Implemented visibility, focus and resizability APIs for Windowing.
QNXAPI change
Added: Implemented window focus, visibility, and destruction event system APIs in Windowing.
QNXAPI change
Added: Added CoreCLR ScriptingImplementation enum value exposing CoreCLR player support.
ScriptingAPI change
Added: Added the IVariantSelector interface, which you can implement to define custom variants for the localization system.
ScriptingAPI change
Added: New public API, Detach(node) and DetachChildren(node) on Hierarchy and HierarchyCommandList. A detached node keeps its data map entry but is unreachable from Root.
ScriptingAPI change
Added: New public API, IHierarchyNodeTypeHandlerViewModelState, and GetOrCreateHandlerState<T>, TryGetHandlerState<T> and DestroyHandlerState on HierarchyViewModel, for node type handler state that belongs to a single view model. HierarchyNodeTypeHandlerBase.SearchBegin, SearchMatch and SearchEnd gained overloads taking the HierarchyViewModel running the search.
ScriptingAPI change
Added: [Scripting] IL2CPP code coverage support.
ScriptingAPI change
Deprecated: Deprecated PlayerSettings.gpuSkinning. Use PlayerSettings.meshDeformation instead.
ScriptingBreaking
Deprecated: HierarchyNodeTypeHandlerBase.SearchBegin(HierarchySearchQueryDescriptor), SearchMatch(in HierarchyNode) and SearchEnd() are obsolete. Use the overloads that take a HierarchyViewModel, since handlers are shared by every view model on a hierarchy.
ScriptingBreaking
Removed: Deprecated Hierarchy.GetAllNodeTypeHandlersBase has been removed.
ScriptingBreaking
Removed: Deprecated Hierarchy.GetAllNodeTypeHandlersBaseCount has been removed.
ScriptingBreaking
Removed: Deprecated Hierarchy.RegisterNodeTypeHandler has been removed.
ScriptingBreaking
Removed: Deprecated Hierarchy.SortChildren(HierarchyNode, bool) has been removed.
ScriptingBreaking
Removed: Deprecated Hierarchy.UnregisterNodeTypeHandler has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyCommandList.SortChildren(HierarchyNode, bool) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyFlattened.Hierarchy has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyFlattenedNodeChildren has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyNodeTypeHandlerBase constructor taking a Hierarchy parameter has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyNodeTypeHandlerBase.ChangesPending has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyNodeTypeHandlerBase.Dispose has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyNodeTypeHandlerBase.IntegrateChanges has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.ClearFlags(HierarchyNode, HierarchyNodeFlags, bool) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.DoesNotHaveAllFlags(HierarchyNode, HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.DoesNotHaveAllFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.DoesNotHaveAllFlagsCount has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.DoesNotHaveAnyFlags(HierarchyNode, HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.DoesNotHaveAnyFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.DoesNotHaveAnyFlagsCount has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.EnumerateNodesWithAllFlags has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.EnumerateNodesWithAnyFlags has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.EnumerateNodesWithoutAllFlags has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.EnumerateNodesWithoutAnyFlags has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetIndicesWithAllFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetIndicesWithAllFlags(HierarchyNodeFlags, Span<int>) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetIndicesWithAnyFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetIndicesWithAnyFlags(HierarchyNodeFlags, Span<int>) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetIndicesWithoutAllFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetIndicesWithoutAllFlags(HierarchyNodeFlags, Span<int>) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetIndicesWithoutAnyFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetIndicesWithoutAnyFlags(HierarchyNodeFlags, Span<int>) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetNodesWithAllFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetNodesWithAllFlags(HierarchyNodeFlags, Span<HierarchyNode>) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetNodesWithAnyFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetNodesWithAnyFlags(HierarchyNodeFlags, Span<HierarchyNode>) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetNodesWithoutAllFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetNodesWithoutAllFlags(HierarchyNodeFlags, Span<HierarchyNode>) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetNodesWithoutAnyFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.GetNodesWithoutAnyFlags(HierarchyNodeFlags, Span<HierarchyNode>) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.HasAllFlags(HierarchyNode, HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.HasAllFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.HasAllFlagsCount has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.HasAnyFlags(HierarchyNode, HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.HasAnyFlags(HierarchyNodeFlags) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.HasAnyFlagsCount has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.Hierarchy has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.SetFlags(HierarchyNode, HierarchyNodeFlags, bool) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewModel.ToggleFlags(HierarchyNode, HierarchyNodeFlags, bool) has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyViewNodesEnumerable has been removed.
ScriptingBreaking
Removed: Deprecated HierarchyWindow.InitializingView has been removed.
ScriptingBreaking
Removed: Removed the deprecated HierarchyViewModel.HierarchyFlattned.
ScriptingBreaking
Added: Added SetBufferData to Raster/Unsafe command buffers and allow SetComputeBufferData for all APIs.
SRP CoreAPI change
Obsoleted: Deprecating UnityEngine.Rendering.Pool and standarizing UnityEngine.Pool across SRP packages.
SRP CoreBreaking
Added: Added TestRunProfiler custom spans API.
Test FrameworkAPI change
Added: Added read-only glyph metrics API to FontAsset.
Added: Added LayoutRebuilder.IsLayoutRebuildPending and LayoutGroup.IsLayoutPending() to check whether a UI element still has a pending layout rebuild.
uGUIAPI change
Deprecated: Marked the PositionAsUV1, TMP_TextElement_Legacy, FaceInfo_Legacy, TMP_Glyph, TMP_Sprite, KerningPair and KerningTable classes as deprecated (with a warning). Marked the GlyphValueRecord_Legacy struct as deprecated (with a warning). Marked the EventHandle enum as deprecated (with a warning). Marked TMP_SpriteAsset.spriteInfoList as deprecated (with a warning). Marked Scrollbar.ClickRepeat(PointerEventData eventData) deprecated (with a warning).
uGUIBreaking
Obsoleted: Marked the TMP_FontUtilities class as obsolete (with an error). Marked the KerningPairKey struct as obsolete (with an error). Marked the EventSystem.SetUITookitEventSystemOverride method as obsolete (with an error). Marked the Graphic.m_CachedMesh, Graphic.m_CachedUvs and Graphic.useLegacyMeshGeneration members as obsolete (with an error).
Added: Added APIs FindPanelRenderer and FindUIDocument.
UI ToolkitAPI change
Added: Added support to capture a VisualElement to a RenderTexture.
UI ToolkitAPI change
Added: Added the public UnityEngine.EventCommandNames class, which provides the command name constants that the Editor sends with its command events, such as Copy, Paste, and FrameSelected.
UI ToolkitAPI change
Added: Added z-index USS property support for controlling the stacking order of overlapping elements within a stacking context. Enable via Project Settings > UI Toolkit > Experimental Renderer Features > Enable Z-Index.
UI ToolkitAPI change
Added: Added IFormattingExtensionsToggle to Smart Strings, which lets a source skip formatter extensions for the placeholder it resolved.
UI ToolkitAPI change
Added: Added ParserSettings.SelectorCharFilter and SelectorFilterType to Smart Strings. Set the filter to VisualUnicodeChars to use characters from any script in a selector.
UI ToolkitAPI change
Added: Added PluralRules.RestoreDefault to Smart Strings, which restores the built-in pluralization rules.
UI ToolkitAPI change
Added: Added UxmlSerializedDataPropertyDrawer, UxmlAttributeField, and UxmlAttributeFieldDecorator to support custom property drawers for UI Toolkit elements in the Inspector.
UI ToolkitAPI change
Added: Experimental VisualElement Components.
UI ToolkitAPI change
Added: Added 4 overloads for DrawProceduralIndirect that add a count parameter and an optional indirect count buffer for Multi Draw Indirect.
URPAPI change
Changed: Added CLI args to Integration and Runtime test runners to select target browser and platform.
UTRAPI change
Removed: Removed the deprecated MovieTexture API.
VideoBreaking
Added: Added new "Maximum Size Reduction" and "Maximum Size Reduction with LTO" Code Optimization settings. When enabled this will further optimize compiled IL2CPP code as well as apply extra link time optimizations (these are distinct from LTO). Testing across multiple projects and devices showed that compared to the default "Shorter Build Time" setting, "Maximum Size Reduction" reduces code size by an average of 28.50% at the cost of 5.25% frame time performance regression.
WebAPI change
Added: Added performance.measureUserAgentSpecificMemory to web diagnostics overlay to calculate used JS memory.
WebAPI change
Added Burst and Collections as dependency for com.unity.2d.tilemap package.
Changed Tilemap component data structure for better compatibility with jobs.
2DChange
Refactored URP 2D shadow shaders into a consolidated multi-pass form with named passes (Self, UnshadowMark, UnshadowUnmark, ProjectedSelf, ProjectedUnshadow). Groundwork for upcoming custom-shader and ShaderGraph master node support; no user-visible rendering change.
2DChange
Renamed the Sprite "Physics Shape" API and Sprite Editor tab to "Physics Outline" to avoid confusion with PhysicsCore2D's PhysicsShape. The old API is deprecated but still works and auto-upgrades.