You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[Backout] - CL18344116
[FYI] JeanFrancois.Dube Original CL Desc ----------------------------------------------------------------- World Partition: set the AsyncLoading flag on the dynamic level package to ensure it's not discoverable while streaming. This fixes the case where the replication code was resolving an incomplete cell package and failed replication of non-streamed actors. #rb patrick.enfedaque, richard.malo #ROBOMERGE-AUTHOR: michael.noland #ROBOMERGE-SOURCE: CL 18347411 in //UE5/Release-5.0/... via CL 18347424 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469) [CL 18347436 by michael noland in ue5-release-engine-test branch]
This commit is contained in:
@@ -192,9 +192,6 @@ bool UWorldPartitionLevelStreamingDynamic::RequestLevel(UWorld* InPersistentWorl
|
||||
|
||||
if (IssueLoadRequests())
|
||||
{
|
||||
// Make sure this package isn't discoverable until it is fully loaded
|
||||
CellLevelPackage->SetInternalFlags(EInternalObjectFlags::AsyncLoading);
|
||||
|
||||
// Editor immediately blocks on load and we also block if background level streaming is disabled.
|
||||
if (InBlockPolicy == AlwaysBlock || (ShouldBeAlwaysLoaded() && InBlockPolicy != NeverBlock))
|
||||
{
|
||||
@@ -348,9 +345,6 @@ void UWorldPartitionLevelStreamingDynamic::FinalizeRuntimeLevel()
|
||||
}
|
||||
}
|
||||
|
||||
// Now that the loading is done, clear the async loading flag so this level is discoverable
|
||||
RuntimePackage->ClearInternalFlags(EInternalObjectFlags::AsyncLoading);
|
||||
|
||||
SetLoadedLevel(RuntimeLevel);
|
||||
|
||||
// Broadcast level loaded event to blueprints
|
||||
|
||||
Reference in New Issue
Block a user