Home > Back-end >  Unity 2021.3.0f1 freezing everytime i press run
Unity 2021.3.0f1 freezing everytime i press run

Time:04-16

every time I press run to see if my script is running (it's a simple script all it has is a print function) and unity freezes, I have to close it through task manager.it seemed to start happening when I updated unity hub (to 3.1.1) and updated my project to a new version of unity (to 2021.3.0f1). I tried going back to the previous version of unity, but it didn't work, I also tried restarting my computer and it didn't work either. I tried looking for other solutions on forums but they are all from years ago and didn't work

CodePudding user response:

Sounds like you may have an infinite loop running, we would need to see the script in question to know for sure. But if that's not the case, you may just need to rebuild your Library.

CodePudding user response:

Be sure that you are not using wrong while loops. Even if not & the loop seems correct, comment it & check if you are right.

  • Related