# Editor Crashed: Access violation after pressing play or compile button

**URL:** <https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471>\
**Category:** Platform & Builds\
**Tags:** access-violation, crash-editor, unreal-engine, question\
**Created:** [April 26, 2015, 3:31pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471 "2015-04-26T15:31:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [April 26, 2015, 3:31pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/1 "2015-04-26T15:31:57Z")

</div>

When I pressed the play button or the compile button on my project, then unreal editor was crashed.

Branch: ‘Binary’ build from the Unreal Launcher

Version: 4.7.6-2513093+++depot+UE4-Releases+4.7

System: Windows 8.1

Reproduce Steps:

1. Load my project.
2. Press the play or compile button.

The issue occur very frequently.

The crash log:  
Crash Log

```
Access violation - code c0000005 (first/second chance not available)

UE4Editor_CoreUObject!UObjectBase::IsValidLowLevelFast() + 118 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:306]
UE4Editor_CoreUObject!FGCCollector::HandleObjectReference() + 83 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\garbagecollection.cpp:269]
UE4Editor_Engine!FSimpleObjectReferenceCollectorArchive::operator<<() + 77 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\public\uobject\garbagecollection.h:460]
UE4Editor_CoreUObject!UObjectProperty::SerializeItem() + 55 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\propertyobject.cpp:32]
UE4Editor_CoreUObject!UStruct::SerializeBin() + 254 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\class.cpp:715]
UE4Editor_Engine!UBlueprintGeneratedClass::AddReferencedObjectsInUbergraphFrame() + 744 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:700]
UE4Editor_CoreUObject!FArchiveRealtimeGC::ProcessObjectArray() + 7509 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\garbagecollection.cpp:707]
UE4Editor_CoreUObject!TGraphTask<FArchiveRealtimeGC::FGCTask>::ExecuteTask() + 453 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\public\async\taskgraphinterfaces.h:671]
UE4Editor_Core!FTaskThread::ProcessTasks() + 3125 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\async\taskgraph.cpp:428]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() + 77 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\async\taskgraph.cpp:271]
UE4Editor_Core!FTaskThread::Run() + 11 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\async\taskgraph.cpp:562]
UE4Editor_Core!FRunnableThreadWin::Run() + 102 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:73]
UE4Editor_Core!FRunnableThreadWin::GuardedRun() + 93 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:26]
kernel32 + 5074 bytes
ntdll + 452948 bytes

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [April 27, 2015, 4:06pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/2 "2015-04-27T16:06:10Z")

</div>

Hi ,

Can you post your dxdiag here so i can take a look? Additionally, does this occur with a clean project with no additional content or is it limited to a specific project?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [April 28, 2015, 4:05am UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/3 "2015-04-28T04:05:11Z")

</div>

Hi,

Thank you for a response.

Dxdiag is here.

And this is a backup log of when the editor crashed.

My project has a lot of additional contents and also a component that made with c++.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [April 28, 2015, 2:49pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/4 "2015-04-28T14:49:36Z")

</div>

What was the most recent addition to your project before the crashes began occurring? Have you checked your C++ component code to ensure that it isn’t missing any code formatting (semicolons, matching capitalization, etc)?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [April 29, 2015, 2:57am UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/5 "2015-04-29T02:57:32Z")

</div>

I added a blueprint component to my project before the crashes began occurring.

I added a c++ component to my project a month ago. At that time the issue did not occur.  
So I would like to think that there are no missing point in my c++ component.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [April 29, 2015, 2:56pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/6 "2015-04-29T14:56:04Z")

</div>

The most likely scenario is that your C++ is fine, I just want to eliminate the easy fixes as I work through to try and limit what the possible bug could be. What is in your blueprint component script?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [May 1, 2015, 4:11am UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/7 "2015-05-01T04:11:00Z")

</div>

What is revealed is that the crash has not occurred after my blueprint component compiled.  
But the issue occurs again after exiting the editor and reopening my project.

**What is my blueprint component:**

It is named BP\_BuildStage.  
It acts spawning pawns and ornaments at the game’s starting up. It is attached to my game mode class.

My game mode class has have two components.

![40916-gamemode.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/f/0cf56fe8a89f1a157afc0e1e9a423eb41bc2a845.png)

One is AutoBuildMap that is c++ component.  
The other is BP\_BuildStage that is blueprint component.  
The BP\_BuildStage access the AutoBuildMap.

This is BP\_BuildStage’s Event Graph.

 ![40917-bp_buildstage.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/8/92867c7f19647e4a7d2da49925ae3a18a924d038.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 1, 2015, 2:09pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/8 "2015-05-01T14:09:37Z")

</div>

I’m going to have you try a few things, to rule out possibilities. The first is, when you close and re-open the editor, try compiling the blueprint(s) before pressing play. Does it crash after doing this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [May 2, 2015, 5:43am UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/9 "2015-05-02T05:43:05Z")

</div>

When I compile the BP\_BuildStage (blueprint component) first, the editor does not crash. Subsequently, pressing the play button and the compile button on the other blueprint does not cause a crash anymore.

When I compile the other blueprint first, the editor crashes.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 4, 2015, 3:03pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/10 "2015-05-04T15:03:09Z")

</div>

What does the other blueprint do specifically? Can you show me what is in that event graph?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [May 6, 2015, 5:40am UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/11 "2015-05-06T05:40:02Z")

</div>

I think that they do not especial something.

Additional crash reporting:

After my project loaded, when I exit the editor first, then the editor are crashed.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 6, 2015, 5:10pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/12 "2015-05-06T17:10:32Z")

</div>

in this other blueprint, do you have any cast nodes, struct calls, interfaces, or other blueprint communication nodes that you are using?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [May 8, 2015, 5:56am UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/13 "2015-05-08T05:56:48Z")

</div>

I inspected all my blueprints for cast nodes and interface call nodes.

The blueprints list is below.

The Blueprints List

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 8, 2015, 2:55pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/14 "2015-05-08T14:55:05Z")

</div>

Which other blueprint is the one that crashes the editor specifically? Can you show me the event graph of the blueprint that is causing the crash?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [May 10, 2015, 2:57am UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/15 "2015-05-10T02:57:02Z")

</div>

I added new blueprint that had empty event graph. After reloading my project, pressing the compile button on this blueprint caused the crash.  
This blueprint is not in communication with another blueprints.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 11, 2015, 4:39pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/16 "2015-05-11T16:39:14Z")

</div>

Did you add any components to the blueprint? Can you show me your components viewport and what is in there?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [May 12, 2015, 2:17am UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/17 "2015-05-12T02:17:54Z")

</div>

Nope. I did not add any component to its blueprint. Also, I did not modify it. It is initial setting and is inheriting the Actor class.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 12, 2015, 2:22pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/18 "2015-05-12T14:22:48Z")

</div>

If you delete this blueprint do the crashes stop occurring?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7629d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7629d931](https://forums.unrealengine.com/u/anonymous_user_7629d931)\
**Post date:** [May 13, 2015, 5:23am UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/19 "2015-05-13T05:23:11Z")

</div>

After deleting it, the crash occurred still.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 13, 2015, 1:59pm UTC](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471/20 "2015-05-13T13:59:42Z")

</div>

Can you send me a copy of your project? I’ll take a look and see what is going on. If you prefer to keep your project private, you can private message me a link to the project on the forums and I’ll pull it from there.

[Next page](https://forums.unrealengine.com/t/editor-crashed-access-violation-after-pressing-play-or-compile-button/316471.md?page=2)
