diff --git a/Source/VAPlugin/Private/SignalSources/VAAudiofileSignalSource.cpp b/Source/VAPlugin/Private/SignalSources/VAAudiofileSignalSource.cpp index 02b74672ce4d48f26ef8d55a56f6b66df2fce84e..1db66181906ac86bde89566999ac87feb0df27b8 100644 --- a/Source/VAPlugin/Private/SignalSources/VAAudiofileSignalSource.cpp +++ b/Source/VAPlugin/Private/SignalSources/VAAudiofileSignalSource.cpp @@ -181,6 +181,10 @@ EPlayAction::Type UVAAudiofileSignalSource::GetPlayActionEnum(bool bDirectOnMast int UVAAudiofileSignalSource::GetPlayAction(bool bDirectOnMaster /*= false*/) { + if(!bInitialized) + { + return -1; + } //we return the internally stored action in case this is in cluster and not the master //but also update the internally stored data by the one which the master can get from the VAServer //However, using cluster events to sync, so new data might only be available next frame!