- Home /
 
 
               Question by 
               dpoly · Oct 31, 2021 at 03:28 AM · 
                fmodaudio clip  
              
 
              Is there a way to trap an FMOD error?
This is the error message:
Error: Cannot create FMOD::Sound instance for clip "" (FMOD error: Unsupported file or audio format. ) UnityEngine.Networking.DownloadHandlerAudioClip:GetContent (UnityEngine.Networking.UnityWebRequest)
This is the code: var clip = DownloadHandlerAudioClip.GetContent(uwr);
The clips are user-supplied, outside my control. I just want to trap the error. It doesn't raise an exception.
               Comment
              
 
               
              Your answer