ULevelEditorSubsystem::LoadLevel

Close the current Persistent Level (without saving it). Loads the specified level.

Unreal Engine C++ API Reference > Editor > LevelEditor > ULevelEditorSubsystem

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/LevelEditorSubsystem.h
Include #include "LevelEditorSubsystem.h"
Source /Engine/Source/Editor/LevelEditor/Private/LevelEditorSubsystem.cpp
bool LoadLevel
(
    const [FString](API\Runtime\Core\Containers\FString) & AssetPath
)

Remarks

Close the current Persistent Level (without saving it). Loads the specified level. True if the operation succeeds.

Parameters

Name Description
AssetPath Asset Path of the level to be loaded. ie. /Game/MyFolder/MyAsset

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library