2

I am trying to load an audio clip using AssetBundles but strange result.

Actual audio file:

enter image description here

File loaded from AssetBundle:

enter image description here

AudioClip gets loaded successfully but when I try to play, I get "FMOD::Sound instance for clip "fileName" (FMOD error: File not found.)"

I would appreciate any suggestions and thoughts on this topic. Thank you.

  • I would check that the gameobject/file is loaded properly with the [loadFromFile](https://docs.unity3d.com/ScriptReference/AssetBundle.LoadFromFile.html) command, and check that the file is actually in the bundle [manifest](https://docs.unity3d.com/ScriptReference/AssetBundleManifest.html) – rustyBucketBay May 19 '21 at 12:04
  • @rustyBucketBay Thank you for your reply. Yes, the asset gets loaded successfully with "LoadFromFile" function. Also, that file is present in the manifest bundle. – Nimesh Chandramaniya May 19 '21 at 14:03

0 Answers0