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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.