Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice


Discussion in 'Getting Started' started by SpaddledDp, Oct 16, 2023.

  1. SpaddledDp


    Mar 5, 2022
    Hello, I'm new to Unity and have been trying to make a basic platformer (3D)
    Currently have player movement, terrain and so on
    Now I would like to make the level reset on touching "Void" which is an empty I put under the terrain
    Currently with the collision I just stand on it but can't seem to have it reset the scene on collision

    I have the scene in my build and my player has both the player layer and tag
    Void has a layer called void and tag called void
    Would anyone be able to help on the script of loadscene on collision?
    Been trying for a good 5 hours but I've always gotten an error
    (The script is named "playerdeath" and is already a component on the empty