Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.41k forks source link

glTF models with media audio/video elements crash when being captured by a media frame #6370

Closed keianhzo closed 1 year ago

keianhzo commented 1 year ago

Description A glTF model dropped in a scene will cause a crash when being captured by a media-frame.

To Reproduce Steps to reproduce the behavior:

  1. Open a room with a media frame that can capture models
  2. Create a model with a media audio/video components on it
  3. Spawn the model into a scene
  4. See error

Expected behavior The media frame should not crash when capturing models.

Additional context It seems that it's crashing when cloning the audio object when creating the media frame preview.

untitled_video.glb.zip

Exairnous commented 1 year ago

Is this the same as https://github.com/mozilla/hubs/issues/6244 ?

keianhzo commented 1 year ago

Oh yes, thanks.

Closing as it's a duplicate of https://github.com/mozilla/hubs/issues/6244