- Home /
Multiple Simultaneous Rendering Unity Instances
I already figured out that you can launch multiple instances of your Unity application. This works very well!
Unfortunately, only one of these instances is rendering at a time. The others seem to pause if they lose focus. However, I need all of them to be active and rendering all the time.
How/Is this possible?
Or would that need source code access to the Engine?
Answer by BiG · Dec 06, 2011 at 01:28 PM
You can use Application.runInBackground = true;
to make your process run even when it lose focus.
Well, that was too easy, thanks.
I had expected the problem to be more in-depth than this. :)
Answer by jpfranssen · Apr 04, 2016 at 09:09 AM
You might also be interested in the following links when running multiple instances.
http://answers.unity3d.com/questions/898733/viewer-gpu-affinity-running-multiple-viewers-on-mu.html
The orginal post here:
Turns out that (from unity 5.2), you can use a command-line flag ("-gpu 0") to have each instance render on a separate/dedicated GPU.
Your answer
Follow this Question
Related Questions
Render 2 sprites using one GameObject Unity2D 2 Answers
Rendering an object multiple times 3 Answers
Stadium Lighting Shadows in URP using Multiple Directional Lights 0 Answers
How can one render/print multiple cameras from different scenes at once? 1 Answer
Is it possible to run multiple instances of Unity? 4 Answers