Description

Adding a USequenceComponent to a code class will cause the editor to crash when the component is selected in blueprints

Regression:
No - same behavior occurs in 4.16.3 (CL 3561208)

Steps to Reproduce
  1. Open UE4 Editor (any project)
  2. Open Edit->Plugins and enable ActorSequenceComponent
  3. Add code to the project based on actor (MyActor)
  4. Add the following to MyActor.h
    	UPROPERTY(VisibleDefaultsOnly, BlueprintReadOnly, Category = ObjectiveGiver)
    	UActorSequenceComponent* SequenceComponent;
    
  5. Add the following to AMyActor::AMyActor() (in MyActor.cpp)
    SequenceComponent = CreateDefaultSubobject<UActorSequenceComponent>(FName("Sequence Comp"));
    
  6. Add the following to ProjectName.Build.cs in the PublicDependencyModuleNames section
    , "ActorSequence"
    
  7. Compile
  8. Add blueprint based on MyActor (MyActorBP)
  9. Select SequenceComponent in hierarchy

Result:
Editor immediately crashes hen component is selected

Expected:
Component can be selected / details changed without crash

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

2
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.16.34.17.1
Target Fix4.19
Fix Commit3797515
Main Commit3800998
Release Commit3813083
CreatedAug 31, 2017
ResolvedDec 8, 2017
UpdatedApr 27, 2018