FPluginUtils::ValidateNewPluginNameAndLocation

Validate that the plugin name is valid, that the name isn't already used by a registered plugin and optionally that there isn't an unregistered plugin with that name that exists at the specified location.

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 bool ValidateNewPluginNameAndLocation
(
    const FString & PluginName,
    const FString & PluginLocation,
    FText * FailReason
)

Remarks

Validate that the plugin name is valid, that the name isn't already used by a registered plugin and optionally that there isn't an unregistered plugin with that name that exists at the specified location.

Parameters

Parameter

Description

PluginName

Plugin name

PluginLocation

Optional directory in which to look for a plugin that might not be registered

FailReason

Optional output text describing why the validation failed

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