Hi,
I found a regression in the PSD import in Spine 4.3.23. A setup that worked in 4.2.43 now fails to import.
Environment
Spine 4.3.23 Enterprise (Windows 10 Pro, amd64)
Last working version: 4.2.43
Summary
When a parent group has a [name:pattern] tag and child groups inside it use [mesh:name] to create linked meshes, the [name:pattern] transformation is no longer applied during source mesh resolution. The source mesh can no longer be found, so the import fails. This worked correctly in 4.2.43.
Expected behavior
As documented ("The name conversion happens before the other pattern tags are applied"), the parent group's [name:pattern] should be applied to the child layer names first, so the [mesh:name] source mesh search runs against the transformed names. The linked meshes should then be generated across the multiple child folders.
Actual behavior
The parent [name:pattern] tag has no effect during source mesh resolution, so the source mesh is not found:
Source mesh "A" not found for linked mesh:
[bone][name:Alphabet_*]ABC/[slot]ABC[trim:mask]/[merge][mesh:A]B[skin:ABC]
(The original message appears in Japanese: 「リンクメッシュのソースメッシュ「A」が見つかりません」)
Steps to reproduce
Open the attached test PSD.
Spine menu → Import → Import PSD…
Import with default options.
The error above appears and the linked meshes are not generated.
Note
The 4.3 release notes mention changes to PSD import source mesh matching and linked meshes in other slots, so this regression may be related to those changes. A minimal test PSD is attached.
Thanks!
念のため日本語でも記載します。
Spine 4.3.23 のPSDインポートで、4.2.43では動作していた構成がインポートに失敗する回帰バグを見つけました。
環境:
Spine 4.3.23 Enterprise(Windows 10 Pro)/正常動作の最終版:4.2.43
概要:
親グループに [name:pattern] タグを付け、その下位グループで [mesh:name] によるリンクメッシュを生成する構成で、4.3.23ではソースメッシュ解決時に [name:pattern] の変換が反映されず、ソースメッシュが見つからずインポートに失敗します。4.2.43では正常でした。
期待する結果:
ドキュメント記載の通り(name変換は他のパターンタグの適用前に行われる)、親の [name:pattern] がまず子レイヤー名に適用され、その変換後の名前で [mesh:name] のソース検索が走り、複数の下位フォルダにわたってリンクメッシュが生成されること。
実際の結果:
ソース解決時に親の [name:pattern] が効かず、ソースメッシュが見つからない:
リンクメッシュのソースメッシュ「A」が見つかりません:
[bone][name:Alphabet_*]ABC/[slot]ABC[trim:mask]/[merge][mesh:A]B[skin:ABC]
再現手順:
① 添付のテストPSDを開く
② メニュー → インポート → PSDをインポート
③ デフォルト設定でインポート
④ 上記エラーが出てリンクメッシュが生成されない