Unity constantly crashing

I’m totally new to unity and I just intalled the last version 5.2.3f1.

When I create or open any project, unity crash after 5-10 min, even If I don’t touch anything on new projects. Always the same crash.

Apparently cuting the whole unity folder to an other drive fixes it. Well it did for me. Good luck with it.

Thank you.

EDIT: No, it seems that worked, but crashed again.

Same boat. Happens in both 2d and 3d. 64 bit.

Usually get about 5-10 minutes before it freezes and crashes to the bug reporter.

1 Like

Use windows services window, sort by memory, use unity profiler…at the same time…? Real question being, are you maxing out ram, vram, is one of your memory sectors bad? (Happens)…sounds like cummilative ram failure.(Access violation of a set memory sector).(something constantly wants more memory).real time baking a huge scene, at hi res? 8 gbs of physical ram?..hard to really diagnose…for me unity does not crash, a better term, for me, is freeze.

By “services window” I’m assuming you mean Task Manager?

I have 16GB physical RAM. There are plenty of times that I’m running a VM and two Eve Online clients eating up 90% of memory, so I don’t think it is bad RAM. I’ll try moving to a different drive and see if that makes a difference.

So you know: Unity will crash with a 2D game with three objects on it. All I have to do it let it sit.

1 Like

I am moving stuff to my new pc right now…new unity as well…I am not seeing this behavior. ?..yet…the first to port, my terrain building project, Terrain/World Composer, RTP, HorizonOn, etc…opens, runs, and…nothing happens…(that is why I think it is a local problem)…one of my crashes was a Tween product…after I hit play…I would go back to working…sometime later unity 5 would crash…it was a leftover, instance.

I’m having the exact same problem. Reinstalling didn’t work either.

Here’s something to try:
Open Unity and go to Help->Manage License… Then click “Check for updates.”
It should say “License has been updated” after a moment.

I was having a similar issue but now I’ve been running for about an hour with no crashes. I’ll let you know how things go.

Judging by the stack trace I have, I’m guessing Unity Editor was trying to contact Unity servers to perform a periodic verification of licensing or account information. So if you have a stack trace that looks like this, I suggest trying to clean out or refresh anything related to licensing or user accounts (even if you have the free version), and make sure that there isn’t a firewall preventing Unity from reaching the licensing servers.

from: C:\Users\User\AppData\Local\Unity\Editor\Editor.log

========== OUTPUTING STACK TRACE ==================

0000000140E09A05 (Unity) UnityConnectUserInfoRequest::parsedDone
0000000140CB8F47 (Unity) JSONRequestMessage::smile:one
0000000140CA1C56 (Unity) CurlRequest::Check
0000000140CA5501 (Unity) CurlRequestCheck
0000000140D2B1B4 (Unity) Application::TickTimer
0000000140E3D884 (Unity) RelaunchUnity
0000000140E3EE7B (Unity) WinMain
00000001414CFC00 (Unity) strerror_s
00007FFB7FB12D92 (KERNEL32) BaseThreadInitThunk
00007FFB802F9F64 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

You may be on to something… I attached the Visual Studio debugger and caught the exception. The exception is happening in UnityConnectUserInfoRequest::OnSuccess.

1 Like

Well, 5.2.x line is considered unstable. You’re better off getting 5.1.x which is smooth as butter for me and waiting to see if 5.3 fixes anything. 5.2 is a dud, happens to the best people.

Downgraded to the last 5.1. Still crashes after a while.

Same problem. I’ve tried 32 and 64 bit version, last 5.1.x version. I’ve tried updating the licence, deleting the C:\Program Data\Unity folder, the folders in the appdata roaming and local folders, and removing spaces from my project folder. Still crashes after 5-10 minutes on a blank project whether I’m actively using it or not. Filed a crash report. Very frustrating.

Experiencing the exact same behaviour. On two different machines. All I have to do is wait on the Project selection screen and it will crash after a while. happens if I actually have a project open too.
Tried the licensing update - did not seem to solve it.

This happens to me too, crashes every 10 minutes or so, doesn’t matter what I do. I don’t even have to open a project, just having the unity select/new project window open will cause it to crash.

Me too. And I am on a MAC. Here is the relevant crash info. Performing a license upgrade did not fix the issue.

Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
terminating with uncaught exception of type std::logic_error: basic_string::_S_construct NULL not valid
abort() called

Try to disconnect your unity account on “help” → “manage license”, it stopped crashing after I did that, this is surely NOT a permanent solution because it sucks when you have to log on each time you are going to download anything from the unity store, but well, it worked for me as a temporal patch.

Regards.

1 Like

Thanks FireHaze. I’ll give it a try!

Logging out of my account in the editor did in fact fix the problem for me. Thanks for the suggestion.

AT&T decided to help me on this one by being down, so I had to work offline. Same here… no crash in about 2 hours of letting it sit.

Out of curiosity… any of you all that are having problems… do you (by chance) have a virtual switch? It’s the only thing that seems weird on my desktop pc is that I have Hyper-V and a virtual switch for network access.