13 static_cast<uint8
>(EActorSpawnResultStatus::SIZE) == 4u,
14 "If you add a new status, please update this function.");
18 case EActorSpawnResultStatus::Success:
19 return TEXT(
"Success");
20 case EActorSpawnResultStatus::InvalidDescription:
21 return TEXT(
"Spawn failed because of invalid actor description");
22 case EActorSpawnResultStatus::Collision:
23 return TEXT(
"Spawn failed because of collision at spawn position");
24 case EActorSpawnResultStatus::UnknownError:
26 return TEXT(
"Unknown error while trying to spawn actor");