- Home /
Strange Camera/Particle Effect Issue (effect rendered twice)
I'm having a weird issue at the moment, I am instantiating a plasma ball effect on my spaceship and firing it towards an enemy ship. This works fine however for some reason I can see the particle effect render directly in front of the camera and fly off the screen at the same time I can see it shoot from the ship. This is the best screen grab I've managed to get of it:
I am using NGUI which I think might be part of the problem but I have no idea how to fix it. Also I have found if i remove the particle effect and just use a sphere this does not happen. Anyone have an idea of whats going on?
Answer by sumit9236 · Oct 11, 2014 at 01:56 PM
I am not conform but your problem is related with culling mask of camera.Your instantiate object is render in ngui camera(Orthographic).You will try to change layer of gameobject or culling mask of camera.