Search Issue Tracker
Fixed
Votes
0
Found in
4.6.1f1
Issue ID
655653
Regression
Yes
"Coroutine continue failure" error when using StopCoroutine
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Terrain inspector is suggesting a shader which doesn't work
- [Search] Index Manager: Empty item in Include or Exclude list will be taken in count
- [Search] Index Manager folder browse button is limited to Asset folder
- [Search] User Created Indices disappear from manager list if disabled
- UI Toolkit's and IMGUI's Color property's label behaves differently after opening the Color Picker window
Ardito92ITA
Sep 29, 2020 05:19
Same problem in Unity 2019.4.11f1
shubhamswaraj2021
Aug 18, 2020 06:00
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
unity_U7gXwAiP9koF7A
Aug 06, 2020 15:23
still coming in unity 2019.2.18f1 but solved by this->
private IEnumerator TimerEnumerator;
public void StartCoroutineTimer(int time)
{
TimerEnumerator = Timer(time); // Timer is coroutine
StartCoroutine(TimerEnumerator);
}
public void StopCoroutineTimer()
{
StopCoroutine(TimerEnumerator);
}
call StartCoroutineTimer to start and StopCoroutineTimer to stop.
UtopiaGameStudio
Dec 03, 2019 22:02
Happening here in 2019.1.14f1
AdityaMGametion
Jul 18, 2019 12:07
Seeing it again in Unity 2019.1.9f1! damn irritating :(
Develoop
Jul 16, 2019 08:32
Error still persist in Unity 2019.1.9f1 :D :D :D This is not serious...
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");
}
}
wangliang9527
Feb 08, 2018 07:48
Error still persist in Unity 5.4.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;
}
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.