Play button takes a lot of time

Since a while now, if I test my game and press the play button in the editor, it takes like 3-6 seconds before it actually responds. Earlier it didn’t even take half a second.

I tried reinstalling Unity and creating new projects with empty scenes but it still takes that amount of time to actually play.

I’ve also been noticing a little bar on the lower right corner “Bake paused in play mode”, maybe that has something to do with it?

Can anyone point me in the right direction on how to fix this? Thanks for reading!

Faced the same problem,overcome the problem by using Event Trigger instead on Onclick().

Adding the Event Trigger to button.

set PointerDown in Add new Event Type.

Go to File->Build Settings, In the Build Settings window try to change the platform and to Web Player or any other platform.
Allow it to load the configurations.
Go back your project and then try to play the project.
I did some trial and error and the issue got fixed,

For more details check this →

Mesh colliders also take a lot of time