Trying to setup a LiveLink MessageBus connection.
Seem to be stuck at getting the available providers.
Works fine in BP so i know i have a proper livelink connection coming in from my DCC.
ProviderList keeps returning 0.
#include "LiveLinkMessageBusFinder.h"
PingProviderDuration = .2f;
ULiveLinkMessageBusFinder* MessageBus =
ULiveLinkMessageBusFinder::ConstructMessageBusFinder();
if (MessageBus)
{
//Get avail Providers
TArray<FProviderPollResult> ProviderList;
struct FLatentActionInfo LatentInfo;
MessageBus->GetAvailableProviders(this, LatentInfo, PingProviderDuration,ProviderList);
if (ProviderList.Num()==0)
{
UE_LOG(LogTemp, Warning,TEXT("No LiveLink Providers Found, Check Connection..."));
return;
}
}
This would be the BP Equivalent: