Unity recorder speeds gameplay up

The tool is great (except the fact we can’t register in edit mode as questioned in an other post Could unity Recorder be used in edit mode with Timeline? - #3 by Whatever560)

Yet we’re facing the same issue as with this post : Reddit - Dive into anything

Basically the video recording is too fast, we can register at 60 fps and then slow it down in a video editor but that kinda defeat the purpose.

“com.unity.recorder”: “4.0.2”

I’ll try 4.0.3 soon though nothing indicates it’ll be better from the changelog.

Hi! Are you recording with the Playback field set to Constant? It’ll force the resulting video to play at a fixed time interval between all frames.

In the context where you wish to get the video to have the same speed as what you observe in the GameView, it is preferable to set the value to Variable.

I think I might have misunderstood this field. For me constant was forcing an output framerate so even if the game view lags the resulting video will be smooth like butter. And it seems like it’s working in the sens that the framerate is speed up yet smooth.

Will variable also remove the lag the same way ?

I don’t think Variable will remove the lag. It respects the time interval it took from the engine to generate the current frame and send it to the video encoder. That’s one reason why it isn’t support by all video encoder.

That being said, have you tried to lower the Target FPS? Ideally, to a value close to the GameView’s framerate. It won’t exactly match the speed of your game due to the nature of the Constant mode but the result should get closer.

I get it, I’ll try with 20ish constant FPS then. I’ll report here.

1 Like