Rive file stuck around 30 FPS — file is fully script-generated

Hi Rive team/community,

I’m testing a Rive file that is almost completely generated using Rive scripting. The file is a dynamic spin wheel where the wheel segments, colors, border, pegs, ticker, and spin behavior are controlled through script inputs / ViewModel inputs.

I’m running it in a React/Next.js website using:

@rive-app/react-webgl2

The file is opening correctly and all script/ViewModel inputs are visible and controllable, but the playback/rendering seems stuck around 30 FPS instead of 60 FPS.

From the Rive docs, I understand that the React runtime uses the WebGL2 runtime under the hood, and Rive scripting is supported for building interactive experiences, so I expected this to run closer to 60 FPS if the file is not too heavy.

Screen Recording 2026-06-12 at 12.08.25 PM.mov