VRCreatorAcademy / vr-creator-academy-collab

14 stars 21 forks source link

Need to deal with two Audio Listeners in the Scene #64

Open JacobChrist opened 1 year ago

JacobChrist commented 1 year ago

There are currently two cameras in a scene right now. One for XR and one for desktop. Once camera is on the XR Origin (Main Camera) and the other is at the root of the scene (Camera). Both have AudioListener attached. To prevent warnings the I'm disabling the AudioListener on the camera. This is no big deal right now because there is no audio. This can potentially be resolved two ways

  1. Use the XR Main Camera for both XR and Desktop.
  2. Turn on/off AudioListener when tunning on/off XR.
JacobChrist commented 1 year ago

With fixes to the Camera switching that I've implemented in all the scenes I think this is a non issues at the moment. I changed the labels to watching so that we can track this issue for a bit. Probably one we get some sound in the game then we will start knowing for sure.