FPluginUtils::MountPlugin

Load/mount the specified plugin.

Windows
MacOS
Linux

References

Module

PluginUtils

Header

/Engine/Plugins/Developer/PluginUtils/Source/PluginUtils/Public/PluginUtils.h

Include

#include "PluginUtils.h"

Source

/Engine/Plugins/Developer/PluginUtils/Source/PluginUtils/Private/PluginUtils.cpp

Syntax

static TSharedPtr< IPlugin > MountPlugin
(
    const FString & PluginName,
    const FString & PluginLocation,
    const FMountPluginParams & MountParams,
    FText & FailReason
)

Remarks

Load/mount the specified plugin.

Returns

The mounted plugin or null on failure

Parameters

Parameter

Description

PluginName

Plugin name

PluginLocation

Directory that contains the plugin folder @note the plugin search path will get updated if necessary

MountParams

Plugin mounting parameters

FailReason

Reason the plugin failed to load

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss