Seek back to the previous position on early exit.

#rb francis.hurteau, matt.peters

[CL 27359254 by patrick boutot in ue5-main branch]
This commit is contained in:
patrick boutot
2023-08-24 17:19:07 -04:00
parent c97a8c7224
commit c2b63de0e4

View File

@@ -4487,6 +4487,7 @@ void FLinkerLoad::Preload( UObject* Object )
// sure to force load this later)
check(!GEventDrivenLoaderEnabled || !EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME);
Object->SetFlags(RF_NeedLoad);
Seek(SavedPos);
return;
}
#endif // USE_CIRCULAR_DEPENDENCY_LOAD_DEFERRING