UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Mass::Command Namespace Reference

Classes

struct  FGroupEntities
 
struct  TCommandTraits
 
struct  TCommandTraits< FMassCommandAddElement >
 

Variables

bool bLockObserversDuringFlushing = false
 
FAutoConsoleVariableRef CVarLockObserversDuringFlushing (TEXT("mass.commands.LockObserversDuringFlushing"), bLockObserversDuringFlushing, TEXT("Controls whether observers will get locked during commands flushing."), ECVF_Default)
 

Variable Documentation

◆ bLockObserversDuringFlushing

bool UE::Mass::Command::bLockObserversDuringFlushing = false

Note that we default to false because the correctness of the feature's behavior depends on use cases. If there are no observers watching fragment removal, everything will be great. If not, enabling the feature will result in the data removed no longer being available when the removal-observers get triggered upon lock's release

◆ CVarLockObserversDuringFlushing

FAutoConsoleVariableRef UE::Mass::Command::CVarLockObserversDuringFlushing(TEXT("mass.commands.LockObserversDuringFlushing"), bLockObserversDuringFlushing, TEXT("Controls whether observers will get locked during commands flushing."), ECVF_Default) ( TEXT("mass.commands.LockObserversDuringFlushing")  ,
bLockObserversDuringFlushing  ,
TEXT("Controls whether observers will get locked during commands flushing.")  ,
ECVF_Default   
)