Search Unity

Runtime scene merge causes lag

Discussion in 'Editor & General Support' started by Mish, Feb 22, 2016.

  1. Mish

    Mish

    Joined:
    Apr 23, 2010
    Posts:
    96
    I noticed when merging two scenes at runtime, there is a small lag which temporary stops the flow of the game.

    The scene itself is not massive, so I was wondering if some things are affecting this lag more than others. Also I am loading it async and it happens in builds as well.

    Code (CSharp):
    1. SceneManager.LoadSceneAsync(sceneName, LoadSceneMode.Additive);