Search Issue Tracker

By Design

Votes

0

Found in

2019.4

2020.3

2021.2.10f1

2021.3

2022.1

2022.2

Issue ID

1401090

Regression

No

Inconsistent framerate when resizing/docking/undocking Game window in Play mode

Scene/Game View

-

Reproduction steps:
1. Open the "SampleScene" Scene in the attached project "My project.zip"
2. Undock the Game view as a separate window
3. Enter the Play mode and observe the FPS value in the Stats tab
4. While still in Play mode drag Game view in the Editor and dock it
5. Observe the FPS in the Stats tab

Expected result: FPS value stays the same
Actual result: FPS value rises from 60 FPS to 300-600 FPS

Reproducible with: 2019.4.38f1, 2020.3.33f1, 2021.2.10f1, 2021.3.0f1, 2022.1.0b16, 2022.2.0a10

Notes:
- In the 2019.4.38f1 version FPS changes from 60 FPS to ~250
- When resizing or maximizing window framerate drops to 5-10 FPS
- Reproducible with macOS, Windows
- On Windows, the framerate rises from 300 FPS up to 800 FPS

  1. Resolution Note:

    The performance drop happens due to SceneView becoming visible when GameView is undocked - resulting in two views being rendered. Roughly same performance drop can be observed if both GameView and SceneView are docked side by side.

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.