Why when I try my game on android does not send me to the scenes I want?

1

I have this code:


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class intro : MonoBehaviour {

// Use this for initialization
void Update () {
    StartCoroutine ("returne");
}
public IEnumerator returne(){
    yield return new WaitForSeconds (3.06f);
    SceneManager.LoadScene ("main");
}

}

 I practically make 3.06f pass to the other scene, in unity all good and when I compile it to pc too, but when it comes to compiling and testing on android it does not load me, it stays with me, the same happens when I want to press a button to enter another scene, help please     
asked by Alien69 10.12.2017 в 02:55
source

1 answer

1

I already found the error, in player settings it was labeled split application binary and that was the problem, it works perfectly

    
answered by 11.12.2017 / 21:21
source