how to create a video scene

how can i create a video into unity that show my game history?

This is a very complicated feature and really will always come down to a technique that works best for your game.
In principle there’s two ways to record a game session

  1. Record inputs (keystrokes, mouse input, touches etc)
  2. Record scene transformations into a buffer and replay

The first input record method can miss inputs/hitch and then cause non deterministic results (different results when played back)
The second requires that all gameplay logic be deactivated and you do adequate data mining to collect all the information needed to play the session back correctly.

I don’t have any direct examples though there are a couple of pages with examples/discussions

If anyone has any other examples or solutions feel free to add to this post