﻿# V3206\. Unity Engine\. A direct call to the coroutine\-like method will not start it\. Use the 'StartCoroutine' method instead\.

The analyzer has detected a suspicious call to a coroutine\-like method in a Unity script the return value of which isn't used\. To start coroutine, use the 'StartCoroutine' method\.

Take a look at an example:



```cpp
class CustomComponent: MonoBehaviour
{
  IEnumerator ExampleCoroutine()
  {
    ....
    yield return null;
    ....
  }

  void Start()
  {
    ....
    ExampleCoroutine();
    ....
  }
}
```

In this case, the 'ExampleCoroutine' coroutine code is not executed because the 'IEnumerator' object returned as a result of the call is not used in any way\. To fix the issue, pass it to the 'MonoBehaviour\.StartCoroutine' method:

```cpp
void Start()
{
  ....
  StartCoroutine(ExampleCoroutine());
  ....
}
```

**Additional links**

1. Unity Documentation\. [Coroutines](https://docs.unity3d.com/Manual/Coroutines.html)\.
1. Unity Documentation\. [MonoBehaviour\.StartCoroutine](https://docs.unity3d.com/ScriptReference/MonoBehaviour.StartCoroutine.html)\.