curSource->m_Channel != NULL

started getting this error recently. i have a series of objects with audio sources, that have scripts attached to them that chose a random audio event and play them at various times.

all of these audio sources have a default clip, and the code for selecting and playing the audio clips has always worked and hasn’t changed, so i can’t understand how this assert could be failing. anyone have any idea for me? this is an assert that the audioclip isn’t null, yes?

GAH! i found it. AGAIN, right after i post.

i had some old legacy code that was setting the clip to be an empty undeclared variable right after the audiosource played properly.

man, I wonder how it ever worked…