diff --git a/Source/Private/MobuLiveLinkDevice.cpp b/Source/Private/MobuLiveLinkDevice.cpp index 93592d10..2811f926 100644 --- a/Source/Private/MobuLiveLinkDevice.cpp +++ b/Source/Private/MobuLiveLinkDevice.cpp @@ -515,7 +515,7 @@ void FMobuLiveLink::StartLiveLink() } -void FMobuLiveLink::StopLiveLink() +void FMobuLiveLink::() { TickCoreTicker(); if (LiveLinkProvider.IsValid()) @@ -703,13 +703,16 @@ void FMobuLiveLink::SetUnicastEndpoint(const FString& InEndpoint) { if (IModularFeatures::Get().IsModularFeatureAvailable(INetworkMessagingExtension::ModularFeatureName)) { - StopLiveLink(); + if (Online){ + StopLiveLink(); + } UUdpMessagingSettings* Settings = GetMutableDefault(); Settings->UnicastEndpoint = InEndpoint; INetworkMessagingExtension& NetworkExtension = IModularFeatures::Get().GetModularFeature(INetworkMessagingExtension::ModularFeatureName); NetworkExtension.RestartServices(); - - StartLiveLink(); + if (Online){ + StartLiveLink(); + } SetRefreshUI(true); } }