[Plugin] bUseRTTI build option causing linker errors

I have a bare bones plugin that compiles/links correctly. I add bUseRTTI = true to my build rules and everything still compiles/links.

As soon as I include this line in my plugin:


I get the following linker errors in relation to the type info:

[1/1] Link UE4Editor-Module.dylib

Undefined symbols for architecture x86_64:

“typeinfo for FSlotBase”, referenced from:

typeinfo for TSlotBase<SBoxPanel::FSlot> in Module.Module.cpp.o

“typeinfo for SBoxPanel”, referenced from:

typeinfo for SVerticalBox in Module.Module.cpp.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anyone help? This is on OSX with Xcode 9.4.1 and version. 4.20.3 of UE.


Same problem :frowning:

I have the same issue.