Title: [Replay] Manual snapshot results in blank or missing frames in ReplayCanvas · Issue #17330 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Replay] Manual snapshot results in blank or missing frames in ReplayCanvas · Issue #17330 · getsentry/sentry-javascript
X Title: [Replay] Manual snapshot results in blank or missing frames in ReplayCanvas · Issue #17330 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/17330
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Replay] Manual snapshot results in blank or missing frames in ReplayCanvas","articleBody":"### Is there an existing issue for this?\n\n- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [x] I have reviewed the documentation https://docs.sentry.io/\n- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/browser\n\n### SDK Version\n\n10.1.0\n\n### Framework Version\n\nVanilla JS, Mapbox GL JS WebGL canvas\n\n### Link to Sentry event\n\n_No response_\n\n### Reproduction Example/SDK Setup\n\nSnapshot on render\n```\nmap.on('render', () => {\n const replayIntegration = Sentry.getClient()?.getIntegrationByName('ReplayCanvas');\n if (!replayIntegration) return;\n replayIntegration.snapshot(map.getCanvas());\n});\n\n```\nSnapshot on interval\n```\nsetInterval(() => takeSentryScreenshot(), 1000);\n\nfunction takeSentryScreenshot() {\n console.log('ask screenshot');\n map.once('render', () => {\n const replayIntegration = Sentry.getClient()?.getIntegrationByName('ReplayCanvas');\n if (!replayIntegration) return;\n replayIntegration.snapshot(map.getCanvas());\n });\n map.triggerRepaint();\n}\n```\n\n### Steps to Reproduce\n\n[Reported via ZD ticket](https://sentry.zendesk.com/agent/tickets/159302): a user is having trouble using manual snapshots with ReplayCanvas on a WebGL canvas. They've tested two approaches, snapshot on render and snapshot on an interval. The render version results in no visible canvas in the replay, and the interval method results in flickering / missing frames.\n\n### Expected Result\n\nSnapshots should capture canvas frames and appear in the replay.\n\n\n### Actual Result\n\nWith render: canvas is blank or missing entirely in the replay. With interval: canvas flickers / renders intermittently.","author":{"url":"https://github.com/kerenkhatiwada","@type":"Person","name":"kerenkhatiwada"},"datePublished":"2025-08-05T18:27:21Z","url":"https://github.com/getsentry/sentry-javascript/issues/17330"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c7d2c891-fbc3-efc4-1165-aaf91d9a3616 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF5A:15CF5E:D2636:11E7C5:6B0595B8 |
| html-safe-nonce | c9db62c2f77a4896f87473687f9a9eb3370f066641434acef33194359b086866 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjVBOjE1Q0Y1RTpEMjYzNjoxMUU3QzU6NkIwNTk1QjgiLCJ2aXNpdG9yX2lkIjoiMzgyMjAwMDc3NDY5NTk4MjUyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e0635910e46a4bdf6a0f428c4389c3d961f6b182fb72ee3d0a9f6f9bcf62e5cb |
| hovercard-subject-tag | issue:3294040871 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/17330/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5d3c71be10b3985b7fc2a18cbdc650cd5229cfb7114087590d85644d1ae4663e/getsentry/sentry-javascript/issues/17330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d3c71be10b3985b7fc2a18cbdc650cd5229cfb7114087590d85644d1ae4663e/getsentry/sentry-javascript/issues/17330 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kerenkhatiwada |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3b72fd2385d76a50ce0fe937d50bb4a81434432c4fd47866074a26f6cd03623f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58e2bd32336f3dcee343ec627a4d09c7c444e214 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width