• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by TSI25 · Mar 09, 2017 at 08:22 PM · audioassetbundlefmod

FMOD Error from loaded asset bundle

We are hitting an where player noises (the jumping effect for instance) will not play and throw an error when loaded in from an asset bundle. Any time the sound is called to play it just spits out another error. I'll post the error below. The asset bundle also contains a scene with other audio sources which don't break, it seems to specifically be the player's sounds. We have tried swapping the audio files out for other ones that work in the scene but they still get into a busted state on the player despite working elsewhere in the scene.

To make it even stranger, often it will work exactly once, but if the asset bundle is unloaded and then reloaded it will always be busted.

I've been searching around and have seen this issue crop up for other developers but their solutions haven't worked for me. I made sure that the audio import settings had "Preload Audio Data" checked off, and I made sure that "Disable Unity Audio" was not checked off in the audio manager.

I've also tried a lot of variations on the import settings for the audio but I havent had any luck. I don't think its an issue with how we are playing the sound specifically because it works outside of the asset bundle, and its pretty much the built in unity player controller anyway.

Any thoughts on this? Things to try?

 Error: Cannot create FMOD::Sound instance for resource archive:/BuildPlayer-XPTMain/BuildPlayer-XPTMain.resource, (File not found. )
 UnityEngine.AudioSource:Play()
 HFN.Common.FirstPersonAudioController:PlayLandSound() (at Assets/HFN/HFN Common/Common/First Person/Scripts/Modules/Footstep Audio/FirstPersonAudioController.cs:55)
 HFN.Common.FirstPersonController:Update() (at Assets/HFN/HFN Common/Common/First Person/Scripts/FirstPersonController.cs:197)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

79 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Audio source not playing 7 Answers

How can I use multichannel audio in a game? 0 Answers

How to play sound while animation load using assetbundle 0 Answers

FMOD Distance Parameter: At 0 distance the sound is very quiet when it's supposed to be full volume? 0 Answers

Record all audio output and save it as mp3 (internal and external audio clips) 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges