I added a new function to AGameStateBase to extend poor steam voice chat implementation:
...
#include "Components/AudioComponent.h"
#include "UObject/CoreOnline.h"
...
UCLASS(config=Game, notplaceable, BlueprintType, Blueprintable)
class ENGINE_API AGameStateBase : public AInfo
{
GENERATED_UCLASS_BODY()
public:
virtual bool CheckRemoteTalker(UAudioComponent* AudioComponent, const FUniqueNetId& RemoteTalkerId);
I can compile UE4, but I can’t compile the project with this function overridden.
Module.ShooterGame.2_of_6.cpp.obj :
error LNK2001: ??? ???
??? ““public: virtual bool __cdecl
AGameStateBase::CheckRemoteTalker(class
UAudioComponent *,class FUniqueNetId
const &)”
(?CheckRemoteTalker@AGameStateBase@@UEAA_NPEAVUAudioComponent@@AEBVFUniqueNetId@@@Z)”
3>Module.ShooterGame.gen.2_of_14.cpp.obj
: error LNK2001: ??? ???
??? ““public: virtual bool __cdecl
AGameStateBase::CheckRemoteTalker(class
UAudioComponent *,class FUniqueNetId
const &)”
(?CheckRemoteTalker@AGameStateBase@@UEAA_NPEAVUAudioComponent@@AEBVFUniqueNetId@@@Z)”
3>Module.ShooterGame.gen.7_of_14.cpp.obj
: error LNK2001: ??? ???
??? ““public: virtual bool __cdecl
AGameStateBase::CheckRemoteTalker(class
UAudioComponent *,class FUniqueNetId
const &)”
(?CheckRemoteTalker@AGameStateBase@@UEAA_NPEAVUAudioComponent@@AEBVFUniqueNetId@@@Z)”
3>D:\Downloads\Unreal
Projects\Gearstorm\Binaries\Win64\ShooterGame-Win64-DebugGame.exe
: fatal error LNK1120: ???
??? ???: 1
I guess ‘Unresolved external symbol’ is hiding under ‘???’. Anyways, is there something I should add into PublicDependencyModuleNames or what? I hate this ■■■■ error it’s been two years I’m trying to understand what does it want.
answers.unrealengine.com used to be pretty useful place, but I guess everyone moved to Unity and there is no active people here anymore and staff seems like only cares about epicsupport.force.com , but I can’t loose hope.