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

[Bug]: Player not showing full WebGL scene #1266

Open
1 task done
samevision opened this issue Jul 26, 2023 · 1 comment
Open
1 task done

[Bug]: Player not showing full WebGL scene #1266

samevision opened this issue Jul 26, 2023 · 1 comment
Labels
bug Something isn't working reproduction needed A testcase or reproduction is needed for this issue to be further investigated

Comments

@samevision
Copy link

samevision commented Jul 26, 2023

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb

Version

2.0.0-alpha.4

Expected Behavior

I expect to record the whole 3d scene to view it with the player.

Actual Behavior

The player shows the canvas and its correct background color. But the cube I created is not showing. I am using react three fiber.

Steps to Reproduce

I set up the canvas functionality according to the docs.

const events = []

record({
    emit(e) { events.push(e) },
    recordCanvas: true,
    sampling: { canvas: 15 }
})
new rrwebPlayer({
    target: ref.current,
    props: {
        events,
        UNSAFE_replayCanvas: true
    }
})

Testcase Gist URL

No response

Additional Information

No response

@samevision samevision added the bug Something isn't working label Jul 26, 2023
@Juice10
Copy link
Contributor

Juice10 commented Aug 1, 2023

Could you share a testcase of the canvas you are trying to record?

@Juice10 Juice10 added the reproduction needed A testcase or reproduction is needed for this issue to be further investigated label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reproduction needed A testcase or reproduction is needed for this issue to be further investigated
Projects
None yet
Development

No branches or pull requests

2 participants