Unknown symbol "UMovieSceneSequenceExtensions"


Currently I’m encountering an “unknown symbol” problem about UMovieSceneSequenceExtensions. I have added the “SequencerScripting” module and the “MovieScene” module into the Build.cs file, like this:
PublicDependencyModuleNames.AddRange(new string[]
{ “Core”, “CoreUObject”, “Engine”, “InputCore”, “EnhancedInput”, “LevelSequence”, “SequencerScripting”, “MovieScene” });

and added headers into my cpp file, like this:
#include “ExtensionLibraries/MovieSceneSequenceExtensions.h”

Do anyone know why this “unknown symbol UMovieSceneSequenceExtensions::GetBindingID” happens?

Thanks in advance.

The error “unknown symbol UMovieSceneSequenceExtensions::GetBindingID” can occur if the symbol is not defined in the code you are trying to use. There are a few possible reasons for this:

  • Missing Dependency: Make sure that you have all the required dependencies for the UMovieSceneSequenceExtensions class. Make sure to include all necessary header files and libraries, and that they are in the correct order.
  • Incorrect Header Path: Make sure that the path to the header file is correct. Check the include statement and ensure that the file can be found in the specified path.
  • Missing Class Definition: Make sure that the UMovieSceneSequenceExtensions class is defined in the header file you are including. If the class is not defined, the symbol GetBindingID will not be known.
  • Incorrect Build Configuration: Make sure that the correct build configuration is selected and that the code is being built with the correct settings.

If none of these solutions work, it might be helpful to consult the Unreal Engine documentation.

Hi, thanks for you reply.

I need to call this function: “UMovieSceneSequenceExtensions::FindBindingByName”, and here’s the official API document UMovieSceneSequenceExtensions | Unreal Engine Documentation, according to which, I should add the “SequencerScripting” module to “MyProjectName.Build.cs”, right? Something like this: PublicDependencyModuleNames.AddRange(new string[]
{ “Core”, “CoreUObject”, “Engine”, “InputCore”, “EnhancedInput”,
“LevelSequence”, “MovieScene”, “SequencerScripting”});

In addition, according to the official API document above, I also should add #include “ExtensionLibraries/MovieSceneSequenceExtensions.h” at top of the .cpp (or) .h file, where I call this function “UMovieSceneSequenceExtensions::FindBindingByName”, right?

But I am still getting the “Unknown Symbol UMovieSceneSequenceExtensions::FindBindingByName” error.

Could you please help me figure out which step I’m doing wrong or I miss something?

It’s difficult to determine the exact issue without additional context, however, here are some common reasons why you may be encountering the “Unknown Symbol UMovieSceneSequenceExtensions::FindBindingByName” error:

  • Make sure you have added the “SequencerScripting” module in the right place, which is the “MyProjectName.Build.cs” file.
  • Make sure you have included the header file “ExtensionLibraries/MovieSceneSequenceExtensions.h” in the correct source file, either .cpp or .h, where you are trying to call the function.
  • Check if the module is being built properly. If it’s not, try cleaning and rebuilding the project.
  • Make sure that the function you are trying to call is not marked as “private” or “protected” in the header file, as it won’t be accessible in that case.
  • Ensure that the API version you are using is compatible with the version of Unreal Engine you are using. The API documentation should specify which version(s) of Unreal Engine it is compatible with.

If you have checked all these items and you’re still encountering the error, please provide more context or code snippets that may help to better understand the issue.