FStreamLevelAction::MakeSafeLevelName

Given a level name, returns level name that will work with Play on Editor or Play on Console

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/LevelStreaming.h

Include

#include "Engine/LevelStreaming.h"

Source

/Engine/Source/Runtime/Engine/Private/LevelStreaming.cpp

Syntax

static FString MakeSafeLevelName
(
    const FName & InLevelName,
    UWorld * InWorld
)

Remarks

Given a level name, returns level name that will work with Play on Editor or Play on Console

Given a level name, returns a level name that will work with Play on Editor or Play on Console

Parameters

Parameter

Description

InLevelName

Raw level name (no UEDPIE or UED prefix)

InLevelName

Raw level name (no UEDPIE or UED prefix)

InWorld

World in which to check for other instances of the name

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