Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryDate SubmittedLast Update
0000704AI War[All Projects] Bug - Crash or ExceptionOct 19, 2010 7:20 amOct 19, 2010 7:38 am
Reportervonkolberg 
Assigned Tokeith.lamothe 
Severitycrash 
StatusresolvedResolutionfixed 
Product Version3.718 
Fixed in Version 
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
Attached Files

- Relationships

-  Notes
(0001297)
keith.lamothe (administrator)
Oct 19, 2010 7:38 am

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 Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
Oct 19, 2010 7:20 am vonkolberg New Issue
Oct 19, 2010 7:38 am keith.lamothe Note Added: 0001297
Oct 19, 2010 7:38 am keith.lamothe Status new => resolved
Oct 19, 2010 7:38 am keith.lamothe Resolution open => fixed
Oct 19, 2010 7:38 am keith.lamothe Assigned To => keith.lamothe


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker