- Home /
Mobile/Particles/Additive Shader not showing in Android
Good day guys! My problem here is I have a shaped plane mesh that I'll use as an aura for my items. It works fine and shows in Editor but when I tried it on my Android device, it's not showing, only the item is showing and the aura is missing. I used Mobile/Particles/Additive Shader for this mesh. Does this have to do with my aura mesh being plane and not cube-like?
Please help me. Any help would be much appreciated. Thanks in advance. :)
EDIT: Here's a screenshot of what it looks like in Editor.
I tried it in both older and newer device (Lenevo gingerbread ver. and Samsung Galaxy Tab 3) but the aura rays is not showing. Only the pink object(supposedly a sock) is rendered. Even the camera rotates, my device can't get a glimpse of the aura rays mesh.
Unfortunately, I don't have enough detail to give a good answer, but I had to do a lot of tweaking with my Android game per device.
Is this happening on multiple devices, and are they modern or older? Also, can you post a screenshot?
Are you making a 2D type game? If so, it's possible that the plane is showing up at the same depth or behind the items. You could try reducing your camera far plane and increasing the camera near plane to get more resolution out of your depth buffer which would allow near-coplanar meshes to be closer together, or you could just bring the glow mesh closer to the camera.
Phenelo, what version of Unity are you running? Have you tried downloading the latest shaders? I just created a test scene with a cube with a standard $$anonymous$$obile->Diffuse shader attached and a Quad in front of that with a $$anonymous$$obile->Particles->Additive shader. It ran fine on my droid X (which is pretty old) and Nexus 7. Have you modified the shaders in any way? What texture size is your particle texture? Is it square? Is it imported as a square texture in the project? Is it a power of 2?
Answer by Taylor-Libonati · Mar 24, 2016 at 05:28 PM
For anyone still looking at this. I have found on Android / Gear VR that if I use a flat plane it will be invisible. I end up having to you a box with a tiny z amount to get around this. Not sure what causes this, but if you use a cube instead it should work.
Also be aware that a lot of the new Unity 5 shaders will cause problems on Android, at least at the time of me writing this. So you may need to try a different shader to get something to show up.
For anyone facing the same problem of Canvases being disappeared in Unity while building with google VR sdk, then please make a note that it is a known issue in Google VR Unity SD$$anonymous$$ v0.8. For Unity 5.3.4 and above this bug remains till now. So either downgrade your unity below 5.3.4 or for temporary purpose you can set "Distortion Correction" of $$anonymous$$ain Camera to "None" ins$$anonymous$$d of "Unity" (its default value). But setting this to none, may lead to deformation in your scene.