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.
Comments (24)
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
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.
castor76
Jun 13, 2016 04:45
Still in 5.3 and 5.4
562873336
Apr 06, 2016 14:22
same with 5.3.4 too...
a3dline
Feb 08, 2016 12:39
5.3.1.f1 Coroutine continue failure
StopCourutine(Courutine)
antx
Jan 29, 2016 15:34
I have it too. Also with IEnumerator !
mayofunk
Jan 25, 2016 19:27
Same problem in Unity 5.3.1f1
StudioEvil
Dec 29, 2015 16:15
It's happening again (Unity 5.3.1f1)