# Compiling an actor blueprint crashes to desktop

**URL:** <https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126>\
**Category:** Blueprint\
**Tags:** compilation, unreal-engine, crash, bug-report, question, Blueprint\
**Created:** [October 3, 2015, 1:42am UTC](https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126 "2015-10-03T01:42:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![GoodOldMalk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GoodOldMalk](https://forums.unrealengine.com/u/GoodOldMalk)\
**Post date:** [October 3, 2015, 1:42am UTC](https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126/1 "2015-10-03T01:42:16Z")

</div>

Hello! I’ve been doing some work using modular components on actors and have found that under very specific circumstances compilation can trigger a crash to desktop. consistent steps to reproduce crash are:

1. Attempt to delete a component from content browser.
2. Cancel deletion.
3. Open an actor that has same component attached.
4. Detach (delete) component from actor.
5. Attempt compile actor blueprint _Crash happens before compile finishes_

actor in question does not (currently) compile its blueprint due to errors. crash does not happen if step 1) and 2) are not performed, in that case, attempting to detach component and compile work just fine (compilation fails and displays all existing errors).

Hope that helps anyone.

---

<div class="post-metadata">

**Author:** ![GoodOldMalk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GoodOldMalk](https://forums.unrealengine.com/u/GoodOldMalk)\
**Post date:** [October 3, 2015, 6:39am UTC](https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126/2 "2015-10-03T06:39:24Z")

</div>

I have pinpointed problem to an unimplemented function for specific actor I’m using. When a function is not properly wired, attempting to compile blueprint results in a crash to desktop under multiple conditions, not just one listed above.

above can’t be replicated in copies, instances or new actors. actor I’m using pre-dates version 4.9.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [October 3, 2015, 5:40pm UTC](https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126/3 "2015-10-03T17:40:49Z")

</div>

Hi GoodOldMalk,

Please copy information in Crash Reporter window and paste it here, including Machine ID. Make sure to hit Send. Then, attach log from project’s \Saved\Logs folder.

I’m not able to reproduce this in a new project with new actors, as you mentioned, nor with an Actor from a project upgraded from 4.8. I’ll see if I can link information from your log and Crash Report to any known issues, otherwise there probably isn’t much we can do if we can’t reproduce it.

If you’re able to reproduce it in a new project at any point, please let us know and upload project someplace we can get at it to look it over. Thanks!

---

<div class="post-metadata">

**Author:** ![GoodOldMalk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GoodOldMalk](https://forums.unrealengine.com/u/GoodOldMalk)\
**Post date:** [October 3, 2015, 6:06pm UTC](https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126/4 "2015-10-03T18:06:32Z")

</div>

I’m unable to paste entirety of crash report here so I’ve attached a text file instead.

MachineId:8C90BD5240B5E75A37D7178D03593FE9

EpicAccountId:44061d6773bf46ac9ca505869bfa1cd9

"Assertion failed: ((UObject\*)ContainerPtr)-\>IsA((UClass\*)GetOuter()) [File:D:\BuildFarm\buildmachine\_++depot+UE4-Releases+4.9\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h]

CrashReport.txt

LogFile.log

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [October 3, 2015, 7:53pm UTC](https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126/5 "2015-10-03T19:53:57Z")

</div>

Hey GoodOldMalk,

This looks very similar to another bug report we have (UE-21255), and I see another few projects have reported same crash in 4.9. I’ve created UE-21759 to track issue, and I’ll let you know when I see any update on it. Thanks for report!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [October 6, 2015, 12:38pm UTC](https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126/6 "2015-10-06T12:38:17Z")

</div>

Hey GoodOldMalk,

developers have requested a repro project. If possible, please project in which this occurs and upload it someplace like Google Drive or Dropbox, and send me a download link via PM on forums:

Please include steps we’d need to reproduce this issue in project you send. Thanks!

---

<div class="post-metadata">

**Author:** ![GoodOldMalk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GoodOldMalk](https://forums.unrealengine.com/u/GoodOldMalk)\
**Post date:** [October 6, 2015, 5:37pm UTC](https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126/7 "2015-10-06T17:37:36Z")

</div>

Regretably for debugging, I’ve done a number of changes that seemed to have removed crash.

I’ve started moving away controller logic from Actor to PlayerController, including components and component interfaces, and in process bug can not be replicated anymore. I’ve also revised my interfaces so that they pass structures (at worst, with default values) instead of arrays (which could possibly be empty), so getting a compilation error from unwired interfaces is no longer possible.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [October 6, 2015, 5:40pm UTC](https://forums.unrealengine.com/t/compiling-an-actor-blueprint-crashes-to-desktop/334126/8 "2015-10-06T17:40:57Z")

</div>

Okay, no problem. If you manage to reproduce it again, please send me project. Thanks!
