Hello I dont know why but my game freezes when my character takes damage can someone help me I tried everything.
What code are you executing on damage? Are you maybe inducing an infinite loop?
Sorry for taking long to reply the answer is none. I tried removing the health system so there is nothing happening on damage taken but it still freezes for some reason.
Ok so I figured out the problem is when the character gets close to the enemy the game freezes
Could you show the code related to that?
Sorry for taking long to respond the issue is there is no code when the character gets close to the enemy I think it might be some sort of mesh bug or something I really dont want to lose this project.
Found the issue the issue was an infinite loop