I built a multiplayer game using Photon PUN 2 and Unity 2021.3.12.
I have tested the game builds on various devices and operating systems as well various browsers and following are the results:
PC & Mac Standalone Builds - works completely fine without any issues
WebGL on any browser(Chrome, Firefox etc.) on a windows machine - works completely fine without any issues
WebGL on Safari on a Mac( tested on MacBook Air 2020 (M1)) - again no issues with the build
But on the same device (tested on MacBook Air 2020 (M1)) in the chrome/brave browser the WebGl build lags and has really low fps
Note: I tried setting the Application.targetFrameRate = 30 and this did help bring up the FPS but it still lags a bit.
Was just wondering why would the build lag on just that particular spec???