ReinaS-64892 / TexTransTool

Non-destructive modification to Texture!
https://ttt.rs64.net
Other
73 stars 7 forks source link

Identifier uniqueness violationが発生する #522

Closed bdunderscore closed 3 months ago

bdunderscore commented 3 months ago
Identifier uniqueness violation: 'Name:RootCanvas/Umi_Face.psd-Canvas/おめめ/01/レイヤー 4, Type:GameObject'. Multiple Objects with the same name/type are generated by this Importer. There is no guarantee that subsequent imports of this asset will properly re-link to these targets.
UnityEditor.EditorGUI/PopupCallbackInfo:SetEnumValueDelegate (object,string[],int)

以上のエラーがリリース前のテストアバターのpsdで発生しました。TTTのバージョンは0.8.0-beta.0です。

ReinaS-64892 commented 3 months ago

それは同一階層に同名のレイヤーが存在するときに発生するものなのだけど...名前ずらしたところで、再リンクが保証できないのは変わらないから...回避したところでって感じなのよね 静かに壊れるよりかは、それを発生させておいて、同一階層同名のレイヤーを作らないでくれって感じでもある...

bdunderscore commented 3 months ago

テストをもらったアバターでレイヤー名を変えられないかと聞いたけど、多すぎて無理って言われたので、レイヤー名をかぶらないように自動的に変更するツールがあったらアセット作者が変えやすくなるかも?

ReinaS-64892 commented 3 months ago

さしずめ PSD Formatter みたいな感じかな... #212 あたりとも合わせて作ってみてもいい気はする

ReinaS-64892 commented 3 months ago

フォーマッターは今後何れやるとしても、このエラーの発生自体は直さない方針なのでこの Issues はクローズするね!