UUTT61_DebugReplicateData

Implements UTT GameplayDebuggingComponent/ServerReplicateData crash

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NUTUnrealEngine4

Header

/Engine/Plugins/NetcodeUnitTest/NUTUnrealEngine4/Source/NUTUnrealEngine4/Classes/UnitTests/Obsolete/UTT61_DebugReplicateData.h

Include

#include "UnitTests/Obsolete/UTT61_DebugReplicateData.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UUTT61_DebugReplicateData : public UClientUnitTest

Remarks

Implements UTT GameplayDebuggingComponent/ServerReplicateData crash

Command: UTT -b 61 127.0.0.1

Documentation from Luigi:

  • TEST VULNERABILITY: ServerReplicateData array overflow

07 May 2014 ServerReplicateData array overflow

The ServerReplicateMessageToAIDebugView function used for some debugging features is affected by an array overflow with the InMessages: ActivateDataView and DeactivateDataView.

This is the same function that was affected by the bug 55 reported the 27 March, anyway remember that it's NOT used in shipping builds.

Variables

Name Description

Protected variable

UClass *

 

RepClass

Reference to the GameplayDebuggingReplicator class

Constructors

Name Description

Public function

UUTT61_DebugReplicateData

(
    const FObjectInitializer& ObjectIn...
)

UUTT61_DebugReplicateData

Overridden from UClientUnitTest

Name Description

Public function Virtual

void

 

ExecuteClientUnitTest()

Interface and hooked events for client unit tests Override this, to implement the client unit test NOTE: Should be called last, in overridden functions IMPORTANT: EndUnitTest should be triggered, upon completion of the unit test (which may be delayed, for many unit tests)

Public function Virtual

void

 

NotifyAllowNetActor

(
    UClass* ActorClass,
    bool bActorChannel,
    bool& bBlockActor
)

Notification triggered BEFORE a replicated actor has been created (allowing you to block creation, based on class)

Public function Virtual

void

 

NotifyNetActor

(
    UActorChannel* ActorChannel,
    AActor* Actor
)

Override this, to receive notification AFTER an actor channel actor has been created

Overridden from UProcessUnitTest

Name Description

Public function Virtual

void

 

NotifyProcessLog

(
    TWeakPtr< FUnitTestProcess > InProc...,
    const TArray< FString >& InLogLine...
)

Interface for process unit tests For implementation in subclasses, for helping to verify success/fail upon completion of unit tests NOTE: Not called again once VerificationState is set WARNING: Be careful when iterating InLogLines in multiple different for loops, if the sequence of detected logs is important

Overridden from UUnitTest

Name Description

Public function Virtual

void

 

InitializeEnvironmentSettings()

Finishes initializing unit test settings, that rely upon the current unit test environment being loaded

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss