Hi,
I’m wondering why the protection we do in this lesson does not actually protect Unreal from crashing. The protection code we added was:
if (!LeftTrackToSet || !RightTrackToSet)
{
return;
}
If we remove Left Track or Right Track references from the Initialize method in the Tank_BP Event Blueprint, then Unreal crashes on playtime. Wasn’t the point of this code to prevent crashing if one of the tracks references was missing???