UEA0006: DoNotUseCoroutines

October 2, 2019 ยท View on GitHub

PropertyValue
IdUEA0006
CategoryGC
SeverityInfo

Example

Code with Diagnostic

using UnityEngine;

public class Example : MonoBehaviour
{
    void Update()
    {
        // UEA0006: Use of coroutines cause some allocations
        StartCoroutine("");
    }
}

Code with Fix