Unity Issue Tracker - Frame count is twice slower in Build than it is in Editor
Closed
UUM-19827
Frame count is twice slower in Build than it is in Editor
Unity: Input
Won't Fix
2023.3.X
2023.2.X
2023.1.X
2022.3.X
2022.2.X
2022.1.X
2021.3.X
2020.3.X
As Designed
6.0.X
This is by design. Framerate is higher in a build compared to editor playmode.
If you measure actual time passed it should come out as a the same.
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
2022.1 has reached end of life so the issue will be fixed in a newer version.
Reproduction steps:
1. Open the attached “IN-20935_input-system.zip“ project
2. Open “MousePonterRecorder” scene
3. Disable Development Build in Build Settings
4. Enter Play mode
5. Observe Console log. The framerate between two presses is 235 frames
6. Enable Development Build in Build Settings and build the project
7. Run the game and wait for two errors to appear. The framerate between two presses is 470 frames
Expected result: Project runs at the same framerate in Editor and Build
Actual result: Project framerate is twice slower in Build than it is in Editor