i use in build.cs ,target.cs
bUseRTTI = true;
UEBuildConfiguration.bForceEnableRTTI = true;
compile success, but link says:
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for ACollectableItem: error: undefined reference to ‘typeinfo for AActor’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UCommunication: error: undefined reference to ‘typeinfo for UObject’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for ADropItem: error: undefined reference to ‘typeinfo for AActor’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for ANewCastlePlayerController: error: undefined reference to ‘typeinfo for APlayerController’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for ABattleGS: error: undefined reference to ‘typeinfo for AGameState’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for ASkill: error: undefined reference to ‘typeinfo for AActor’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for ACreature: error: undefined reference to ‘typeinfo for ACharacter’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for ANewCastleAIController: error: undefined reference to ‘typeinfo for AAIController’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UErrorBox: error: undefined reference to ‘typeinfo for UUserWidget’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UNewCastleGameInstance: error: undefined reference to ‘typeinfo for UGameInstance’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for ANewCastleGameMode: error: undefined reference to ‘typeinfo for AGameMode’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UMonsterComponent: error: undefined reference to ‘typeinfo for UActorComponent’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for ATile: error: undefined reference to ‘typeinfo for AActor’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UDraggingSkill: error: undefined reference to ‘typeinfo for UUserWidget’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UMall: error: undefined reference to ‘typeinfo for UUserWidget’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UNewCastleUMG: error: undefined reference to ‘typeinfo for UUserWidget’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UCommunicationCacheData: error: undefined reference to ‘typeinfo for UObject’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UGameIniConfig: error: undefined reference to ‘typeinfo for UObject’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/Module.NewCastle.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/NewCastle/Development/NewCastle/Module.NewCastle.cpp:typeinfo for UNewCastleLocalPlayer: error: undefined reference to ‘typeinfo for ULocalPlayer’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/NewCastle.generated.1.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/UE4/Inc/NewCastle/NewCastle.generated.1.cpp:typeinfo for ABattleGM: error: undefined reference to ‘typeinfo for AGameMode’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/NewCastle.generated.1.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/UE4/Inc/NewCastle/NewCastle.generated.1.cpp:typeinfo for TProperty: error: undefined reference to ‘typeinfo for UNumericProperty’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/NewCastle.generated.2.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/UE4/Inc/NewCastle/NewCastle.generated.2.cpp:typeinfo for UCsvConfig: error: undefined reference to ‘typeinfo for UObject’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/NewCastle.generated.2.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/UE4/Inc/NewCastle/NewCastle.generated.2.cpp:typeinfo for ANewCastlePlayerState: error: undefined reference to ‘typeinfo for APlayerState’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/NewCastle.generated.2.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/UE4/Inc/NewCastle/NewCastle.generated.2.cpp:typeinfo for UTileExitComponent: error: undefined reference to ‘typeinfo for UParticleSystemComponent’
UATHelper: 打包 (Android (ETC2)): UnrealBuildTool: NewCastle/NewCastle.generated.2.cpp-armv7-es2.o:D:/Castle/Intermediate/Build/Android/UE4/Inc/NewCastle/NewCastle.generated.2.cpp:typeinfo for UUtil: error: undefined reference to ‘typeinfo for UBlueprintFunctionLibrary’