Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by zannghast · Dec 07, 2011 at 10:52 AM · audiocrashiphoneaudiosourcefmod

App crashes due to FMOD error

We've been encountering random crashes with, what we perceive to be, an audio issue. The following is basically what we ALWAYS see in the console and log outputs:

 FMOD::SystemI::createChannelGroupInternal(char const*, FMOD::ChannelGroupI**, bool, bool)

Fyi, we've implemented a simple singleton pattern to manage our audio playback, implementing locks on the function that actually plays the clip, implement simple checks to not play audioClips consecutively, etc. The singleton basically instantiates a prefab with an AudioSource attached, then we dynamically attach a clip to that AudioSource and simply call Play(). We understand there could be a bit of an overhead with regards to how separate gameObjects need to be instantiated just for audio, but with how our game is setup, this is currently the best method we can go for.

We just can't figure out where this error could be coming from. We have a hunch it's at the point where the gameObject is instantiated. But that's about it.

Any ideas? Thanks.

[Update - Added Crash Log]

 Thread 2 name: WebThread
 Thread 2 Crashed:
 0 libsystem_kernel.dylib 0x321c232c __pthread_kill + 8
 1 libsystem_c.dylib 0x366b8f54 pthread_kill + 48
 2 libsystem_c.dylib 0x366b1fe4 abort + 88
 3 Aaaaaaaa 0x0078491c FMOD::SystemI::createChannelGroupInternal(char const*, FMOD::ChannelGroupI**, bool, bool) + 1642572
 4 Aaaaaaaa 0x00775404 FMOD::SystemI::createChannelGroupInternal(char const*, FMOD::ChannelGroupI**, bool, bool) + 1579828
 5 libsystem_c.dylib 0x366c3532 _sigtramp + 42
 6 JavaScriptCore 0x373310b2 JSC::HandleHeap::markWeakHandles(JSC::HeapRootVisi tor&) + 78
 7 JavaScriptCore 0x3732cc78 JSC::Heap::markRoots() + 640
 8 JavaScriptCore 0x3732c99e JSC::Heap::reset(JSC::Heap::SweepToggle) + 14
 9 JavaScriptCore 0x3732c982 JSC::Heap::collectAllGarbage() + 10
 10 WebCore 0x37674198 WebCore::ThreadTimers::sharedTimerFiredInternal() + 92
 11 WebCore 0x3767410a WebCore::timerFired(__CFRunLoopTimer*, void*) + 58
 12 CoreFoundation 0x30eb1a5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUN CTION__ + 8
 13 CoreFoundation 0x30eb16c2 __CFRunLoopDoTimer + 358
 14 CoreFoundation 0x30eb0298 __CFRunLoopRun + 1200
 15 CoreFoundation 0x30e334d6 CFRunLoopRunSpecific + 294
 16 CoreFoundation 0x30e3339e CFRunLoopRunInMode + 98
 17 WebCore 0x376c7128 RunWebThread(void*) + 396
 18 libsystem_c.dylib 0x3667ac16 _pthread_start + 314
 19 libsystem_c.dylib 0x3667aad0 thread_start + 0
Comment
Add comment · Show 3
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
avatar image zannghast · Dec 07, 2011 at 11:08 AM 0
Share

Additional info: We've implemented the Burstly SD$$anonymous$$ for our ads, and Crystal SD$$anonymous$$ for our social features.

avatar image zannghast · Dec 08, 2011 at 12:56 AM 0
Share

Updated my original questions (added a crash log). I'm also looking into the external libraries we've integrated (Burstly SD$$anonymous$$ and Crystal SD$$anonymous$$) if they are thumb-compiled.

avatar image zannghast · Dec 08, 2011 at 11:02 AM 0
Share

Extra info found in the forum thread I posted in (if you want to follow progress into this issue) >> http://forum.unity3d.com/threads/108979-App-crashed-in-F$$anonymous$$OD-SystemI-createChannelGroupInternal

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.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Unity crashing on audio but not in editor? 0 Answers

How can I control an AudioSource from the audio thread? 1 Answer

Audio not coming out of speakers 1 Answer

Need help with audio files causing unity to freeze 0 Answers

wav "clicks" on audio.Stop() and audio.Play() on iPhone 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges