- Home /
AudioClip.preloadAudioData not working
I have an empty script with a public AudioClip variable, in the inspector i set the variable to an audio clip that has it's Preload Audio Data set to off, on update i print it's loadState and it says: Loading - Loaded
Why is the audio clip's data being loaded when Preload Audio Data is set to off?
Calling AudioClip.UnloadAudioData works as expected and it prints Unloaded.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612103018im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity Audio Output Data 0 Answers
Create AudioSource from wave in memory 0 Answers
How many instances of a Object are handled in Unity 1 Answer
How to properly destroy a script-created AudioClip ? 1 Answer
NAudio WMA to WAV Conversion Error 0 Answers