You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug.Log("[AsyncCoroutineRunner] Found GameObject but didn't have component");
68
-
69
-
if(Application.isPlaying)
70
-
{
71
-
Destroy(instanceGameObject);
72
-
}
73
-
else
74
-
{
75
-
DestroyImmediate(instanceGameObject);
76
-
}
77
-
}
63
+
Debug.LogError($"GameObject {instance.gameObject.name} has an inactive AsyncCoroutineRunner attached and "+
64
+
"there is no active AsyncCoroutineRunner in the scene. There must be an active AsyncCoroutineRunner attached to a GameObject at the root of the scene.");
65
+
returninstance;
78
66
}
79
67
}
80
68
81
69
if(instance==null)
82
70
{
71
+
Debug.LogWarning("There is no AsyncCoroutineRunner in the scene. Adding a GameObject with AsyncCoroutineRunner attached at the root of the scene.");
0 commit comments