DariaLoveCraft
DariaLoveCraft

Reputation: 1

Unity Android build Bad Performance but IOS is ok

I'm making a mobile game and have some troubles with Android. On IOS game works perfect, 60fps, very fast scene loading 1-2 sec. On Android First scene is loading like 5-6 min(Menu Scene), game scenes seems like infinite loading. I testet On Xiaomi phones, Pixel and Galaxy. Everywhere is the same problem.

I left one scene in the game, it loads instantly, but as I add more scenes the game takes longer and longer to load with each scene. Its seems like game is loading all the scenes at once.

Could someone please help me I'm stuck with this.

This is the code on first scene :

string path = Application.persistentDataPath + "/Data23.fun";

        if (File.Exists(path))
        {
            if (PSM.CharacterCreated)
            {
                SceneManager.LoadScene(2);
            }
            else
            {
                SceneManager.LoadScene(1);
        }
        }
        else
        {
            Debug.Log("Save File not exist in Path : " + path);
            SceneManager.LoadScene(1);
    }

Upvotes: 0

Views: 601

Answers (1)

DariaLoveCraft
DariaLoveCraft

Reputation: 1

Solved, the problem was wrong "Base Gradle Template" settings.

Upvotes: 0

Related Questions