From 9adf16d940de6b121b6379e5eb1dae6d5682412c Mon Sep 17 00:00:00 2001 From: Kevin Ring Date: Wed, 6 Nov 2024 17:11:10 +1100 Subject: [PATCH] Fix assertion failure when exiting PIE. --- Source/CesiumRuntime/Private/CesiumSunSky.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/CesiumRuntime/Private/CesiumSunSky.cpp b/Source/CesiumRuntime/Private/CesiumSunSky.cpp index 6d24f79c7..4f09410e8 100644 --- a/Source/CesiumRuntime/Private/CesiumSunSky.cpp +++ b/Source/CesiumRuntime/Private/CesiumSunSky.cpp @@ -224,6 +224,8 @@ void ACesiumSunSky::EndPlay(const EEndPlayReason::Type EndPlayReason) { this->_transformUpdatedSubscription); this->_transformUpdatedSubscription.Reset(); } + + Super::EndPlay(EndPlayReason); } void ACesiumSunSky::Serialize(FArchive& Ar) {