Repository navigation
TexMotion v1.3.1: Timeline Apply Unification & Robust Avatar Setup
TexMotion v1.3.1 Release Notes
日本語 (Japanese)
1. タイムラインからのアバター反映パイプラインの統合
タイムラインエディタ内の「Apply to Avatar」処理をメインウィンドウの仕様と一致させ、設定とアセット生成の流れを統一した。
- UIテーマの統一: メインウィンドウと同じエメラルドグリーン(
#33D973)の配色を適用し、操作状態を識別しやすくした。 - ターゲットアバターの自動検出: アバター参照欄が空の場合、現在選択中のオブジェクトまたはシーン内に存在する Humanoid アバターを自動探索して割り当てる。
- セットアップモードの連動: メイン設定で選択した方式(Modular Avatar または Direct VRCSDK)をタイムライン側へ即時同期する。Modular Avatar が未導入のプロジェクトでは、ワンクリック導入ダイアログを表示する。
- 生成オブジェクトの自動フォーカス: Modular Avatar 構成オブジェクトの生成直後に、ヒエラルキー上で該当オブジェクトをハイライト表示(Ping)し、選択状態にする。
- 出力パスの規格化とライブラリ更新: 生成されるアニメーションクリップの保存先を
Assets/TexMotion/Generated/Anim_{motionName}.animに固定し、保存完了と同時にモーションライブラリの表示一覧を自動更新する。
2. VRCSDK StateMachineBehaviour 登録時の例外抑止
Unity の内部実装により AnimatorState.AddStateMachineBehaviour が null を返却する環境において、後続処理が参照エラー(Non-static field requires a target)で停止する問題に対処した。
- インスタンス生成フォールバック: 戻り値が null の場合、
ScriptableObject.CreateInstanceを用いて直接ビヘイビアインスタンスを生成・割り当てるフォールバック機構を追加した。 - null ガードの強化: Action Layer の初期化シーケンスにおいて、ビヘイビア参照の安全性を事前検証する分岐を追加した。
English
1. Unified Avatar Application Pipeline in Timeline Editor
Standardized the "Apply to Avatar" workflow within the Timeline Editor to achieve behavioral and visual consistency with the main TexMotion window:
- Visual Alignment: Adopted the primary emerald green accent (
#33D973) for avatar application controls to clarify interaction states. - Automatic Avatar Detection: Resolves unassigned avatar targets by inspecting the active hierarchy selection and querying scene Humanoid components.
- Mode Synchronization: Synchronizes avatar setup preference (
ModularAvatarvs.DirectVRCSDK) directly from project settings, prompting an installation dialog when Modular Avatar components are absent. - Hierarchy Auto-Focus: Highlights (pings) and selects newly generated Modular Avatar game objects within the scene hierarchy immediately upon creation.
- Standardized Export Paths: Fixes generated animation clip destinations to
Assets/TexMotion/Generated/Anim_{motionName}.animand triggers an immediate refresh of the Motion Library index upon export.
2. Fault-Tolerant VRCSDK StateMachineBehaviour Binding
Addressed reference exceptions (Non-static field requires a target) occurring when Unity's internal AnimatorState.AddStateMachineBehaviour returns null in specific project configurations:
- ScriptableObject Fallback: Instantiates behavior instances directly via
ScriptableObject.CreateInstanceif the standard API returns null, ensuring uninterrupted layer configuration. - Defensive Null Verification: Enforces boundary null checks across Action Layer assignment routines.
📦 Installation
Download TexMotion.unitypackage below and import it into your Unity project (Unity 2022.3.x recommended, VRChat Avatar project supported).
Or install directly via Unity Package Manager using Git URL:
https://github.com/k0ta0uchi/TexMotion.git