Sound Manager Asset - Trouble Integrating Into Project(With Source)

Hi,

Struggling with audio on Unity…

We found below free sound manager for Unity:

but we are having great difficulty incorporating it into our project.

Our Unity game is open-source.
We were hoping someone could look at the project and tell why the audio is not working?
Project can be downloaded below:
http://fallenangelsoftware.com/stuff/files/FerrariF40-Engine/FerrariF40-Engine.zip

The code in question is located in “ScreenFade.cs”:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

using DigitalRuby.SoundManagerNamespace;

public class ScreenFade : MonoBehaviour
{
    public AudioClip audioClip = null;
    public AudioSource audioSrc = null;

    // Start is called before the first frame update
    void Start()
    {
        Vector3 position = new Vector3(0, 0, 0);
        transform.position = position;

        audioClip = Resources.Load<AudioClip>("Scenes/Title-BGM");
        audioSrc.clip = audioClip;
        audioSrc.volume = 1.0f;
        audioSrc.PlayLoopingMusicManaged(1.0f, 1.0f, true);
    }

The game’s code compiles with no errors and does run but “Title-BGM” music never plays?
Any help would be appreciated, thanks!

Jesse

Is the folder “Scenes” located immediately under a folder named “Resources” ? Do you have an AudioListener in the scene to hear it? Is the AudioListener close enough to the audio source? Or is the AudioSource positional audio turned off?

Hi,

Yes, “Scenes” folder is located immediately under “Resources”.
Yes, each scene has an “Audio Listener”.

Any other ideas?
It’s open-source above if you can take a look at it.
Thanks!

Jesse