RealDocs

FSoftObjectPath::ClearPIEPackageNames

function CoreUObject Since unknown
#include "UObject/SoftObjectPath.h"
Access: public Specifiers: static

Description

Clears the global set of registered PIE package names, typically called when a PIE session ends to prevent stale fixup state.

Caveats & Gotchas

  • This is a global operation affecting every subsequent FixupForPIE call in the process. Calling it while a PIE session is still active will break soft-path resolution for the remainder of that session.
  • The editor calls this automatically on PIE end; you only need to call it manually if you manage your own PIE lifecycle outside of the standard editor flow.

Signature

static COREUOBJECT_API void ClearPIEPackageNames()

Return Type

void

Example

Clean up PIE state on session end C++
// In a custom PIE lifecycle manager
void UMyPIEManager::OnPIEEnded()
{
    FSoftObjectPath::ClearPIEPackageNames();
}

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.