MD_UnsafeForConstructionScripts

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

Unreal Engine C++ API Reference > Editor > BlueprintGraph > FBlueprintMetadata

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h
Include #include "EdGraphSchema_K2.h"

Syntax

static const [FName](API\Runtime\Core\UObject\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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library