Unity 6.7で、Sprite Editorの「Custom Physics Shape」タブが「Custom Physics Outline」に改名されます。また、SpriteクラスのGetPhysicsShapeメソッドなども、PhysicsShapeの部分がPhysicsOutlineになります。
※ 本投稿執筆時(2026年11月29日)のUnity 6.7はまだ正式リリースされておらず、beta11段階です。今後の変更に注意してください。
※ 動作確認は「Unity 6000.7.0b11」で行っています。
リリースノートにおける該当部分はこちら。
2D: 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.
Editor上の変更
Sprite Editor左上のドロップダウンの「Custom Physics Shape」が「Custom Physics Outline」になっています。
| Unity 6.6 | Unity 6.7 |
|---|---|
![]() |
![]() |
また、SpriteテクスチャのImport Settingsでも「Generate Physics Shape」が「Generate Physics Outline」に変更されています。
| Unity 6.6 | Unity 6.7 |
|---|---|
![]() |
![]() |
APIの変更
Unity 6.7でSprite.GetPhysicsShapeをはじめとする、SpriteのPhysics Shape関連APIは非推奨(Obsolete)になります。旧APIは引き続き使用でき、自動アップグレードにも対応しています。
そして、代わりにSprite.GetPhysicsOutlineをはじめとするPhysics Outline関連APIが追加されています。
APIの対応表を以下に示します。
改名の理由
PhysicsCore2Dというビルトインモジュールがあります。
これは、Rigidbody 2DやCollider 2Dなどを提供するPhysics2Dとは別の2D物理モジュールです。Unity 6.5において、LowLevelPhysics2Dから改名され、名前空間もUnity.U2D.Physicsに変わりました。
このPhysicsCore2DにはPhysicsShapeという構造体があります。
「PhysicsCore2DのPhysicsShape」と「SpriteのPhysics Shape」、似た名前で別のものを指しているので混乱しますね。
冒頭に示したリリースノートを再掲します。
2D: 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.
今回の変更は、その混乱を避けるための名称変更だそうです。
まとめ
Unity 6.7のマニュアル「Add physics to a sprite with 2D Physics Core」内に、次のような一文。
Add a Physics Area Sprite component to derive physics shapes automatically from a sprite's physics outline.
改名されていなかったら、「sprite's physics shapeからphysics shapesを作る」という一文になるところでした。これは確かに混乱しますね。
いい改名だと思いますが、慣れるまでは「Custom Physics Shapeがない?」と驚く人もいそうですね。
この記事が誰かの役に立つことを祈りつつ。



