Search Issue Tracker
By Design
By Design in 2023.3.X
Votes
3
Found in
2021.3.29f1
2022.3.7f1
2023.1.9f1
2023.2.0b5
2023.3.0a3
Issue ID
UUM-45993
Regression
No
Application.targetFrameRate has no effect on the frame rate when used in WebGL Player
Reproduction steps:
1. Open the attached project “WebGLbug“
2. Build and run the Player (File > Build And Run)
3. Observe the Console (RMB > Inspect > Console)
Expected result: The frame rate is capped at 30 FPS
Actual result: The Player is running at the same frame rate as the monitor's refresh rate
Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.9f1, 2023.2.0b5
Reproducible on: Windows 11
Comments (1)
-
uwdlg
Aug 13, 2023 11:50
This doesn't appear to be a regression in the Unity code, but rather a change in how browsers treat WebGL builds, as I have builds online from months ago that used to have the framerate capped but don't anymore.
There is also a related thread on the forums here: https://forum.unity.com/threads/targetframerate-not-working-in-2021-3-1-lts-webgl.1281161/
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Thank you for reporting a bug to Unity.
This issue will be resolved with an update in Quality Settings and Application documentation under the Unity Engine Scripting API.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.
Resolution Note (2023.3.X):
Thank you for reporting a bug to Unity.
This issue will be resolved with an update in Quality Settings and Application documentation under the Unity Engine Scripting API.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.