MD_UnsafeForConstructionScripts

Marks a UFUNCTION as unsafe for use in the UCS, which prevents it from being called from the UCS.

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h

Include

#include "EdGraphSchema_K2.h"

Syntax

static const FName MD_UnsafeForConstructionScripts;

Remarks

Marks a UFUNCTION as unsafe for use in the UCS, which prevents it from being called from the UCS. Useful for things that spawn actors, etc that should never happen in the UCS

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