Search Unity

I need help on executing the Scene.

Discussion in 'Editor & General Support' started by dharmesh_b, Aug 15, 2020.

  1. dharmesh_b

    dharmesh_b

    Joined:
    Aug 15, 2020
    Posts:
    8
    Hey guys,

    Need help on this. When I click play button, it automatically creates two scenes and swaps each other but not loading it.



    Thanks,
    Dharmesh
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,914
    Do you have any scripts in the scene? I'd guess you have a script in one or both scenes that is loading a new scene when the scene starts.
     
  3. dharmesh_b

    dharmesh_b

    Joined:
    Aug 15, 2020
    Posts:
    8
    @PraetorBlue I got the solution for this issue. This issue occurred in scripting. A line of code has made this mess. Thanks a lot for considering my issue and your suggestion.