Search Unity

Game Freezing/Hanging

Discussion in 'Editor & General Support' started by josesimbillocoder, Jul 2, 2020.

  1. josesimbillocoder

    josesimbillocoder

    Joined:
    Jul 2, 2020
    Posts:
    2
    I've been making a infinite runner type of game, and recently, after pressing the play button to play test my game, it didn't work like it used to. Instead of my game properly loading, the screen freezes for a couple of seconds, then it starts performing properly again, except now the game is over since I hit an obstacle (hitting an obstacle in the game causes the player's movement to stop). I've checked the profiler to see how everything is performing, and I notice that the fps for everything was super low. I'm not sure what the problem is, nor how to fix it. Someone please help me.
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,909
    If you looked at the profiler you should be able to drill down into one of the slow frames and see what is taking the most time.
     
    Joe-Censored likes this.