WebGL Framerate during Fullscreen

Does anyone have issues with their game’s framerate when enabling full screen? When I enable it my game gets quite laggy which does make sense but I didn’t expect it to be terrible, reducing the canvas size seems to fix it but I would prefer if my game was fullscreen by default (check it out: https://squarz.io/). My games framerates are fine on other devices (iOS and Android) so Im just wondering if its WebGL’s limitations…

Any thoughts or solutions? Is your game fullscreen and buttery smooth?

1 Like

up.
having the same issue.
I narrowed down the issue to macs running on full screen (doesnt matter what browser)
tried the game on a windows and its smooth on full screen, the game’s fps DOES NOT drop during this issue but the stuttering is present and makes it look laggy.

1 Like

This still appears to be an issue. Mine seems to run worse on Mozilla, but regardless, for both Chrome and Firefox, framerates drop significantly when in fullscreen.

An fps drop is expected in full screen since the pixels to be rendered increase. What you can do to generally improve fps:
1- Static Batching
2- Texture compression
3- Enable gpu instancing on shared materials
4- Disable shadows in global light settings (this increased fps massively for us)
5- If you are using unity’s audio source as background music with long looping sounds that could also slowly eat up fps. ( See this )

Item #5 reminds me of a Chrome bug that was reported (and fixed) here: https://bugs.chromium.org/p/chromium/issues/detail?id=991491. If that is the case, checking performance characteristics on Firefox and/or Safari is recommended to rule out if it’s a browser specific bug or an Unity issue.

We have an asset for this problem. On full screen the game has bigger resolution and so more “pixel count”. that’s why FPS is decreasing on fullscreen. Our asset will reduce pixel ratio dynamically to increase FPS when resolution is increased on full screen. You can check our asset for more information.

Our WebGL 2.0 game runs at 144 fps in fullscreen (Full HD). We used formerly Unity 2019.4 but now switched to Unity 2020.2.0f1. We only observed a performance spike when switching the quality tier. But this is well known and documented by Unity.

I am getting low fps on full screen, is there any solution available?

Same issue, rendering in same fov same view, but fps drops