Space Shooter: Bolts not destroying when exiting trigger box

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.

unless you copy/pasted it from the tutorial page there is a chance it’s not and you’re not seeing the difference, best to post what you have.

I did copy and paste the script from the tutorial to make sure it wasn’t that kind of error. I saved my progress and restarted by program and looked in the directory for the script and saw that it did not save the code. Once I put in the code (copy/paste) it seemed to work. The Bolts are being destroyed but not being deleted permanently in the hierarchy.