x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4 Is Crashing Way Too Much

So recently whilst developing my game since about last week the crashes are VERY frequent, and it always puts me on edge and makes it very hard to make any progress. The thing is, these crashes only ever seem to happen between 1 - 2 seconds after hitting play and loading a map, or almost straight away after exiting play testing. I don't know if anyone could help at all, but if this sounds familiar please help!

Product Version: UE 4.18
Tags:
more ▼

asked Aug 28 '18 at 07:30 PM in Bug Reports

avatar image

DJ L3G3ND
31 1 2 4

avatar image AlexToucan Aug 28 '18 at 08:23 PM

I've gotten this a lot. Sometimes it was from some of the threading code I had written. Are you using SteamVR or anything like that?

avatar image DJ L3G3ND Aug 29 '18 at 12:01 PM

no, the only pluggins I have is destructibles and some other default stuff, I havent really done much to it

avatar image Yuji Saeki Aug 29 '18 at 12:36 PM

I get crashes sometimes on brand new projects that I've simply created, then closed immediately thereafter. I submitted Bug Reports for them. I can't recall what was causing the errors. Seems better for me in 4.20.2 but who knows...

avatar image DJ L3G3ND Aug 29 '18 at 06:42 PM

hrmm, my project is getting bigger, still pretty small right now, but I really don't know its just random. Only seems to be doing it on launches now, basically every other launch

avatar image OVR Tech Aug 29 '18 at 08:51 PM

It's possible that the crash is occurring from the shaders not finishing compiling after you've opened a brand new project. Shader compilation happens on separate processes, so if you're closing the editor, you're killing the parent process. Epic may not have implemented child process termination on parent process termination.

avatar image DJ L3G3ND Aug 30 '18 at 12:43 AM

is this some sort of background process? because I never try to play whilst it shows compiling shaders in the corner

avatar image OVR Tech Sep 05 '18 at 04:09 PM

Yes, it's a background child process shown in editor as [compiling shaders (number of shaders)]. I was responding to Yuji Saeki in regards to getting crashes from closing a freshly opened new project.

avatar image Yuji Saeki Sep 05 '18 at 05:39 PM

Unrelated to background shader-compilation processes. All done, can take a tea break and come back, still close it and get crashing.

avatar image OVR Tech Sep 05 '18 at 08:32 PM

Is this a blueprint project or a C++ project?

avatar image E_M_K Sep 02 '18 at 04:34 AM

I am currently using version 4.20.2 and facing this continuous crash issue each time i open my project. I am new to unreal and really need help and guidance on this issue please help me fix the bug

avatar image OVR Tech Sep 06 '18 at 01:44 PM

I'm starting to think we won't see much support until 4.21 or even 4.22 is out. I'm waiting for the VR/AR platform unification code to get written before I can start working again, which won't come until 4.22 or later.

(comments are locked)
10|2000 characters needed characters left

4 answers: sort voted first

I get crashes like this all the time. I've noticed it can be from stale binaries that won't update regardless of compiling in editor or building/rebuilding in Visual Studio. I'd recommend closing the editor along with Visual Studio, deleting the following folders "Binaries" "Intermediate" "Saved", right clicking on your uproject file and selecting "Generate Visual Studio project files."

After that, I'd reopen Visual Studio and build your project from there.

more ▼

answered Aug 29 '18 at 04:08 PM

avatar image

OVR Tech
11 1 3

avatar image Yuji Saeki Aug 29 '18 at 05:19 PM

I get them running from Epic Launcher too though.

avatar image OVR Tech Aug 29 '18 at 06:37 PM

The launcher crashes, or the Editor? The Editor runs independently of the launcher.

avatar image Yuji Saeki Aug 29 '18 at 08:21 PM

The Editor crashes quite often for us. Launcher never crashes for us.

avatar image OVR Tech Aug 29 '18 at 08:48 PM

Are you in a Blueprint project or a C++ project?

avatar image Yuji Saeki Sep 05 '18 at 09:26 PM

Blueprint.

avatar image OVR Tech Sep 06 '18 at 01:20 PM

I've only ever worked in C++. Doing linear algebra in node based languages is a nightmare.

(comments are locked)
10|2000 characters needed characters left

I kept getting random crashes since I switched from 4.16 to 4.18 and I found it was caused by the blueprints compile manager (https://forums.unrealengine.com/unreal-engine/feedback-for-epic/125003-blueprint-compilation-manager-the-good-the-bad-and-the-ugly). Turning it off in the project settings fixed it for me.

more ▼

answered Aug 29 '18 at 08:57 PM

avatar image

wilsonc
41 1 3 6

(comments are locked)
10|2000 characters needed characters left

I know this is not really a solution, but the editor never crashes when I use my 32GB system, while it crashes once in a while while using my 16GB system. Could be memory leaks, inefficient operations being executed, or pre allocated subsystem buffers overflowing. All speculation, just my 2 cents.

more ▼

answered Jan 12 '19 at 04:20 AM

avatar image

oO Sykes Oo
16 1 4

avatar image Yuji Saeki Jan 12 '19 at 04:37 PM

32GB here too though still it can crash/will.

(comments are locked)
10|2000 characters needed characters left

Do you have the error logs for the crash. I've generally found it quite stable other than when I've done something stupid. I see you're using blueprints, which I don't use very often but it's possible that one of your blueprints is attempting to do something it shouldn't and UE4 is unable to handle it gracefully.

You should have a look through your project and see if there are any culprits. It might come down to disabling blueprints (probably by disconnecting nodes from entry points) systematically to see if the editor becomes more stable.

more ▼

answered Jan 12 '19 at 10:54 PM

avatar image

phil_me_up
1.1k 4 6 12

avatar image Yuji Saeki Jan 13 '19 at 01:49 PM

Clean new BPs, even one not inheriting from anything, makes no difference. Same with clean new projects. A simple folder operation (with no assets of any kind in them) can cause it to crash. Asset management is just over-complicated and causes issues. Simple file-based management would be a dream at this point. Looking into migrating to Unity. Removed Rant

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question