Changelog
[1.2.0] - 2026-11-03
Fixed
- Added correct .buginfo file.
- Selecting one of the package's icon assets now previews it correctly in the Inspector, instead of showing the colors stored in its fully transparent pixels.
- The Component and Property add buttons in the Custom Properties settings are now disabled once there is nothing left to add, instead of opening an empty dropdown.
- The Physics Area Group and Physics Constraint Group descriptions in the Custom Properties settings are now shown as a tooltip instead of being cut off.
- The Name field no longer overlaps the asset field in the Custom Properties settings when the Project Settings window is narrow.
- A Custom Properties component row for a type that no longer exists now keeps its "(missing)" tag visible in a narrow Project Settings window, and its tooltip names the full type.
- The package landing page's and What's New page's links to the 2D physics manual page are no longer malformed.
- The shapes of an area on a child of a scaled or mirrored "PhysicsPose" now sit where the child's Transform places them, instead of being pulled towards the pose by its scale.
- A "PhysicsAreaComposite" with a scaled GameObject now places a Pose layer's shapes on the referenced pose at their own size, instead of away from it and scaled by the composite.
- "CompositeGeometry.RemoveAt" and "CompositeGeometry.Clear" now throw for a Pose layer that holds a pose, instead of leaving that pose with no body. Use "PhysicsAreaComposite.RemoveLayer" to remove it.
- A pose added to a "PhysicsAreaComposite" while disabled now adds its areas to the composite when it's enabled.
- A "PhysicsAreaComposite" Pose layer now places its areas correctly when its pose is at the world origin.
- An area or constraint with an Auto pose source now finds its pose again when its parent changes, and stops using a pose it was moved away from.
- A pose, area or constraint whose definition, contact or material asset has been deleted now builds nothing, instead of falling back to its local definition.
- "PhysicsPose.Apply" and "PhysicsConstraint.Apply" now do nothing while the component is disabled.
- "PhysicsConstraint.JointDestroyed" is now raised when the joint is destroyed along with a pose's body.
- Callbacks are no longer sent to a callback target that has been destroyed.
- The highlight on a shape no longer flickers while one of its geometry tool handles is dragged.
- Physics definition and geometry assets saved by an earlier version now load settings added since then with their default values instead of zero.
- The greyed Geometry fields of a primitive area with a geometry asset now show the asset's geometry and update while it's edited.
- A "PhysicsAreaContour" with Segments output and Reverse Winding on no longer shows a second set of normals in the Scene view.
- A "PhysicsSimulation" set to persist across scenes was left without a world after a Single scene load destroyed the world it held.
- Deleting a "PhysicsSimulationWorld" asset left the world it named running until play mode was entered or exited.
Added
- "PhysicsArea.UpdateShapes" and "PhysicsArea.RequestUpdate" let an area change some of its shapes without rebuilding all of them, with the mass update and shape events raised once per update.
- "PhysicsAreaShapeContext", which every area now creates its shapes through, so each shape is owned by the area from the moment it is created.
- "PhysicsArea.AreaOptions" and "PhysicsArea.areaOptions", with "AreaOptions.FastShapeSearches" for areas that have many shapes and destroy a few at a time.
- A "Draw Override" section to the Physics Core preferences, which replaces the draw settings of every physics world in the Editor without changing any world or project setting.
- "PhysicsSimulationWorld.world" returns the live world the asset names, or an invalid world when nothing is using the asset.
- "PhysicsArea.UpdateReasons" and "PhysicsAreaShapeContext.reasons", which tell "PhysicsArea.UpdateShapes" what changed.
- "PhysicsArea.ApplyDefinitionChanges", which writes a changed definition, user data or callback target to an area's existing shapes without recreating them.
- "PhysicsArea.customSettingsHash" and "PhysicsArea.UpdateReasons.CustomSettings", which let an area that updates its existing shapes rebuild them when one edit also changes its own settings.
- A "2D/Physics Core/Move Pose While Dragging Shape" shortcut, with no key assigned, which makes dragging a shape with the Edit Physics Area tool move its "PhysicsPose" instead of the shape while the key is held.
Deprecated
- The "PhysicsArea.GenerateShapes" overload taking a body and a shape list is deprecated, replaced by "PhysicsArea.GenerateShapes(in PhysicsAreaShapeContext)".
Changed
- "PhysicsArea.RequestRebuild" now rebuilds immediately, the same as "PhysicsArea.Rebuild".
- Areas write each shape's user data, callback target, group and definition in batches, so areas with many shapes build faster.
- An area or constraint with an Auto pose source and no "PhysicsPose" on its GameObject or parents now uses no pose, even if one was assigned while its source was Custom.
- "PhysicsAreaComposite.AddPoseLayer" now throws for a pose that a composite is built on, so a composite can't include itself or another composite.
- "maxPolygonVertices" on "PhysicsAreaComposite" and "PhysicsAreaContour" is now clamped to 3 to 8, and "curveStride" to 0.02 to 1.
- Fixed "PhysicsAreaComposite" in Compound output ignoring its "scaleRadius" setting, so its circle, capsule and rounded polygon shapes always scaled their radius with the GameObject and composite scale; the Scale Radius option is now shown in the Inspector for Compound output.
- Fixed various issues with how "PhysicsAreaComposite" Pose layers keep track of their poses and areas.
- Fixed various Editor issues with definition and geometry assets, such as Inspector edits not reaching a component after a script assigned the asset.
- Editing the definition, user data or callbacks of a primitive, path or "PhysicsAreaSprite" area now updates its existing shapes instead of rebuilding them, and so does editing the geometry of primitive and path areas.
[1.1.0] - 2026-09-11
Added
- All PhysicsArea now support shape-based "PhysicsCallbacks.IPreContactCallback" and "PhysicsCallbacks.IPreContinuousCallback" which allow contact rejection and manifold changes.
- All PhysicsArea now support areas-based "PhysicsAreaCallbacks.IPreContactCallback" and "PhysicsAreaCallbacks.IPreContinuousCallback" which allow contact rejection and manifold changes.
Fixed
- The pre-contact and pre-continuous dispatch counters shown in the "Info" fold-outs no longer undercounting, because those callbacks arrive on worker threads.
- Stopped an InvalidCastException being thrown from the Pose and Simulation inspectors when entering Play mode.
- PhysicsWorld custom Transform Plane is now fully supported by all PhysicsArea.
- Prefab editing now works with isolated worlds and supports multiple world simulations simultaneously in the same prefab. In addition, nested prefabs now work.
[1.0.0] - 2026-09-02
Added
- Initial release of 2D Physics Core, providing supported components for the PhysicsCore2D features in Unity.