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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

LoadScene "almost" working :)

Discussion in 'Editor & General Support' started by dehdar, Dec 26, 2016.

  1. dehdar

    dehdar

    Joined:
    Sep 1, 2016
    Posts:
    51
    I have 4 scenes in my game.

    A
    B
    C
    D

    I can navigate from one scene to another without any problems by using the following statement:
    SceneManager.LoadScene(letter, LoadSceneMode.Single);

    However if I'm in Scene B, I can't navigate to any of the other scenes. If I try all that happens i reload of Scene B and no information in the log. Anyone who can point to why this might happen?
     
  2. dehdar

    dehdar

    Joined:
    Sep 1, 2016
    Posts:
    51
    Most likely explanation was the cause of this "error"... I had some disgusting code that wouldn't allow me to change the scene. :( :( :(