You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the problem seems to be scene specific. I can reproduce the problem by switching from the Outdoor Festival scene but couldn't reproduce by switching from other scenes so far. I guess a certain component included in the Outdoor Festival scene causes the problem?
I will remove P1 label for now because it doesn't seem to be a generic scene switching problem. (But still near P1 in my mind because even if the problem seems to be scene specific switching a scene is still one of the basic features.)
**Problem**
Disconnecting Three.js Audio can cause an error
#6206
Three.js Audio.disconnect() seems to expect Audio.source is
non-null. Audio.source is set via .set*Source() or .play().
https://github.com/MozillaReality/three.js/blob/hubs-patches-141/src/audio/Audio.js
Hubs Client seems to call Audio.disconnect() before setting
source in some scenarios.
**Solution**
Add a guard to check Audio.source is non-null before calling
Audio.disconnect()
**Additional context**
There might be a chance that the fact Audio.source keeps being
unset in some scenarios might be a bug. We might also need to
investigate it.
Description
With new loader enabled switching scene fails. I keep seeing dark.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Scene switch works even with new loader enabled
Screenshots
Console error
Hardware
Additional context
The text was updated successfully, but these errors were encountered: