# C++ Defined Actor Sequence Component Crashes on editor view

**URL:** <https://forums.unrealengine.com/t/c-defined-actor-sequence-component-crashes-on-editor-view/403223>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, CPP, question\
**Created:** [August 30, 2017, 1:36am UTC](https://forums.unrealengine.com/t/c-defined-actor-sequence-component-crashes-on-editor-view/403223 "2017-08-30T01:36:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kanibel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kanibel](https://forums.unrealengine.com/u/Kanibel)\
**Post date:** [August 30, 2017, 1:36am UTC](https://forums.unrealengine.com/t/c-defined-actor-sequence-component-crashes-on-editor-view/403223/1 "2017-08-30T01:36:14Z")

</div>

Hello,

This was happening in 4.16 as well but if you have a UActorSequenceComponent defined in C++, then have a blueprint derived from that C++ class, upon selecting the Sequence Component the editor will immediately crash.

I’ve attached an example project that should show you what happens but if you don’t want that:

* * *

**Steps to Reproduce**

- Enable ActorSequenceEditor plugin
- Create a C++ derived Actor
- Create and add the component in C++

The usual way

```
.h
UPROPERTY(VisibleDefaultsOnly, BlueprintReadOnly)
UActorSequenceComponent* SequenceComponent;
    
.cpp
SequenceComponent = CreateDefaultSubobject<UActorSequenceComponent>(FName("Sequence Comp"));

```

- Create Blueprint derived from the newly created actor class
- Open Blueprint and select the component in the hierarchy

* * *

**Should crash due to a nullptr with Get Parent Blueprint in UActorSequence**

```
UE4Editor-CoreUObject.dll!UObjectBaseUtility::GetTypedOuter() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectbaseutility.cpp:205]
UE4Editor-ActorSequence.dll!UActorSequence::GetParentBlueprint() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\actorsequence\private\actorsequence.cpp:45]
UE4Editor-ActorSequenceEditor.dll!FActorSequenceComponentCustomization::CustomizeDetails() [d:\build\++ue4+release-4.17+compile\sync\engine\plugins\moviescene\actorsequenceeditor\source\actorsequenceeditor\private\actorsequencecomponentcustomization.cpp:136]

```

I have attached a crash log as well as the project I have reproduced it in.

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [August 31, 2017, 4:03pm UTC](https://forums.unrealengine.com/t/c-defined-actor-sequence-component-crashes-on-editor-view/403223/2 "2017-08-31T16:03:51Z")

</div>

Hey Kanibel-

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here [Unreal Engine Issues and Bug Tracker (UE-49103)](https://issues.unrealengine.com/issue/UE-49103) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers
