Maybe you have an infinite loop somewhere in your code, and it freeze everything. Can you post your game code so we can help debug?