Undefined symbols for architecture arm64: "UEdGraphSchema_K2::PC_Exec", why?

mclark4386
Wed, 18 Oct 2023 03:59:54 +0000
Programming & Scripting

We are migrating from 5.2 to 5.3.1 but one of our plugins is having issues. It compiles just fine and if I remove it I can open the editor just fine, but when I try to build from the VSCode project (I’m on an M1 Mac running Sonoma and XCode 15… so no xcode builds) when it tries to link this plugin it’s throwing this error:

[1/2] Link [Apple] UnrealEditor-BYGRichTextEditor.dylib
Undefined symbols for architecture arm64:
  "UEdGraphSchema_K2::PC_Exec", referenced from:
      FKismetCompilerContext::PinIsImportantForDependancies(UEdGraphPin const*) const in Module.BYGRichTextEditor.cpp.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I’ve tried compiling for x86_86 as well, but no luck there either, same error expect substitute “arm64” with “x86_64” in that case. I’ve looked through the engine code and I see that bit of code and don’t see anything that would be causing this. Any Ideas?

Update: Rider gives the same linking error.

3 posts - 2 participants