Why does the playground runs barely at 30-45 fps in Oculus browser in immersive mode?
I compared with A-frame and immersive-web.github.io examples and they run at maximum fps i.e 90 fps on Quest pro and 120 fps on quest 3.
I get 80-85 FPS on this scene, very similar to what I am getting from the aframe example. when introducing complex meshes (such as the controllers or the hands) it is reduced for a few frames to ca. 70, and then goes back up. I don’t see 30-45 at all. On the quest pro I am on constant 90 FPS without any frame drop.
You have physics turned on, using cannon. You have collisions enabled. You have pointer selection turned on, on the entire scene. You have many other features that babylon offers that needs to be disabled to get it to the best performance. You are comparing a game that is fully optimized with a scene that has everything. It is true that this scene should not be expected to render in such a low FPS, and until I will see a profiler I will not be able to really tell you why this happens, but this is not the comparison you should be making.
Once again, I didn’t say you are wrong. I said this is the wrong comparison.
And this playground is working very well on my device (85-90 FPS, depending on the controllers shown/moving), so I am not sure why you see 30 FPS. Anyhow - I will analyze, process and return to you on this one.
I’m just chiming in to say I also receive 30fps using the native Quest browser to view VR experiences made with BabylonJS.
I’m curious to know how you’d profile this as I don’t see any way to see the Inspector from within an immersive session. Nor could I get any numbers out of the Meta Quest Developer Hub while trying to profile. Outside of a VR experience, the browser renders at 90fps.
Me too! In these days I’ve made many tests in many scenes and I can’t reach more then 20-40FPS (Oculus Quest 2 and 3). I’ve noticed that if I try a very simple scene with the oculus browser at the first start, initially I can reach 80-90FPS. If I interact with the scene and then I close and reopen the browser I cannot reach more then 20-40 FPS even in a very simple scene.
Install OVRMetrics to see how apps are performing on the Quest. The easiest way I know to install it is to download the Meta Quest Developer Hub and install it from there.