I’m trying to follow the Unity Space Shooter Tutorial and I have run into a problem with getting the Bolts to destroy when they leave the area. I followed the tutorial and created a 3d Box to start off which lead to deleting the mesh sections. And I also tried creating a blank GameObject and simply adding the Box Collider and Script components to it and that did not destroy the bolts once they left. I made sure “is Trigger” was selected in the Box Collider and I made sure the Bolts were being spawned inside the box. My code is the same as the tutorial. Otherwise I am at a loss as to why the Bolts are not despawning or being destroyed.
Any ideas or help would be appreciated.