error ArgumentException, game pauses after splash screens
Hi, I made 2 splash screens with this script:
using UnityEngine;
using System.Collections;
public class SplashScreen : MonoBehaviour
{
public float delayTime = 3;
IEnumerator Start()
{
yield return new WaitForSeconds(delayTime);
Application.LoadLevel(1);
}
}
And I was trying to make back to main menu after win game but I didn't know how and I tihnk I broke something. From first to second splash screen everything works good. From second splash screen to main menu game pauses with errors what you can see here:
https://zapodaj.net/57101bd7c96c2.png.html
What did I make bad while trying to get back to main menu after win? Before trying to achieve it it worked good. I checked codes but I actually don't have any idea what thing I broke.
Your answer
Follow this Question
Related Questions
Argument out of range - 2 year old project 1 Answer
ANDROID APPLICATION PAUSED. UPDATE() DON'T WORKS BUT START() WORKS 1 Answer
Error "ArgumentException: The Assembly System.Windows is referenced by GoogleAds" 0 Answers
ArgumentNullException: Value cannot be null when slicing mesh 0 Answers
Asset Null Exception - No assetGUID 0 Answers