Search Unity

[Unity 5.5.2p4][Android] Random freezes when loading scenes

Discussion in 'Android' started by dsable, Apr 7, 2017.

  1. dsable

    dsable

    Joined:
    Oct 22, 2015
    Posts:
    8
    Good day.

    Some of our game’s players are encountering random freezes when scenes are loading. Works like this:

    1) SceneManager.LoadSceneAsync is called,
    2) Nothing is happening for 20-30 seconds,
    3) Loading beings (AsyncOperation.progress begins to increase),
    4) Loading operation executes normally.

    In the logs, we see that it happens when we begin loading, and the operation Resources.UnloadUnusedAssets has not yet completed working. We tried disabling this functional entirely, it did not help.

    Possibly, something within Unity itself is provoking the freezes. Perhaps, it’s simply object removal. These freezes appear usually when a user closes one window (removing UGUI canvas with all its ojbects) and begins loading another scene.

    Here’s the ticket: https://fogbugz.unity3d.com/default.asp?899388_okhboqtcppbg9bse

    Seeking a solution.