This is very very basic but it crashes unity3d everytime.
I have my camera setup to take in the background music, it loops and plays on awake. Then for my menu item I have this code. It crashes 100% of the time when I click on a menu item.
function OnMouseUp()
{
audio.Play();
}
if I comment out this line, works fine. All menu items have an audio source with the button click sound attached.
Here is the error:
Problem signature:
Problem Event Name: APPCRASH
Application Name: Unity.exe
Application Version: 3.1.0.55865
Application Timestamp: 4cf3ced4
Fault Module Name: kernel32.dll
Fault Module Version: 6.0.6002.18005
Fault Module Timestamp: 49e037dd
Exception Code: 40010006
Exception Offset: 0003fbae
OS Version: 6.0.6002.2.2.0.272.7
Locale ID: 1033
Additional Information 1: 92b8
Additional Information 2: 02f1d163fece488aeb7362ed600b1efb
Additional Information 3: d6c1
Additional Information 4: 6e4a4b26e9a3c62046a9d94cca0089cb
edit: they are both 2d sounds if that matters at all