I’m trying to play a level sequence using this piece of code:
SequenceActor->SequencePlayer->Play();
But, when I try to build, it fails and shows this message:
error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __cdecl UMovieSceneSequencePlayer::Play(void)” (_imp?Play@UMovieSceneSequencePlayer@@QEAAXXZ) referenced in function “public: void __cdecl ACutscene::Play(void)” (?Play@ACutscene@@QEAAXXZ)
My Build.cs contains this line to configure the public modules:
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "UMG", "Slate", "SlateCore", "LevelSequence" });
As you can see, it already have the “LevelSequence” module in the list.
What should I do?