Machine gun muzzle_flash will not show in game

I am new to Unity and have been following this tutorial on youtube :

Create a FPS Game in Unity 3D #2 - Adding Skyboxes and Weapons - YouTube

I got to 2:20 in the video and followed EVERY step from there on how to add a gun and muzzle flash but when I shoot in game the muzzleflash only shows in the scene and not in the game window. I took a screenshot of every child that i added to the parent main camera so maybe someone could see a wrong setting or something inside of the inspector.

Main Camera : http://i859.photobucket.com/albums/ab157/scantace/dasfdfdasf/bandicam2011-10-0918-51-43-984.jpg?t=

Weapons : http://i859.photobucket.com/albums/ab157/scantace/dasfdfdasf/bandicam2011-10-0918-51-48-359.jpg

macine gun (i know its spelt wrong) : http://i859.photobucket.com/albums/ab157/scantace/dasfdfdasf/bandicam2011-10-0918-51-51-531.jpg

machineGun : http://i859.photobucket.com/albums/ab157/scantace/dasfdfdasf/bandicam2011-10-0918-51-55-187.jpg

Muzzle_flash : http://i859.photobucket.com/albums/ab157/scantace/dasfdfdasf/bandicam2011-10-0918-52-00-500.jpg

Also i have not added the sparks animation from the video tutorial yet until i can get this figured out :slight_smile: I got all of these project folders from the island demo and FPS_Tutorial off the unity website. AND if i cant find a solution for this yet would it be alright to just continue the tutorial and work on this issue later?

Try scaling and moving it around to see if it's being hidden by the gun. It looks kind of small...

1 Answer

1

Make sure your camera’s viewing frustum i.e the near clip plane and far clip planes are rendering the muzzle flash. The muzzle flash might be too close to your camera, make the near clip plane smaller.