Webgl2 runtime can't render more than a single artboard of the same type at a time
Description
When trying to use the @rive-app/webgl2-advanced runtime, I cannot render more than a single arboard at a time. While using @rive-app/webgl-advanced or @rive-app/canvas-advanced does work.
Provide a Repro
Here is a codesandbox environment where the error can be replicated:
https://codesandbox.io/p/devbox/interesting-vaughan-lgwyy9?file=%2Fsrc%2Fmain.ts%3A6%2C33&workspaceId=8ef87d80-6e7c-4b7a-af9b-e9a72244ca0e
Source .riv/.rev file
The artboards can be extracted from the public folder in the codesandbox environment. names:
- cute_robot.riv
- robo_dude.riv
Expected behavior
Have 5 repeated artboards be rendered
Screenshots
Scenario single artboard, webgl2 runtime:
Scenario multiple artboards, webgl2 runtime:
Scenario multiple artboards, webgl runtime:
Browser & Versions (please complete the following information)
- Browser: Chrome 127.0.6533.100
- OS: MacOS 13.6.4 (22G513)
- NPM Version: 10.5.0
Hi @DanEscamilla thank you for reporting, we'll investigate the issue