View Issue Details

IDProjectCategoryLast Update
0000704AI War 1 / ClassicCrash/ExceptionOct 19, 2010 8:38 am
Reportervonkolberg Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version3.718 
Summary0000704: More crashes to blank screen with music playing (OS X, 3.718)
DescriptionPretty infuriating, game screen goes blank and leaves the music playing, have to quite with Command-Q.

Below contents of UnhandledErrors.txt:

10/19/2010 11:51:41 (3.718)
-----------------------------------Error-----------------------------------Log String: pthread_getschedparam(thread, &policy, &param)
Stack Trace: UnityEngine.WWW:.ctor(String)
GameSound:LoadForPlay()
GameSound:Play()
GameSoundGroup:Play(SoundType)
Game:PlaySound(String, SoundType)
ForegroundObject:FireAtObject(ForegroundObject, Int32, FInt, FInt)
ForegroundObject:TryAttack()
Game:RunOneCycleOfSimulation()
Game:RunNextCycle(Boolean)
Game:RunFrame()
MainCameraLogic:FixedUpdate()

10/19/2010 14:15:18 (3.718)
-----------------------------------Error-----------------------------------Log String: pthread_getschedparam(thread, &policy, &param)
Stack Trace: UnityEngine.WWW:.ctor(String)
GameSound:LoadForPlay()
GameSound:Play()
GameSoundGroup:Play(SoundType)
Game:PlaySound(String, SoundType)
ForegroundObject:Explode()
OtherObject:KillTargetFromShotHit(ForegroundObject, Int32, ForegroundObject, Boolean)
OtherObject:DoShotHit()
Game:RunOneCycleOfSimulation()
Game:RunNextCycle(Boolean)
Game:RunFrame()
MainCameraLogic:FixedUpdate()
TagsNo tags attached.
Internal Weight

Activities

keith.lamothe

Oct 19, 2010 8:38 am

administrator   ~0001297

Gah, sorry about all that. For 3.719:

* Added some "defensive programming" to prevent crashes due to occasional problems loading sound files on OSX.
** Thanks to vonkolberg for the report.

Basically if it gets one of these errors it will just treat it like it treats other loading-errors for sound, which is basically that it doesn't play the sound and tries to load it again the next time it's needed (at least I think that's what it does, but it is already coded to handle errors).

Also, it should write these Unity-level exceptions to SoundErrors.txt, for reference.

Issue History

Date Modified Username Field Change
Oct 19, 2010 8:20 am vonkolberg New Issue
Oct 19, 2010 8:38 am keith.lamothe Note Added: 0001297
Oct 19, 2010 8:38 am keith.lamothe Status new => resolved
Oct 19, 2010 8:38 am keith.lamothe Resolution open => fixed
Oct 19, 2010 8:38 am keith.lamothe Assigned To => keith.lamothe
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception