campd
(campd)
February 16, 2017, 9:12pm
22
It seems trying to play Sequencer movies now cause errors
build.cs
PublicDependencyModuleNames.AddRange(new string] { ..., "LevelSequence" });
.h
UPROPERTY(EditAnywhere, Category = "AKQ") ALevelSequenceActor* Cutscene;
.cpp
#include "LevelSequenceActor.h"
{
Cutscene->SequencePlayer->Play();
}
Now gives “Unresolved external symbols” errors anywhere Cutscene->SequencePlayer->Play(); (or Stop, Pause, etc) was used.
So putting Sequencer into cpp still works, but playing it in any way causes the errors.
Commenting those out fixes it, but now how can we Play/Pause/Stop sequencer from within cpp?
I ran into this, and needed to add the MoviePlayer (or maybe MovieScene? I’m not at that computer right now) module dependency alongside LevelSequence.