UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ObjectReferenceCache.cpp File Reference

Namespaces

namespace  UE
 
namespace  UE::Net
 
namespace  UE::Net::Private
 

Macros

#define UE_NET_VALIDATE_REFERENCECACHE   0
 
#define UE_NET_OBJECTREFERENCECACHE_ASYNCLOAD_DEBUG   !(UE_BUILD_SHIPPING)
 
#define UE_NET_REFERENCECACHE_LOG_COMPILE_VERBOSITY   All
 
#define UE_LOG_REFERENCECACHE(Verbosity, Format, ...)   UE_LOG(LogIrisReferences, Verbosity, Format, ##__VA_ARGS__)
 
#define UE_CLOG_REFERENCECACHE(Condition, Verbosity, Format, ...)   UE_CLOG(Condition, LogIrisReferences, Verbosity, Format, ##__VA_ARGS__)
 
#define UE_NET_CLEANUP_REFERENCES_WITH_DYNAMIC_OUTER   0
 

Functions

 DEFINE_LOG_CATEGORY_STATIC (LogIrisReferences, Log, UE_NET_REFERENCECACHE_LOG_COMPILE_VERBOSITY)
 

Variables

FAutoConsoleVariableRef UE::Net::Private::CVarIrisAllowAsyncLoading (TEXT("net.iris.AllowAsyncLoading"), bIrisAllowAsyncLoading, TEXT("Flag to allow or disallow async loading when using iris replication. Note: net.allowAsyncLoading must also be enabled."), ECVF_Default)
 
FAutoConsoleVariableRef UE::Net::Private::CVarIrisAsyncLoadingFailPackageName (TEXT("net.Iris.AsyncLoading.FailPackageName"), IrisAsyncLoadingFailPackageName, TEXT("Always fail loading the specified package name. For debugging purposes."), ECVF_Default)
 
FAutoConsoleVariableRef UE::Net::Private::CVarIrisAsyncLoadingFailNextLoad (TEXT("net.Iris.AsyncLoading.FailNextLoad"), bIrisAsyncLoadingFailNextLoad, TEXT("Simulate failing the next async loading request. For debugging purposes."), ECVF_Default)
 
FAutoConsoleVariableRef UE::Net::Private::CVarIrisAsyncLoadingFailAllLoads (TEXT("net.Iris.AsyncLoading.FailAllLoads"), bIrisAsyncLoadingFailAllLoads, TEXT("Simulate failing all async loading requests. For debugging purposes."), ECVF_Default)
 
FAutoConsoleVariableRef UE::Net::Private::CVarIrisEnableRemoveReferenceFallbackPath (TEXT("net.iris.ObjectReferenceCache.EnableRemoveReferenceFallbackPath"), bIrisEnableRemoveReferenceFallbackPath, TEXT("Whether to enable the slow fallback path or not when ObjectReferenceCache::RemoveReference is passed a null pointer object."), ECVF_Default)
 

Macro Definition Documentation

◆ UE_CLOG_REFERENCECACHE

#define UE_CLOG_REFERENCECACHE (   Condition,
  Verbosity,
  Format,
  ... 
)    UE_CLOG(Condition, LogIrisReferences, Verbosity, Format, ##__VA_ARGS__)

◆ UE_LOG_REFERENCECACHE

#define UE_LOG_REFERENCECACHE (   Verbosity,
  Format,
  ... 
)    UE_LOG(LogIrisReferences, Verbosity, Format, ##__VA_ARGS__)

◆ UE_NET_CLEANUP_REFERENCES_WITH_DYNAMIC_OUTER

#define UE_NET_CLEANUP_REFERENCES_WITH_DYNAMIC_OUTER   0

◆ UE_NET_OBJECTREFERENCECACHE_ASYNCLOAD_DEBUG

#define UE_NET_OBJECTREFERENCECACHE_ASYNCLOAD_DEBUG   !(UE_BUILD_SHIPPING)

◆ UE_NET_REFERENCECACHE_LOG_COMPILE_VERBOSITY

#define UE_NET_REFERENCECACHE_LOG_COMPILE_VERBOSITY   All

◆ UE_NET_VALIDATE_REFERENCECACHE

#define UE_NET_VALIDATE_REFERENCECACHE   0

Function Documentation

◆ DEFINE_LOG_CATEGORY_STATIC()

DEFINE_LOG_CATEGORY_STATIC ( LogIrisReferences  ,
Log  ,
UE_NET_REFERENCECACHE_LOG_COMPILE_VERBOSITY   
)