Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug PUN 2 Scene loading problem

Discussion in 'Multiplayer' started by Ikaro88, Jul 19, 2020.

  1. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    261
    Hi, while i am play my card game i have a lot of scene (in loading) as the image:



    and at the and my game crash

    i tried with


    StopAllCoroutines();
    Caching.ClearCache();
    Resources.UnloadUnusedAssets(); SceneManager.UnloadSceneAsync(scene.buildIndex, UnloadSceneOptions.UnloadAllEmbeddedSceneObjects);
    SceneManager.UnloadScene(0);
    PhotonNetwork.InternalCleanPhotonMonoFromSceneIfStuck();

    and load another shene


    nothing works...
    Is a bug?
    please help me