#Certain AudioClip not playing in play mode

1 messages · Page 1 of 1 (latest)

maiden hedge
#

I forgot to mention that I made sure the audioclip isn't null in the script and that it got assigned to the AudioSource.clip

brave granite
#

Can you try playing a known good sound from script using source.PlayOneShot(clip)?

#

Then, do the same with the faulty sound.

maiden hedge
#

alright

#

Imma try

#

no changes

#

known good sound plays the same, while broken sound can't be heard

brave granite
#

Then the sound clip is bad, see the import settings, maybe you enabled something that causes it to fail?

maiden hedge
#

well

#

the only difference from other sounds is, that this one wasn't exported from audacity

#

imma try importing the sound in audacity and then exporting, is worth a try

#

nah, did not help

#

wonder what's the reason

#

oh my god I'm dumb

#

I'm sorry for wasting your time

brave granite
#

What was the issue?

maiden hedge
#

but apparently I make the object playing the sound inactive right after I play the sound

#

I totally forgot about it xD

#

I have a parent object playing ambient sound and mesh of the grabbable item playing interaction sounds (use, deny etc.) and when I grab it, 'use' plays and mesh hides until it's able to be picked up again

brave granite
#

I see... If it's solved then, I'll let you archive the thread to clean up.

maiden hedge
#

alright