Hit play takes a long time to start
I don't know what I did, but now when I press play in the editor it takes 30 seconds for the game to start. Also, if I build and run it does the same thing but the game is "not responding" for the same amount of time.
I don't know how to debug this or how to figure out what I changed. I tried the profiler but it doesn't show anything until after the delay and the game starts.
It was working fine yesterday, hit play and game starts immediately. I tried deleting some assets I downloaded but didn't change anything. Any help is appreciated, thanks.
Answer by Slobdell · Mar 04, 2021 at 02:25 PM
Sweet!! Well good news bad news, the problem was me doing a stupid sync tcp connection to a server I had shut down....
But the good news is I found this sweet tool to use that helped me identify it in 10 seconds. If you have a problem with start/stop times this will help you solve it. Thanks
https://forum.unity.com/threads/introducing-the-editor-iteration-profiler.908390/
Your answer
Follow this Question
Related Questions
prefab time delay 1 Answer
I would like to add a delay to activating a camera 2 Answers
Time delay enemy respawn 3 Answers
Delay in time 0 Answers
Unity stops responding after Play 0 Answers