Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webgl2 runtime can't render more than a single artboard of the same type at a time #364

Open
DanEscamilla opened this issue Aug 21, 2024 · 1 comment

Comments

@DanEscamilla
Copy link

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:
Screenshot 2024-08-21 at 11 18 15

Scenario multiple artboards, webgl2 runtime:
Screenshot 2024-08-21 at 11 20 02

Scenario multiple artboards, webgl runtime:
Screenshot 2024-08-21 at 11 20 19

Browser & Versions (please complete the following information)

  • Browser: Chrome 127.0.6533.100
  • OS: MacOS 13.6.4 (22G513)
  • NPM Version: 10.5.0
@HayesGordon
Copy link
Contributor

Hi @DanEscamilla thank you for reporting, we'll investigate the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants