I have an issue where I’m getting linker errors…
I have a C++ class that inherits from ACharacter.
I have two C++ UActorComponents classes. First one I have been working with for several days no problems with RPC calls.
Started to build out the second C++ UActorComponent based class. Compiled fine until I started to add RPC calls… When I did I got an error saying:
Error LNK2005 "protected: void __cdecl UBattleComponent::BattleServerRPC_SetAiming(bool)" (?BattleServerRPC_SetAiming@UBattleComponent@@IEAAX_N@Z) already defined in BattleComponent.gen.cpp.obj
I’ve deleted all generated files, re-generated visual studio project files… Still getting this same error.