- Home /
Best way of freezing a game for rendering purposes...?
I'm looking to "Freeze" a Unity project once per frame at a given time interval (1/60th of a second), performing a scripted action during each iteration, and of course unfreezing the project.
Like This: Perform normally for 1/60th of a second, Freeze, Perform an action (taking however much time is needed), Unfreeze, Repeat.
The reason for this is so that I may use Unity for rendering a video. Fraps and Nvidia Shadowplay aren't going to cut it due to frame drops and other issues. And then, every solution to this that I've seen so far requires freezing the project AND halting the scripting engine, which isn't what I want.
Also (I doubt this is possible but I want to ask anyway, just in case)...is it possible to capture audio in Unity, from Unity as a source only, for a given time segment?
Like this: "From this moment on, for (x) seconds, capture audio and put it in a buffer when it's done."
Thank you!
Your answer
![](https://koobas.hobune.stream/wayback/20220612092750im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Change a line composed of vextor3's to a constant.force on an object 2 Answers
Execution manner of co routine 2 Answers
Program-Flow Control and Unity 5 Engine Threads 1 Answer
Move an object according to a vector field (flow arrows placed in the scene) 1 Answer
[FLOW FREE]How to use texture painter to create flow map texture 0 Answers