Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Scene Transition not working properly

Discussion in 'Scripting' started by TheRealHorus, Nov 30, 2022.

  1. TheRealHorus

    TheRealHorus

    Joined:
    Nov 23, 2022
    Posts:
    5
    I am trying to create a transition sequence between a town scene and another town. Whenever I run the game, it transitions to the second scene, but the game just stops working.
    (Initial scene)
    upload_2022-11-30_8-0-7.png


    (second scene)
    upload_2022-11-30_8-0-45.png

    This is what happens when I try to transition from the first scene to the second
    upload_2022-11-30_8-1-30.png

    Unity also tells me that
    upload_2022-11-30_8-2-36.png
    This is the code for the transitions
    upload_2022-11-30_8-12-2.png
    What do I do?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,969
    Something is null. Check the sticky threads on how to fix it
     
  3. TheRealHorus

    TheRealHorus

    Joined:
    Nov 23, 2022
    Posts:
    5
    Could you please send a link to it?
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,969
    Go to the scripting forum. Then the 5th thread or something
     
  5. TheRealHorus

    TheRealHorus

    Joined:
    Nov 23, 2022
    Posts:
    5
    Thanks
     
  6. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,517