This flag controls if the async upload pipeline's ring buffer remains allocated when there are no active loading operations. To make the ring buffer allocation persist after all upload operations have completed, set this to true. If you have issues with excessive memory usage, you can set this to false. This means you reduce the runtime memory footprint, but memory fragmentation can occur. The default value is true.
See Also: Asynchronous Texture Upload, Quality Settings.
using UnityEngine; public class StartupExampleScript : MonoBehaviour { void Start() { // The upload buffer will be deallocated when all uploads are complete. QualitySettings.asyncUploadPersistentBuffer = false; } }
See Also: Quality Settings.
Did you find this page useful? Please give it a rating: