RTTI failed compiling when enabled for 4.23 linux

Hey, I also have the same problem with Improters/USDImporter which creates a probably RTTI related linker errors. Did you manage to just compile the whole engine with RTTI on 4.23?

Okay I got it also working this way:

  • ModuleRules.cs: bUseRTTI = true by default
  • LinuxToolChain.cs: CompileEnvironment.bHideSymbolsByDefault comment out
  • Delete XMPP Module
1 Like

Hey everyone, is commenting out bHideSymbolsByDefault and rebuilding the engine from source still the primary solution to fix this issue for 5.2?

I tried to enable rtti in the plugin only, and although we do not subclass engine classes, the linker complains about undefined references for typeinfo AGameModeBase, UGameInstance, UAssetManager, APawn, etc.

When executing ‘nm libUnrealEditor-Engine.so’ it just returns ‘no symbols’

I am encountering the same problems in macos. Did you find any solutions for that?

I went with commenting out bHideSymbolsByDefault and it works. Slows down productivity because at different points the UnrealBuildTool decides to rebuild the Engine as well (which takes 2h on my machine). But yes, it is a solution.