I’m currently building a game using Screen Mesh.
But I’m getting a crash.
if (!CaptureComp->IsValidLowLevelFast() || CaptureComp->IsPendingKillEnabled())
{
UE_LOG(LogTemp, Error, TEXT("GetSceneCaptureMatrices: CaptureComp is invalid or pending kill"));
return false;
}
IsPendingKillEnabled() in the above code portion, which is processed as False.
I’m building a ScreenMesh that shoots a Projectile and fires a Hit Event to hit an Actor in another room.
It seems to be generating properly, as does the Plane. Why is this happening?
I think Chatgpt is saying that the Capture Scene 2D is deleted when the Projectile collides with the Plane.
Is there a good place to use the Destroy() function or. I don’t see a case where it could be
pls help…
And if there’s a better way…
please make suggestions… Please.