🇯🇵 日本語: 下に続きます / Japanese version below.
Test your avatar inside Unity Play Mode instead of uploading it every time: walk, run, jump, crouch and prone with VRChat’s locomotion parameters, plus an optional personal mirror.
It runs on top of Lyuma’s Av3Emulator, which does the hard part (emulating your avatar’s animator layers, expression parameters and expression menu). Av3Emulator is installed automatically when you add this package in VCC.
TeeTools > Play Tester.The Av3Emulator object and the tester are created only for the test and removed automatically afterwards, so your scene stays clean. The tester never modifies your avatar, so your uploads are unaffected.
| Key | Action |
|---|---|
| WASD | Move |
| Shift | Run |
| Space | Jump (stands you up first if crouched/prone) |
| C / Z | Toggle crouch / prone |
| Right-drag, Q / E | Look / turn |
| Scroll | Zoom camera |
| End | Toggle AFK |
| M | Toggle personal mirror |
| H | Hide / show the on-screen info |
For the expression menu, use Av3Emulator’s (the Lyuma Av3 Menu on the avatar, or the Gesture Manager radial menu if installed).
The window and the on-screen info have an English / 日本語 switch (shared with the Avatar Health Check window).
Add animation clips (for example humanoid dances made by a friend) to Dance / emote test in the Play Tester window: drag them onto the drop box (a model file with several clips works too), optionally add a song to each, then press Start Test. In the Game view press Tab to open the dance menu, click a dance or press 1-9 to play it, 0 to stop (P plays / stops the last one). You can also use the Play button next to each clip in the window. The clip is played on your avatar in Play Mode only: nothing is added to the avatar and nothing needs to be uploaded.
The face looks wrong while walking or jumping The cause is still being investigated. It is not the head chop (Av3Emulator’s Enable Head Scaling is off by default) and not a shader. Press F9 in Play Mode to print a report to the Console, and check the frame rate (Game view > Stats): a very low frame rate makes PhysBones and constraints misbehave when the avatar moves.
The mesh doesn’t follow the skeleton (T-pose, or a face that breaks when moving) Press Check the avatar’s skeleton in the window (works without Play Mode). It reports, per mesh, how many vertices use a missing bone, and whether the mesh is bound to the same skeleton the Animator moves. A mesh bound to missing or duplicate bones can’t be animated, in the editor or in game.
The avatar slides without stepping (no walk animation) Avatars that use the SDK’s Default Locomotion only have placeholder animations in the editor; VRChat’s real walk and run animations live inside the VRChat client. From v1.0.1 the tester adds its own Walk animation: walk, run, backwards, side-steps, diagonals and a simple jump pose, with the step speed matched to the movement speed. It is a preview, not VRChat’s real animation. If your avatar already animates its own legs, the tester notices after about a second and leaves it alone. Crouch and prone use the emulator’s own poses (no stepping yet). Press F9 to print a report; the first time the animation starts, the Console shows a “Locomotion calibrated” line, so please include it if something looks wrong.
Two avatars show up, or the animation disappears after a moment Av3Emulator makes copies of the avatar (mirror / shadow clones). From v1.0.2 the tester copies its pose onto those copies too, and no longer switches the walk animation off by itself. The Console lists the copies it found (“Copies of the avatar found in the scene”); if you still see two avatars, please send that line.
The avatar is off-centre, or the camera flies away when crouching Fixed in v1.0.3. Unity’s pose writer could shift the avatar’s hips away from its root, and the further the avatar was from the world origin, the bigger the shift. The tester now puts the hips back after every pose write, and leaves crouch and prone poses completely untouched.
The jacket / sleeves flare out stiffly The emulator’s idle pose holds the arms further from the body than VRChat’s own idle, which makes jackets and sleeves stick out. From v1.0.5 the tester pulls the upper arms in by 20 degrees (Advanced: “Arms closer to body”, 0 = off). The Console and F9 report also list how far each PhysBone chain has swung, so you can see which ones move.
The jacket / hair / tail looks stiff Since v1.0.4 the on-screen info shows a “PhysBones” line, and the Console lists every PhysBone on the avatar with its main settings. If you move and the line says “NOT MOVING”, the PhysBones are not simulating in Play Mode; please send the Console lines that start with “[TeeTools Play Tester] PhysBones”.
The Start button is greyed out The window tells you why: no avatar chosen, Av3Emulator not installed, or an old Play Tester object from the earlier manual method is still in the scene (press the button in the window to remove it).
The avatar stays in a T-pose or looks stiff Check the notes in the window (the avatar needs a VRC Avatar Descriptor, and missing scripts can interfere). If the emulator didn’t attach, the Console prints a report with the likely cause about 3 seconds after Play starts. Avatars that use the SDK’s Default Locomotion only have placeholder animations in the editor, so they can look stiff even when everything works.
“Scene mismatch (cross scene references not supported)” Only possible with a manually added Play Tester component: the avatar and the tester are in different scenes. Delete that object and use the window instead.
Add Component > TeeTools > Play Tester).アバターをアップロードせずに、UnityのPlayモードでテストできます。 VRChatのロコモーションパラメータで歩く・走る・ジャンプ・しゃがみ・伏せができ、 パーソナルミラーも使えます(任意)。
LyumaさんのAv3Emulatorの上で動く設計です。アニメーターレイヤー、Expressionパラメータ、 Expressionメニューの再現はAv3Emulatorが担当します。Av3Emulatorは、VCCでこのパッケージを 追加すると自動でインストールされます。
TeeTools > Play Tester を開く。Av3Emulator用オブジェクトとテスターは、テストの間だけ自動で作られ、終了後に自動で削除されます。 シーンが散らかりません。アバター自体は変更しないので、アップロードへの影響はありません。
| キー | 動作 |
|---|---|
| WASD | 移動 |
| Shift | ダッシュ |
| Space | ジャンプ(しゃがみ/伏せ中は先に立ち上がる) |
| C / Z | しゃがみ / 伏せ 切り替え |
| 右ドラッグ, Q / E | 視点 / 旋回 |
| スクロール | カメラのズーム |
| End | AFK 切り替え |
| M | パーソナルミラー 切り替え |
| H | 画面の情報表示 切り替え |
Expressionメニューは、Av3Emulatorのもの(アバター上のLyuma Av3 Menu、 またはGesture Managerのラジアルメニュー)を使ってください。
ウィンドウと画面上の表示には English / 日本語 の切り替えがあります (Avatar Health Checkウィンドウと共通の設定です)。
プレイテスターのウィンドウの ダンス・エモートのテスト にアニメーションクリップ(例: 友達が作ったヒューマノイドのダンス)を ドロップして追加します(複数クリップ入りのモデルファイルも可)。曲を1つずつ付けることもできます。テスト開始 のあと、 Gameビューで Tab キーを押すと ダンスメニュー が開き、クリックか 1〜9 キーで再生、0 で停止します (P で最後のダンスを再生/停止)。ウィンドウ内の各クリップの 再生 ボタンも使えます。クリップはPlayモード中だけアバターで再生され、 アバターへの追加やアップロードは不要です。
歩いたりジャンプしたりすると顔がおかしくなる 原因は調査中です。ヘッドチョップ(Av3Emulatorの Enable Head Scaling は初期設定でオフ)でも、シェーダーでもありません。 Playモード中に F9 を押すとConsoleにレポートが出力されます。あわせてフレームレート(Gameビューの Stats)も確認してください。 フレームレートが極端に低いと、アバターが動いたときにPhysBoneやコンストレイントが乱れることがあります。
メッシュがスケルトンに追従しない(Tポーズのまま、動くと顔が崩れる) ウィンドウの アバターのスケルトンをチェック を押してください(Playモード不要)。メッシュごとに、 存在しないボーンを使っている頂点の数と、Animatorが動かすスケルトンと同じものにバインドされているかを報告します。 存在しない、または重複したボーンにバインドされたメッシュは、エディタでもゲーム内でも動かせません。
歩いても足が動かず、滑るように移動する SDKの Default Locomotion を使っているアバターは、エディタ上ではダミーのアニメーションしかありません (VRChat本来の歩き・走りのアニメーションはVRChatクライアント内にあります)。 v1.0.1から、歩行アニメーションを追加しました。前進・後退・横歩き・斜め移動・ダッシュ・簡易ジャンプに対応し、 移動速度に合わせて足の運びも変わります。VRChat本来のアニメーションではなく、簡易的なプレビューです。 アバター自身が脚を動かすアニメーションを持っている場合は、約1秒後に自動で検出して何もしません。 しゃがみ・伏せはエミュレーターのポーズのままです(足の動きは未対応)。 うまく動かないときは F9 でレポートを出し、Consoleの「Locomotion calibrated」の行も一緒に送ってください。
アバターが2体に見える/しばらくするとアニメーションが消える Av3Emulatorはアバターのコピー(ミラー用・シャドウ用)を作ります。v1.0.2から、歩行アニメーションのポーズをそのコピーにも反映し、 歩行アニメーションを自動でオフにする機能は初期設定でオフにしました。見つけたコピーはConsoleに 「Copies of the avatar found in the scene」として表示されます。それでも2体に見える場合は、その行を送ってください。
アバターが中心からずれる/しゃがむとカメラが遠くへ行く v1.0.3で修正しました。Unityのポーズ書き込みが、アバターのHipsをルートから動かしてしまうことがあり、 ワールド原点から離れるほどずれが大きくなっていました。ポーズを書き込むたびにHipsを元の位置へ戻すようにし、 しゃがみ・伏せのポーズには一切触らないようにしました。
ジャケットや袖が広がってカチカチに見える エミュレーターの待機ポーズは、VRChat本来の待機ポーズより腕が体から離れているため、ジャケットや袖が広がって見えます。 v1.0.5から、上腕を20度体に寄せます(詳細設定の「腕を体に寄せる角度」、0でオフ)。 また、ConsoleとF9レポートに各PhysBoneチェーンがどれだけ揺れたかが表示されます。
ジャケット・髪・しっぽなどがカチカチに見える v1.0.4から、画面の情報に「PhysBone」の行が追加され、Consoleにアバター上のすべてのPhysBoneと主な設定が表示されます。 動いても「NOT MOVING」と出る場合は、Playモードでphysboneがシミュレーションされていません。 Consoleの「[TeeTools Play Tester] PhysBones」で始まる行を送ってください。
「テスト開始」ボタンが押せない ウィンドウに理由が表示されます。アバター未選択、Av3Emulator未インストール、または以前の手動方式で作った Play Testerオブジェクトがシーンに残っている場合です(残っている場合は、ウィンドウのボタンで削除できます)。
アバターがTポーズのまま、または動きがぎこちない ウィンドウ内のチェック結果を確認してください(アバターにVRC Avatar Descriptorが必要で、 見つからないスクリプトがあると妨げになることがあります)。エミュレーターが接続できなかった場合、 Play開始からおよそ3秒でConsoleに原因の候補を含むレポートが出力されます。SDKの Default Locomotion を 使っているアバターは、エディタ上ではダミーのアニメーションしかないため、正常でもぎこちなく見えることがあります。
「Scene mismatch (cross scene references not supported)」と出る 手動で追加した Play Tester コンポーネントの場合のみ起こります(アバターとテスターが別のシーンにある状態)。 そのオブジェクトを削除して、ウィンドウを使ってください。
Add Component > TeeTools > Play Tester)して調整してください。dev.teetools.playtester
未設定
1.2.0
2019.4 以降
なし
なし
未設定
TeeTools