- Home /
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!
I've noticed the same thing the first time I press play too; afterwards all subsequent stop/restarts are fast. You might try the Unity Support Forums too and if you get a good fix please update this.
You can open the Lighting panel and switch off Auto Lightmapping. Ins$$anonymous$$d you need to click the button to do it manually.
Do those 4 seconds of lost time really make a difference?
Answer by sas_88 · Jul 18, 2015 at 06:39 AM
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.
Just to be sure, you posted in the right place, did you?
Answer by vinayak007gadad · Nov 01, 2015 at 01:24 PM
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 --> http://docs.unity3d.com/Manual/PublishingBuilds.html