UNetDriver::NotifyActorLevelUnloaded

Called when an actor is being unloaded during a seamless travel or do due level streaming The main point is that it calls the normal NotifyActorDestroyed to destroy the channel on the server but also removes the Actor reference, sets broken flag, and cleans up actor class references on clients.

Windows
MacOS
Linux

Override Hierarchy

UNetDriver::NotifyActorLevelUnloaded()

UDemoNetDriver::NotifyActorLevelUnloaded()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetDriver.h

Include

#include "Engine/NetDriver.h"

Source

/Engine/Source/Runtime/Engine/Private/NetDriver.cpp

Syntax

virtual void NotifyActorLevelUnloaded
(
    AActor * Actor
)

Remarks

Called when an actor is being unloaded during a seamless travel or do due level streaming The main point is that it calls the normal NotifyActorDestroyed to destroy the channel on the server but also removes the Actor reference, sets broken flag, and cleans up actor class references on clients.

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