- Home /
Unity 4.3 particle System not visible in 2D Mode????
hi unity 4.3 particle system in not visible in 2D mode . there is also no soring mode for particle system like shuriken ? What can I do ? Am I missing something?
thanks for your reply.
you must realize there's no such thing as 2D mode.
you must have camera set to orthographic iirc, after that you see 3D in sorta 2D
but you'll still see everything
so I'm figureing out you have your camera too close to the objects on the scene just barelly so you can see them but particles go in 3D and you can't see them 1/2, ...
so I suggest you bring the camera back
I am having the same problem, I cannot get particles to display. Using the demo 2d platformer, placed a particle system in the scene. I can see them without problem in the scene editor, but in game mode, it's as if they aren't being generated (but they are).
Answer by mmarklar · Nov 23, 2013 at 02:57 PM
Take a look at these:
http://answers.unity3d.com/questions/577288/particle-system-rendering-behind-sprites.html http://forum.unity3d.com/threads/211406-Unity-4-3-Particles-and-Sorting-Layers-(-)
Answer by rm-square · Aug 22, 2014 at 06:17 PM
FIX!
None of the above helped me. It is really a camera disposition, even if hard to notice. Try: Set your Scene-View to 3D and check the position of the camera. In 2D it is highly possible that the camera is fixed to the bottom left of your screen.
What i did: Set x and y position of camera AND particle system to 0. Then set particle z-position to 300 and camera to -50. It was visible then.
Answer by ZenithCode · Apr 12, 2014 at 09:44 AM
Check out this plugin. It exposes the sorting layer properties on the Shuriken particle system.
[Disclaimer - Its my own plugin but its free right now]
"[Disclaimer - Its my own plugin but its free right now]"
...well, in the event that he decides to try selling it ins$$anonymous$$d, just use this as opposed to wasting money to perform simple tasks:
// Set the sorting layer of the particle system.
particleSystem.renderer.sortingLayerName = "foreground";
particleSystem.renderer.sortingOrder = 2;
Answer by Relja-Trajkovic · Jul 29, 2014 at 08:39 AM
I found a solution that worked for me. When working with sprites, I opened Sorting layers options and saw that there are 7 builtin sorting layers:
0 is default 1 is transparent FX
Particles are transparent FX. And all the sprites that you want your particles to be in front of must be at sorting layers lower than 1. Fortunately, negative values are possible so I've put my sprites to -1, -2 etc. It worked right away.
Answer by mujpir · Nov 21, 2013 at 10:04 AM
@sdgd thanks for your replay . I am sure that my camera is positioned properly . For now I write a script that get particles of Shuriken particle system using particleSystem.GetPartcle() then I iterate through each particle and position an spriteRenderer that was instantiated at start up of the game to that particle and it worked.
This is not a real answer, why did you mark it as solved? The problem hasn't been solved.
Your answer
Follow this Question
Related Questions
Make a sprite black and white. 2 Answers
2D object flickers when it is in high speed in Unity 4.3 0 Answers
Cut sprite for 2d Game 0 Answers
Crushy Bird Game Doubt 1 Answer
Multiplayer Pong Game 0 Answers