I've been having this problem since months and only happens when I have GameSparks sdk imported in a project, whenever I change a script and Unity starts recompiling while I'm playing the Unity freezes, I noticed that if I stop playing before few seconds nothing happens but if I wait too long then Unity freezes so I have close it an open it again.
No problem! I've been running smoothly since I put that script in. Seems to be working just fine thankfully.
I would agree about the key factor. Without the wait, Unity becomes unresponsive. I would have to kill Unity 9 times out of 10.
Thank you for verifying that what you did is similar and works out as well.
Yeah, the same goes for me, without the wait, some times I will need to kill the unity process.
Good luck with your game!
Good to hear! Thanks. You too!
Happens still in 5.6.3 -- I saw some tricks above about to try. Windows 10. Happens every other play test in editor. It's definitely a hair-ripper: I finally found this thread and realized it's GS. I am going to be so joyous if 1 of those 2 workarounds on page 2 works!
I'm still freezing :(
"I've been having this problem since months and only happens when I have GameSparks sdk imported in a project, whenever I change a script and Unity starts recompiling while I'm playing the Unity freezes, I noticed that if I stop playing before few seconds nothing happens but if I wait too long then Unity freezes so I have close it an open it again."
This guy pretty much defined my issue word-for-word. I've had to restart Unity at least 20 times per day. I tried your fix, and although I see slightly less freezes, it's still very significant. Any scene that does not initialize with GameSparks does not freeze Unity.
Did you have any other plugins installed here ? Does it happen with a fresh Unity project with just the GS SDK installed ?
I haven't tried with a fresh Unity project yet (I'll have time to try it in a couple weeks). However, here is what's left in the logs upon restarting from frozen, which is most likely a good indicator:
For anyone still having issues you can get the new SDK from here. Please try it and let me know if you are seeing the same behavior.
Still encountering this issue (GS 184.108.40.206 and Unity 2017.2.0f3) on a empty project with only GS SDK installed...
I would welcome fixing this very much, thank you!
Looks like this just got worst :(... I wasnt complaining about this before since I was using a script that stop unity when its recompiling but now unity is freezing when is stopped and after few secs of recompile
Still freezing on GS 220.127.116.11 -- I am starting to go a little crazy over this. I just noticed Andrejs potential fix -- I'm going to check it out.
Actually, I wasn't on .139 -- I found a separate bug I'll post elsewhere (says up to date, but actually updated). I have some testing to do before Andrejs' script.