Another great Unity Asset Store Package is: VR Panorama 360 Pro. It is really designed to work in Editor, and will export a video from the camera, given an animation, and then stop playing once it reaches the end of the animation… But I liked the tech. So I re-wrote it so that it will work in runtime, and can be activated by a UI element. So basically a user could initiate recording. The plugin itself simply records a bunch of frames, and saves them into a folder, and then calls an FFMPEG library to composite them all.
Here’s two sample renderings I put together real quick to demonstrate the plugin and capabilities.