UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EEndPlayReason Namespace Reference

Enumerations

enum  Type : int {
  Destroyed , LevelTransition , EndPlayInEditor , RemovedFromWorld ,
  Quit
}
 

Detailed Description

Specifies why an actor is being deleted/removed from a level

Enumeration Type Documentation

◆ Type

Enumerator
Destroyed 

When the Actor or Component is explicitly destroyed.

LevelTransition 

When the world is being unloaded for a level transition.

EndPlayInEditor 

When the world is being unloaded because PIE is ending.

RemovedFromWorld 

When the level it is a member of is streamed out.

Quit 

When the application is being exited.