Error when switching to another scene

Hello, I have encountered a problem with FMOD in Unity. When starting a scene, an error ([FMOD] Please add an ‘FMOD Studio Listener’ component to your camera in the scene for correct 3D positioning of sounds.) comes out, while creating a scene creates a prefab player with a camera on which the FMOD Studio Listener component hangs. Sounds on this scene are not played, although in the main menu everything works.

Hi,

The error message indicates that the FMOD Studio Listener component is not present on a GameObject in the scene. If the component is not present, sounds will not be spatialized properly, which may explain why you aren’t hearing any sound.

Since you’re switching scenes as well, you will also need to ensure that the FMOD Studio Listener component is present in the new scene, or that the GameObject with the component in the old scene has been set to persist with DontDestroyOnLoad.

Otherwise, can you provide me with the following information?

  • Your FMOD for Unity plugin version number
  • Your Unity version number
  • A log where the issue occurs, after setting the Logging Level setting to “Log” and enabling API Error Logging