Skip to content

Conversation

mkc1370
Copy link
Contributor

@mkc1370 mkc1370 commented Jul 18, 2023

概要

BakedDataの変更(bakedProfile, bakedAudioClip, duration, frames)が保存されないことがあるため、BakedDataEditor.Bake()の最後に変更を保存する処理を追加しました。

再現方法

  1. Baked Dataを作成
    image
  2. Baked DataをuLipSyncTrackに追加
    image
  3. Baked DataのProfileとAudio Clipに任意のアセットを設定
    image
  4. Unityを閉じる
    (もし、ここでUnityを閉じる前にBakeを行えばタイムラインの変更保存時に同時にBakedDataの変更も保存されます)
  5. タイムラインの変更を保存
    image
  6. Unityを開く
  7. Bakeボタンを押す
    この時点では正しく動作します
    image
  8. Unityを閉じる
    閉じる前にCtrl+SをしてもBakedDataの変更は保存されません
  9. Unityを開く
  10. Baked Dataが反映されていない
    image
    image

@hecomi hecomi merged commit 0e936f6 into hecomi:main Jul 18, 2023
@mkc1370 mkc1370 deleted the feature/fix_save_baked_data branch July 18, 2023 15:24
@hecomi
Copy link
Owner

hecomi commented Jul 18, 2023

ありがとうございます!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants