Search Unity

I can't move the character when trying to play again the game..

Discussion in 'Getting Started' started by Danny_44, Dec 23, 2022.

  1. Danny_44

    Danny_44

    Joined:
    Jul 2, 2022
    Posts:
    1
    Hello!

    I've been developing a beat them up game. I end the game normally. At the end of the scene, there is a button to return to the main menu. Once in the menu I click the starting play game button. There is an introduction scene where I click a button down below to start the game. When I try to move the character it appears that will not move in any directions. Try to do the basic moves of the character and nothing. The only thing that does is the Idle state. Hoping that somebody helps me find the solution to this problem.
     
  2. AngryProgrammer

    AngryProgrammer

    Joined:
    Jun 4, 2019
    Posts:
    490
    Such things are self-solved by setting Debug.Log where you have input handling. In the console you will see what works, what conditions have not been met. If you don't see anything, the game object is inactive and is not executing the Update method. So it doesn't support input either.
     
  3. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    If you wrote all your own C# code, there's probably more than a few nasty typos there that's stopping it working as it's supposed to.
     
    BrandyStarbrite likes this.