Skip to content

Playback Manager

Rory Clark edited this page May 7, 2021 · 3 revisions

The Playback Manager controls all loading and playing of files for PlayRecorder. It also stores a cache of currently loaded files that can be used throughout varying tools such as the Timeline and Statistics. You can load multiple files into the Playback Manager and swap between them during playback.

Similarly to the Recording Manager, playback happens during a custom thread.

As with other editor interfaces, hover over the different fields to see more information about them.

Loading Files

To load recorded files you can either drag files onto the Recorded Files (#) text or click the + button and then choose them from your assets. Pressing the - button will remove a file from your list of Recorded Files (#). Whenever you change or load new files into the Playback Manager you will need to press the Update Files button (which conveniently goes bright red and prevents you from entering Unity playmode until you do). Revert Changes button allows you to change back to the files before you last pressed Update Files, and Clear Files does as it says.

Clicking on any of the numbered buttons will change the currently selected playback file to that. If this is done outside of Unity playmode then that decision will persist.

The recorded files section of the Playback Manager

Playlists

Playlists allow you to store and load a set of Recorded Files into an external JSON file. These are designed to be minimal, editable, and shareable so you can quickly load large swathes of files, such as if you were to jump between groups of users in a user study.

Loading a playlist will automatically trigger the Update Files function and overwrite your current files with those found in the playlist. Playlists store information about the files based on their name and GUID so should work between projects without issues.

The playlists section of the Playback Manager

Recorded Items

The Recorded Items section shows exactly which RecordComponents were recorded in your currently loaded files, as well as their associated RecordComponent within your current scene. These are the objects where the Playback Manager will send the RecordItem data found within your recorded files, as well as the objects as to which the Playback Manager will send update commands to.

These will generally be automatically assigned when the Update Files button is pressed, however will show a red icon if the component is not assigned. It is not integral that every item is assigned for playback, as the system will simply only send the data and updates to the assigned items. If the items have been incorrectly assigned, or you wish to change their assignment, simply change the RecordComponent attached to the object, however the item will reject RecordComponent objects of differing types to the ones they were recorded (e.g. you cannot assign an AnimatorRecordComponent to a TransformRecordComponent). This flexibility allows you to record using one set of RecordComponent objects in your scene, and then playback using another.

The recorded items section of the Playback Manager

Playback Ignores

For more information see Playback Ignores.

Playback Ignores

Playback Parameters

The playback parameters section lets you adjust playback of your files. From here you can play/pause your recordings, jump to specified areas of the recording, and change the playback speed of your recordings.

Playback parameters