- Home /
Play mode completely locks up my computer
Completely losing my mind over this one...
Clicking Play-button often completely locks up my computer, I can't even move the mouse cursor. I have to do a hard reset of my system.
Ran a CPU overnight stress test, a GPU test, and several memory tests. The computer passes these tests no problem.
I also tried playing some games on max settings, no issues at all. This is clearly only happening when Unity is running.
90% of the crashes happen when I hit the play button... 10% of the time the same freeze happens randomly. (usually freezes while importing HoloLens.DLL, but maybe this is just coincidence?).
For the project, we are all using Unity 2017.4.7f1 + Vuforia, but I have tried other versions including Unity v2018 and the crash still happens! I have also reinstalled Windows, and all that stuff.
Please help me, I have no idea what to do! Is it possible that a old webcam or older LCD monitor could cause this problem, those are the only two things left to check.
Computer is: AMD Threadripper 1950x, 32 GB GSkill GDDR4 RAM, Gigabyte 399x designare EX, Asus GTX 1080 Turbo, Windows 10 with latest updates.
Does this happen when you hit the play button in a completely empty project?
UPDATE:
Playmode causes Unity to crash on an empty project.
(edited for simplicity)
What does the "Editor.log" say after a crash? You can find it in "C:\Users\Username\AppData\Local\Unity\Editor".
Answer by MikeTeavee · Oct 19, 2018 at 03:23 PM
Fixed the problem. Apparently programs such as Unity have been coded to utilize a fused-multiply-add CPU instruction set, otherwise known as the FMA instruction set. AMD has a known bug with FMA and the company has released a press statement to look for motherboard updates to fix the issue. Last night I flashed to the latest BIOs for my motherboard; now the system is 100% stable when using Unity!
Answer by JusSumGuy · Oct 16, 2018 at 07:27 PM
If it worked on the empty project you probably have a loop inside of an update function in one of your scripts.
True, but read my comment to AnneSchmidt. A crash occured after opening the empty project for a second time.
Answer by lihail123 · Mar 29, 2020 at 08:55 AM
For anyone seeing this question and it might help you: this happened to me too, and finally I realized I had an infinite loop in one of my Awake functions. Sounds pretty obvious/stupid, but it's worth checking out.
Your answer
Follow this Question
Related Questions
Unity freezes on play mode 0 Answers
i tried start "play mode",but it freeze. 2 Answers
Game Freezes In The Editor After Hitting Play 2 Answers
Unity editor freeze exiting play mode 0 Answers
an error occurred while trying to enable vuforia play mode 0 Answers