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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
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.