Search Issue Tracker

Fixed in 2017.4.X

Votes

3

Found in

5.4.0b19

Issue ID

801628

Regression

No

Frame Rate unrestricted when minimized with RunInBackground and VSync enabled

Graphics - General

-

Steps to reproduce:
1. Open attached project
2. 'Build and run' Test scene
-- Notice counter value which increases over time
3. Enable 'Run in background' and minimize window
-- Notice GPU load greatly increases
4. After some seconds maximize player window
-- Counter value increased by several thousands and GPU load decreases as window is maximized and in focus again.

Note: Watch repro "2016-06-03_14-09-09" video attached in last edit.

Results: Frame Rate unrestricted when minimized with RunInBackground and VSync enabled and GPU load greatly increases even though nothing is being rendered on screen.

Reproduced with: 5.4.0b21; 5.3.5p2; 5.2.4f1

Comments (2)

  1. rcalabrezi

    Nov 28, 2017 22:22

    Reproduced with 2017.1.0f3 and Windows XP.

    To solve this issue one can use QualitySettings.vSyncCount = 0 and Application.targetFrameRate = 1 (or something more adequate). OnApplicationFocus() here may be useful too.

  2. HalversonS

    Dec 08, 2016 16:29

    Reproduced with 5.2.2f1
    And also with 4.6.1f1 (Initialize engine version: 4.6.1f1 (d1db7a1b5196))

    Issue is creating problems for our software.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.