FNiagaraCompileHashVisitor::UpdateReference

We don't usually want to save GUID's or pointer values because they have nondeterministic values.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraTypes.h

Include

#include "NiagaraTypes.h"

Syntax

bool UpdateReference
(
    const TCHAR * InDebugName,
    const void * InObject
)

Remarks

We don't usually want to save GUID's or pointer values because they have nondeterministic values. Consider a PostLoad upgrade operation that creates a new node. Each pin and node gets a unique ID. If you close the editor and reopen, you'll get a different set of values. One of the characteristics we want for compilation behavior is that the same graph structure produces the same compile results, so we only want to embed information that is deterministic. This method is for use when registering a pointer to an object that is serialized within the compile hash.

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