Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed build error for UE 5.3.2 #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
<Property Name="LocalBinaryDir" Value="$(RootDir)\Engine\Restricted\NotForLicensees\Binaries\$(MayaPlatform)\Maya"/>
<Property Name="LocalExtraDir" Value="$(RootDir)\Engine\Restricted\NotForLicensees\Extras\MayaUnrealLiveLinkPlugin"/>

<Node Name="Compile UnrealHeaderTool Maya">
<Compile Target="UnrealHeaderTool" Platform="$(MayaPlatform)" Configuration="$(BuildTarget)" Arguments="-precompile -nodebuginfo"/>
</Node>

<Node Name="Compile Maya $(MayaVersion)" Requires="Compile UnrealHeaderTool Maya">
<Node Name="Compile Maya $(MayaVersion)">
<Compile Target="MayaUnrealLiveLinkPlugin$(MayaVersion)" Platform="$(MayaPlatform)" Configuration="$(BuildTarget)" Arguments="-noxge"/>
<Copy From="$(LocalSourceDir)\MayaUnrealLiveLinkPlugin.mod" To="$(LocalBinaryDir)\MayaUnrealLiveLinkPlugin.mod" />
</Node>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2478,7 +2478,7 @@ void OnPlaybackRangeChanged(void* ClientData)
if (DetectIdleEvent.IsValid())
{
DetectIdleEvent->Stop();
DetectIdleEvent.Release();
DetectIdleEvent.Reset();
}

// Start the worker thread that will wait for additional user input before rebuilding the subjects
Expand Down Expand Up @@ -2700,7 +2700,7 @@ MStatus initializePlugin(MObject MayaPluginObject)
*/
MStatus uninitializePlugin(MObject MayaPluginObject)
{
DetectIdleEvent.Release();
DetectIdleEvent.Reset();

// Get the plugin API for the plugin object
MFnPlugin MayaPlugin(MayaPluginObject);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include "MLiveLinkPropSubject.h"
#include "../MayaLiveLinkStreamManager.h"
#include "MayaUnrealLiveLinkPlugin/MayaUnrealLiveLinkUtils.h"
#include "../MayaUnrealLiveLinkUtils.h"
#include "LiveLinkTypes.h"
#include "Roles/MayaLiveLinkTimelineTypes.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ void UnrealInitializer::InitializeUnreal()
// Load UdpMessaging module needed by message bus.
FModuleManager::Get().LoadModule(TEXT("UdpMessaging"));

IPluginManager::Get().LoadModulesForEnabledPlugins(ELoadingPhase::PreDefault);
IPluginManager::Get().LoadModulesForEnabledPlugins(ELoadingPhase::Default);
IPluginManager::Get().LoadModulesForEnabledPlugins(ELoadingPhase::PostDefault);

InitializedOnce = true;
}

Expand Down