Editor hangs (freezes) after pressing play. Possible loop? Have to force quit.
I've never had to deal with this before, whenever I press play in my editor the project will hang until I forcefully quit Unity through task manager. Even when I run a build of the project the application will crash within the splash screen. I've read this could be a "loop" occurring but don't fully understand how to know how to fix it.
The project uses Photon PUN and is set up for multiplayer.
Here's the compiler text from the editor log: https://gist.github.com/anonymous/bd7c16a408a60fe3b9719343db43c07d
I'd absolutely appreciate some help on this! I've been stuck on this problem and just now feel I should ask for help, if you need anymore information I will respond ASAP.
Thanks in advanced!
edit* I fixed it. It had to do with developmental mode being switched off and the lobby scene not being a reference but even than it's really laggy...
I don't quite understand the fix. I have the same problem. Could you elaborate a little more about what you did to fix it?
I don't have infinite loop. Sometimes it does and sometimes it doesn't do it and I don't change the code at all.
Answer by DefineDoddy · Jan 12, 2020 at 06:28 PM
Try taking a look at this: https://forum.unity.com/threads/2017-2f1-editor-randomly-freezes-when-pressing-play.497323/
Your answer
Follow this Question
Related Questions
How to enter play mode on two separate Unity instances at the same time? 0 Answers
Unity editor got hang after put some code in camera and click play 0 Answers
Windows hangs when hit play but works fine when loaded from another scene. 0 Answers
Why is Unity not dislpaying the editor?,Why isn't edit mode apearing? 1 Answer
Why does input only work after a build? 0 Answers