Search Issue Tracker

Fixed

Votes

0

Found in

4.6.1f1

Issue ID

655653

Regression

Yes

"Coroutine continue failure" error when using StopCoroutine

Scripting

-

Steps to reproduce :

- import the project attached
- add any of the scripts to the Main Camera
- press play and notice the error

*Note:
This was fixed in 4.6.1p4 but reappeared in 4.6.2.

Comments (24)

  1. Atheos-ws

    Jul 23, 2018 02:31

    Still error in Unity 5.6.4f1-64bit
    But you can use like that:

    public class Test : MonoBehaviour {

    Coroutine coroutine;
    // Use this for initialization
    void Start () {
    coroutine = StartCoroutine(Coroutine_1());
    }

    private IEnumerator Coroutine_1()
    {
    yield return new WaitForEndOfFrame();
    StopCoroutine(coroutine);
    yield return new WaitForEndOfFrame();
    Debug.Log("Test");
    }
    }

  2. wangliang9527

    Feb 08, 2018 07:48

    Error still persist in Unity 5.4.3

  3. VPintoM

    Jul 20, 2016 19:27

    Error in Unity 5.3.4f1
    public void StartInstantiate(){
    StopInstantiate ();
    coroutine = IEInstantiate ();
    StartCoroutine (coroutine);
    }

    private void StopInstantiate(){
    if (coroutine != null)
    StopCoroutine (coroutine);
    coroutine = null;
    }

  4. castor76

    Jun 23, 2016 17:47

    How is this bug back now... It needs to be fixed again! How to reopen it? My project is just too big to submit a bug report.

  5. castor76

    Jun 13, 2016 04:45

    Still in 5.3 and 5.4

  6. 562873336

    Apr 06, 2016 14:22

    same with 5.3.4 too...

  7. a3dline

    Feb 08, 2016 12:39

    5.3.1.f1 Coroutine continue failure
    StopCourutine(Courutine)

  8. antx

    Jan 29, 2016 15:34

    I have it too. Also with IEnumerator !

  9. mayofunk

    Jan 25, 2016 19:27

    Same problem in Unity 5.3.1f1

  10. StudioEvil

    Dec 29, 2015 16:15

    It's happening again (Unity 5.3.1f1)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.