Skip to content

Commit

Permalink
Merge pull request #1579 from KieranCoppins/1575-Missed-State-Check
Browse files Browse the repository at this point in the history
Treat failed to load as unloaded sublevels Pt. 2
  • Loading branch information
kring authored Jan 17, 2025
2 parents d29e765 + afb80d8 commit b1afe02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ void UCesiumSubLevelSwitcherComponent::_updateSubLevelStateGame() {
*GetActorLabel(this->_pCurrent.Get()));
this->_isTransitioningSubLevels = true;
break;
case ELevelStreamingState::FailedToLoad:
case ELevelStreamingState::LoadedNotVisible:
case ELevelStreamingState::LoadedVisible:
UE_LOG(
Expand All @@ -235,6 +234,7 @@ void UCesiumSubLevelSwitcherComponent::_updateSubLevelStateGame() {
this->_isTransitioningSubLevels = true;
this->_pCurrent->UnloadLevelInstance();
break;
case ELevelStreamingState::FailedToLoad:
case ELevelStreamingState::Removed:
case ELevelStreamingState::Unloaded:
UE_LOG(
Expand Down

0 comments on commit b1afe02

Please sign in to comment.