UEA0006: DoNotUseCoroutines
October 2, 2019 ยท View on GitHub
| Property | Value |
|---|---|
| Id | UEA0006 |
| Category | GC |
| Severity | Info |
Example
Code with Diagnostic
using UnityEngine;
public class Example : MonoBehaviour
{
void Update()
{
// UEA0006: Use of coroutines cause some allocations
StartCoroutine("");
}
}
Code with Fix