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.

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/