Hi Tony,
I set up subtitles with 160 audio files (set to streaming/vorbis and compressed to about 4kb each) and the scene starts out stable, but the FPS gradually decreases as the audio clip count increases, and by the end of the conversation, the fps drops to ~20.
Do you know if there is a way to clear the audio file after it plays? Or is there another way to improve performance?
Thanks!
Before
After
Remove audio after played
Re: Remove audio after played
Hi,
Inspect your audio clips and change their Load Type to Streaming and Compression Type to PCM. Otherwise they'll stay in memory even after they're used. And if they were set to Decompress On Load, they'll be using the max amount of memory possible.
Inspect your audio clips and change their Load Type to Streaming and Compression Type to PCM. Otherwise they'll stay in memory even after they're used. And if they were set to Decompress On Load, they'll be using the max amount of memory possible.