Unreal Engine constantly crashing

Hi,

I am currently evaluating using UnrealEngine for my Project. Sadly the editor keeps on crashing on me at seemingly random occasions.
So far I have always restarted the Editor and simply moved on but now the editor crashes on me when I try to load my Project.
Since I can’t beleive this is really the state of the engine I am wondering if something is wrong with my machine?

I am running the latest MAC OS X on the latest iMac 27" with 3.5GHz i7 processor.

Which version of Unreal are you running? Do you have a stack trace or crash report?

I run UE4 primarily on Macs (Mac Pro Late 2013, Retina MacBook Pro 15"), though I do also run it on Windows at times for compiling Windows binaries. Our team is about half Mac and half Windows users (with a few switch hitters in the bunch). There’s no doubt that the Editor under Windows is a little more stable and a little more performant, but the difference isn’t huge these days, and we definitely haven’t seen wholesale crashing. Sometimes we run bleeding edge from source, and that’s often more prone to crashing, but even so, the 4.9 branch has been surprisingly stable for us.

Unfortunately, the iMac (and pretty much most Mac models that they ship right now except the Mac Pro) have kind of wimpy GPUs compared to their CPUs. The iMacs (except the 5K model) have basically laptop GPU chips in them. This is unfortunate, as UE4 makes fairly heavy use of the GPU. There are settings tweaks you can do to improve performance (google or search the forums, there’s a lot of information on it). There probably isn’t anything “wrong” with your machine unless you’ve been experiencing problems in other apps, but I would definitely make sure you’re on the latest non-beta release of the OS.

That all being said, there are many things that can cause crashes in Unreal. If you have any C++ in your project, an improperly handled NULL pointer can bring your system down pretty reliably. In rare cases, bad data in an asset can cause crashes on launch. Moving UE projects between versions, especially going backwards (e.g. 4.9 -> 4.8) can introduce data inconsistencies in the project and assets and shouldn’t be attempted.

I would suggest rolling back one commit at a time until the project starts loading again, then look at what changed in that commit. That will tell you which asset or file or code change is the likely culprit. If you aren’t using version control, well, a) yikes, b) shame on you. :wink:

When working in Unreal, you’re still doing software development and you will get crashes, you will hit problems, you will screw up things, and at times, Epic will too despite the fact that they have a very rigorous testing process. Last I checked, the engine is over 2.5 million lines of code excluding third party libraries, and it supports many platforms and a wide range of hardware. Frustration is definitely part of the job description in game dev.

I had a constant crashing problem that turned out to be having only 11 gigs left on my C drive

Hi ScherzkeCks,

Sorry to hear you’re getting crashes. If you can help us to reproduce the issue, then we can investigate the cause and try to get a fix. We ask that all bug reports (including crashes) be reported on our UE4 AnswerHub to the ‘Bug Reports’ section. Please follow the link in my signature to log a report there. We’ll need the additional information that jeff_lamarch requested, such as which engine version, the call stack, and also the steps you take to reproduce it.

Thanks

Hi,

I will file the bug report asap.

@: I am not a native speaker but I get the impression you found my first post (slightly) offending. If that is the case I am really sorry I didn’t mean to. I am aware development is at times quite some frustration followed by moments of clarity and joy (these moments make it worth it :wink: ). So again if my first statement seemed offending or disrespectful I am sorry that was not my intention.

EDIT: I found the part of my C++ code that causes the editor to crash. I am using this code:

and the constructor crashes. Should I still file a bug?

I am using a custom built PC with a GTX960 graphics card and 16 gigs of ram and my pc does the same thing and i do not understand why.

I just left Unreal, I’m going to start using unity. My patience just over, I can not handle the Editor crashing every 3 minutes for totally random reasons, crash when I’m in the viewport, crash when I’m simply clicking on some window, crash when I’m in the material editor, crash when I click on some asset, crash for anything !! everything can make the Editor crash and can not predict what will make Unreal crash !!
I tried everything I said on the forums, nothing solved the problem, I cleaned my computer, I updated the system, I reinstalled several times, I tried to install older versions but nothing solved the problem no matter what version of unreal I install all present the same problem.
It’s impossible to do anything.
i7 7500 8g RAM AMD Radeon R7 M445 4g VRAM