- Home /
Unity3d sometimes freezing during script compilation or after hitting play button
Hello,
I'am running Unity3D pro 4.6.2 (I tried 4.6.3 and even some older versions) with Parallels and Visual Studio 2013. It happens quiet often when I edit a script in VS and switch back to Unity, Unity freezes during script compilation. It also sometimes freezes when I just hit Play button (The button doesn't even get blue). I'am sure it has nothing to do with infinite loops (I'am not the only developer on a project) or memory problems (I have 8GB of RAM and memory pressure in Activity Monitor is always green).
Any suggestions are highly appreciated, thanks in advance, Jakub
Its just recompiling scripts. Nothing out of the ordinary.
When you click play its like the whole game is being set up. Awake and Start scripts run.
It takes time!
How long are these freezes you speak of?
The freeze lasts forever. It's actually everything but ordinary :(
Does it occur in a new project without Parallels running?
Can't you pinpoint the cause?
I have the same issue on my laptop with an i7-4500U and 6 GB of RA$$anonymous$$. Unity freezes after I switch from Visual Studio back to Unity for like five seconds. It happens with any project, old or new.
I think that is pretty normal. When you make some changes, the changes get loaded into unity. $$anonymous$$akes sense for there to be a little stall
@TOLGA-YAVUZ I've converted to comment because that's (very much) not an answer to the question. This is an old question, I would suggest asking your own question, with as much detail as you can (including whether or not there's anything significant-looking in the unity editor log, whether it happens with a new project, etc).
Answer by NerdIt- · May 12, 2019 at 12:16 AM
I would suggest updating Unity and Visual Studios. It may just be a problem with that version of unity running on that version of the operating system.
Your answer
Follow this Question
Related Questions
Crash on play befor the game even starts. 1 Answer
Game no reopen before go to Desktop or something (FullScreen) 0 Answers
Android Game crashing when collecting collectibles 0 Answers
Unable To Understand Android Crash : android.view.ViewGroup.offsetRectBetweenParentAndChild 0 Answers
Unity crashing constantly 2 Answers