AActor::GetNetUpdateFrequency
#include "GameFramework/Actor.h"
Access: public
Specifiers: constUFUNCTION
Description
Returns the current rate (updates per second) at which this actor is considered for replication.
Caveats & Gotchas
- • The returned value is the desired frequency, not a guarantee — bandwidth saturation and priority scheduling can reduce the effective replication rate below this value.
- • Direct access to the underlying NetUpdateFrequency property was deprecated in UE 5.5; always use this getter rather than accessing the field directly if you need to maintain compatibility with future engine versions.
Signature
UFUNCTION(BlueprintGetter)
ENGINE_API float GetNetUpdateFrequency() const Return Type
float Example
Log the current net update frequency for debugging C++
void AMyActor::DebugNetStats() const
{
UE_LOG(LogTemp, Log, TEXT("%s net update freq: %.1f Hz"), *GetName(), GetNetUpdateFrequency());
} Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
| 5.5 | stable | Introduced as replacement for direct property access. |
Feedback
Was this helpful?