LoginSignup
1
0

More than 5 years have passed since last update.

Unityで「There are 2 audio listeners in the scene.」というメッセージが表示された場合の対応

Last updated at Posted at 2016-05-23

There are 2 audio listeners in the scene.

Unityのサンプルアプリを作っていたらいつのまにか
There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene.
というメッセージがログに表示されていた。

どうやら「Scene内にAudio Listenerが2つ以上あるよ!」と言われているようだ。

対応

GameObjectにCameraを追加した際にAudio Listenerもくっついていた模様。
Main Camera以外のCameraに入っていたAudio Listenerのチェックを外した。
スクリーンショット 2016-05-23 15.02.21.png

これで警告メッセージが表示されなくなった。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0