- Home /
Particle System NOT showing in game view DUE to canvas elements
I added a particle system to my scene which had a canvas with an image and 2 buttons.But the particle system in being blocked by them irrespective of the z position of the particle system of the camera.However when I disable the image the particles are seen in the game view. I tried making it a child of the canvas and assigning it a new rendering layer but the problem persists. Pleaase helpalt text
Your canvas could be set to overlay try setting the render mode to "Screen Space - Camera" & adjust the "Order in Layer" for what's suitable for you. Also adjust the "Order in Layer" in the particle system in the last option named "Renderer". Hope this solves your issue.
Answer by sir_rohit · Jul 17, 2020 at 06:00 PM
This was in the comments : "Your canvas could be set to overlay try setting the render mode to "Screen Space - Camera" & adjust the "Order in Layer" for what's suitable for you. Also adjust the "Order in Layer" in the particle system in the last option named "Renderer". Hope this solves your issue"
Changing the order in layer in Render Solved the issue. Thanks Mate @Cookiemonster04
Answer by arghyadutta · Sep 12, 2021 at 04:57 PM
same problem was resolved by setting canvas --> Render Mode to Screen Space - Camera also these were required
In Particle System Renderer
Sorting fudge : -100
order in layer : 1 ( or any value other than zero depending on your layers)
in code :
partSys.Simulate(1);
partSys.Play(true);
Changing render modes means completely redesigning your UI elements. This is not a solution.