[Backout] - CL31986565

[FYI] Tim.Smith
Original CL Desc
-----------------------------------------------------------------
Fixed verse build phase to happen after new UObjects have been registered in the engine.  Wrong delegate was being used causing the build to happen prior to UObject definitions in some instances.

#rb Markus.Breyer

[CL 31992544 by tim smith in ue5-main branch]
This commit is contained in:
tim smith
2024-03-04 12:47:35 -05:00
parent af635292fc
commit bb82c364fa
2 changed files with 4 additions and 0 deletions

View File

@@ -4398,8 +4398,10 @@ bool FEngineLoop::LoadCoreModules()
{
// Always attempt to load CoreUObject. It requires additional pre-init which is called from its module's StartupModule method.
#if WITH_COREUOBJECT
#if USE_PER_MODULE_UOBJECT_BOOTSTRAP // otherwise do it later
// Always register the UObjects callback for VNI and general consistency with the callbacks ProcessNewlyLoadedUObjects calls.
RegisterProcessNewlyLoadedUObjects();
#endif
return FModuleManager::Get().LoadModule(TEXT("CoreUObject")) != nullptr;
#else
return true;