Sorry for my English =)
Scene does not load when using coroutine (animation is played). Without it, everything works, but then the animation does not have time to play. What could be the problem?
The code does not work after yield return new WaitForSeconds (0.5f);
I’m a fool - turned off the object on which the script hangs))