Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 lassade · Jan 27, 2016 at 05:56 PM · unity 5editorcrashsound

Debug Editor crashes (Possible sound related ???)

My game is making the editor crash, I try run it on my PC and MAC workstations 32 and 64 bit versions and still crashes. Game builds seems to work fine. Everything was fine until I added sound to my game.

So I try to debug unity editor from visual studio, but have no luck in loading the debug symbols. There is way to debug the editor to find what the problem is?

I kind don’t want to submit my project over to unity and wait for who know how long for an answer.

Edit:

This is my editor log file. My guess by looking at the stack frames it came from the Audio PCM callbacks. I will do some tests.

 Unloading 38 Unused Serialized files (Serialized files now loaded: 0)
 UnloadTime: 12.578006 ms
 System memory in use before: 187.2 MB.
 System memory in use after: 187.5 MB.
 
 Unloading 406 unused Assets to reduce memory usage. Loaded Objects now: 4407.
 Total: 7.485939 ms (FindLiveObjects: 0.478903 ms CreateObjectMapping: 0.173986 ms MarkObjects: 6.297732 ms  DeleteObjects: 0.533937 ms)
 
 WARNING: ETC2 texture format is not supported, decompressing texture
 WARNING: ETC2 texture format is not supported, decompressing texture
 WARNING: ETC2 texture format is not supported, decompressing texture
 WARNING: ETC2 texture format is not supported, decompressing texture
 WARNING: ETC2 texture format is not supported, decompressing texture
 WARNING: ETC texture format is not supported, decompressing texture
 WARNING: ETC2 texture format is not supported, decompressing texture
 Receiving unhandled NULL exception
 Launching bug reporter
 Obtained 15 stack frames.
 #0  0x00000109c2a552 in mono_domain_set_internal_with_options
 #1  0x00000109c2a5f2 in mono_domain_set_internal
 #2  0x00000109c056f1 in mono_domain_set
 #3  0x00000109ca2ef3 in mono_thread_attach
 #4  0x00000101f78207 in AudioScriptBufferManager::AttachFilterThread()
 #5  0x00000101f42a21 in AudioClip::ScriptPCMReadCallback(FMOD_SOUND*, void*, unsigned int)
 #6  0x000001001bee65 in FMOD::SoundI::readData(void*, unsigned int, unsigned int*)
 #7  0x000001001bc404 in FMOD::SoundI::read(unsigned int, unsigned int, unsigned int*)
 #8  0x000001001ba463 in FMOD::Stream::fill(unsigned int, unsigned int, unsigned int*, bool)
 #9  0x0000010013e586 in FMOD::ChannelStream::updateStream()
 #10 0x000001001c3093 in FMOD::SystemI::updateStreams()
 #11 0x000001001d1972 in FMOD::Thread::callback(void*)
 #12 0x007fff90b1d268 in _pthread_body
 #13 0x007fff90b1d1e5 in _pthread_body
 #14 0x007fff90b1b41d in thread_start
 Launching external process: /Applications/Unity/Unity.app/Contents/BugReporter/Unity Bug Reporter.app/Contents/MacOS/unity.bugreporter.exe
Comment
Add comment · Show 1
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 lassade · Jan 27, 2016 at 08:20 PM 0
Share

The bug is real ! I cashed the editor by using the PC$$anonymous$$ callbacks, in two separated scenes, Loading one then load other. The editor log this time was different.

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by FortisVenaliter · Jan 27, 2016 at 06:41 PM

Unity has logfiles it prints to when it runs. Try checking those to see if you can at least narrow down the last thing to execute before crash.

And, please submit it as a bug report. Any editor crash should be reported. Even if they don't get back to you, they can fix it for others in the next release.

Comment
Add comment · Show 2 · Share
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 lassade · Jan 27, 2016 at 07:53 PM 0
Share

Ty for the answer, i'm giving a look at it right now. Later i will submit the bug report. I have a feeling that is some what regarding the AudioClip P$$anonymous$$C callbacks, btw the AudioClip.Create have doc but is not linked to the main AudioClip doc page.

avatar image lassade · Jan 28, 2016 at 01:17 AM 0
Share

The crash aas solved after checking out the logfiles and then removing all AudioClip.Create that uses PC$$anonymous$$ or have SetData method called, in other words use audio assets.

Bug reported.

avatar image
0

Answer by alishka · Jan 27, 2016 at 08:23 PM

Hey!

Could you share how you added the sounds? Have you tried using the AudioMixer (Project > Create > AudioMixer)?

Have you tried using different audio tracks? Different formats?

Cheers!

Comment
Add comment · Show 2 · Share
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 lassade · Jan 27, 2016 at 08:39 PM 0
Share

I am not using Audio$$anonymous$$ixers, and my audio clip is a generated sine wave (so there is no audio files).

avatar image lassade · Jan 28, 2016 at 01:27 AM 0
Share

I used the code in this page http://docs.unity3d.com/ScriptReference/AudioClip.Create.html.

After placing this script into a GameObject I change the scene. $$anonymous$$y GameObject, AudioSource and script is destroyed but not AudioClip since is an kind of an asset. I tried Destroying the AudioClip but does not work.

avatar image
0

Answer by alishka · Jan 27, 2016 at 08:23 PM

Hey!

Could you share how you added the sounds? Have you tried using the AudioMixer (Project > Create > AudioMixer)?

Have you tried using different audio tracks? Different formats?

Cheers!

Comment
Add comment · Show 1 · Share
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 lassade · Jan 27, 2016 at 08:40 PM 0
Share

@alishka this answer is cloned!

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

47 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

Related Questions

How can I fix/stop my Unity from crashing when using the Unity inspector? 0 Answers

Unity crashing efter losing connection to other Unity 0 Answers

Macbook internal GPU crash 0 Answers

Unity mainmenu audio problem. 1 Answer

DLL crash Unity 5 0 Answers


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