• 日本語
  • multi track animation mixing bug on runtime

hello :sun:
I am always looking forward to new features.
こんにちわ。
いつも新しい機能を楽しみにしております。

Today, A few bugs were found at runtime(3.8-beta).
I made a report(readme.md), please look at the attached file.
今日はランタイムでいくつかバグが見つかりました。
レポートにしましたのでファイル(readme.md)をご覧くださいませ。

The fixes the source code and comes with it.
For your reference.
修正ソースコードも付属致します。
ご参考までにどうぞ。

  • throw null pointer exception - spine-c
    spine-c only.
    Call "setemptyanimation" , raise null pointer exception error in "_spAnimationState_animationsChanged" function.

  • animation is disabled on second or more track.
    When play second track , From-animation and to-animation are not blended.

  • animation is disabled with mixAdd (track blend).


have a nice day :beer:

ご報告いただきありがとうございます。 しかし、私はあなたが報告した問題を再現するのに問題があります。 送信したZIPファイルには、十分に説明されていない多くの変更が含まれています。 報告しているクラッシュの再現サンプルは含まれていません。

Spine SFMLの例を修正して、クラッシュと問題を実証できますか?

Thanks for reporting! However, I'm having trouble reproducing the issues you reported. The ZIP file you sent contains many changes that aren't fully explained. It does not contain a reproduction sample of the crashes you are reporting.

Could you maybe modify our Spine SFML example and demonstrate the crashes and problems?

Thank you for your reply!
お返事ありがとう御座います。
I can not express difficult, please translate.
難しい表現は自信が無いので、今回は翻訳をお願い出来ればと思います。

Could you maybe modify our Spine SFML example and demonstrate the crashes and problems?
サンプル不足で申し訳ございませんでした。
"SFML"によるサンプルを用意しましたのでご覧頂けますか?
よろしくお願い致します。
(cppバージョンを作る時間がありませんでした。ごめんなさい)
元(original)と修正(modified)の切替は、spine-c\extension.hにマクロを用意しております。
比べる際は切り替えてください。

内容は以下の通りです。

  • trackが1以上の場合のAnimationMixing
  • mixBlendAdd使用時のAnimationMixing
  • EmptyAnimationを使用した場合に発生するNull pointer access(spine-c only)
    (修正前の実行ファイルは、nullpointer-testで自動的にシャットダウンされます)

もうひとつ、
skeleton.scaleを+1.0,-1.0以外を使用したテストが追加されています。
私には異常か正常か判別出来ませんでした。確認頂けると嬉しいです。

このサンプルでは、最小限、テストで使用される機能の修正のみ行っています。
(StateRotateTimelineApplyとRotateTimelineApplyのみ)
他の機能は省いておりますのでご注意ください。

また、mixBlendAddの修正は含まれておりません。
実行を追跡して、_spAnimationState_animationsChangedにおいてmixingFromが消失, _spTrackEntry_setTimelineDataにおいてtimelineMode = SUBSEQUENTが実行されないことを確認しております。
mixingFromが消失しているため、mixingがカットされ、mixingTo(currentAnimation)が即表示されています。

私にはこの部分が正しい処理なのか判断出来ませんでしたので修正は保留しています。

今、提出出来る資料は以上になります。
よろしくお願い致します。

サンプルありがとうございます。 私はすでに最新の3.7と3.8-betaブランチのnullポインタによるクラッシュを修正しました。

サンプルの残りの部分を調べるにはもっと時間が必要です。

Thank you for the sample. I've already fixed the crash due to a null pointer in the latest 3.7 and 3.8-beta branches.

I will need more time to examine the rest of the sample.

ご対応いただきありがとうございます。

I will need more time to examine the rest of the sample.
承知いたしました。対応をお待ちしております。

修正に必要な資料やサンプルの不足がありましたら、またご連絡ください。
それでは、失礼致します。