Should I do something more than just include the Voice.h in my build to get it? See below:
#include "CleanThirdPerson.h"
#include "RecordMicAudio.h"
#include "Voice.h" //Causes error
#include "OnlineSubsystemUtils.h"
Should I do something more than just include the Voice.h in my build to get it? See below:
#include "CleanThirdPerson.h"
#include "RecordMicAudio.h"
#include "Voice.h" //Causes error
#include "OnlineSubsystemUtils.h"
If it’s an engine file, personally, I always include it by the full path, so there’s no confusing.
E.g. #include “Runtime/Online/OnlineSubsystem/Public/Interfaces/OnlineSessionInterface.h”
It’s also quite helpful if you go back to your code, you know exactly where and what you’re including. And generally why.