# How can I make Unity run fast when it's not focused?

I'm using Unity3D. I have an automated test suite that takes 1-2 minutes to run. When Unity has focus, these tests seem to run at least 2x as fast as when Unity is in the background. But, it's very boring to stare at a progress bar for 1-2 minutes while I wait for the tests to complete. The whole reason I want to put it in the background is so I can do something else while these tests are running, but because it slows down the tests to 2-4 minutes, doing so makes me even less efficient.

Is there a way to have Unity run as fast as it does when it's focused, even when it's not focused?

This could be a Windows 10 question more than a Unity question. Maybe there's a way to set the Unity process as "high priority" or something.

• You can set the priority in the task manager under the details tab (right click the exe), but not sure if it'll help – Bálint Mar 21 '19 at 10:44
• Have you tried  Edit-->Project Settings-->Player-->Resolution and Presentation-->Run In Backgound  – Niclas Gleesborg Mar 2 at 21:23