Change the replication graph debug actor to a weak reference so it doesn't break seamless travel when pending kill is disabled

#jira UE-160144
#preflight 63c1a5b91a06fc6105ea79fc
#rb LouisPhilippe.Seguin

[CL 23682412 by ben zeigler in ue5-main branch]
This commit is contained in:
ben zeigler
2023-01-13 13:51:18 -05:00
parent 6fa5805f79
commit 932a637aa0
2 changed files with 7 additions and 7 deletions
@@ -1216,7 +1216,7 @@ public:
bool bEnableDebugging;
UPROPERTY()
TObjectPtr<class AReplicationGraphDebugActor> DebugActor = nullptr;
TWeakObjectPtr<class AReplicationGraphDebugActor> DebugActor;
/** Index of the connection in the global list. Will be reassigned when any client disconnects so it is a key that can be referenced only during a single tick */
int32 ConnectionOrderNum;