From c10b326831e944805c90518ca84c504b42e80e38 Mon Sep 17 00:00:00 2001 From: Joshua Huburn Date: Tue, 8 Oct 2019 22:02:59 +0100 Subject: [PATCH] Remove uneeded check which can crash when an actor channel which is pending dormancy has a deleted actor --- SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialReceiver.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialReceiver.cpp b/SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialReceiver.cpp index 2d98dd6c14..e72c31d50b 100644 --- a/SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialReceiver.cpp +++ b/SpatialGDK/Source/SpatialGDK/Private/Interop/SpatialReceiver.cpp @@ -1700,7 +1700,6 @@ bool USpatialReceiver::IsPendingOpsOnChannel(USpatialActorChannel* Channel) // Don't allow Actors to go dormant if they have any pending operations waiting on their channel check(Channel); - check(Channel->Actor); for (const auto& UnresolvedRef : UnresolvedRefsMap) {