FUObjectArray::ResetSerialNumber

Reset the serial number from the game thread to invalidate all weak object pointers to it

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectArray.h

Include

#include "UObject/UObjectArray.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectArray.cpp

Syntax

void ResetSerialNumber
(
    UObjectBase * Object
)

Remarks

Reset the serial number from the game thread to invalidate all weak object pointers to it

Parameters

Parameter

Description

Object

to reset