Async sound loading #115
Labels
audio
feature
New feature
importing
Related to importing orginal game assets into Unity
improvement
performance
radio
Make sound loading async - sound should be loaded in background thread.
Vehicle.Update()
can take up to 120 ms (on my machine, on average machine it will take maybe 2x-3x as much) due to radio sound loading. This produces high stuttering.Adapt all code to it.
Maybe use buffer for loading sound file data (eg. 8 MB buffer to be enough for radio songs) to reduce memory allocations, but it's not really needed because radio sound loading is not done very often.
The text was updated successfully, but these errors were encountered: