UI / Image Shaders not working on Android / Mobile.
-
I've been using a bunch of my shaders on my UI, they work fine on desktop. But when I export to mobile / android they no longer work? Just wondering if they are meant too? If so can you please let me know how to fix. To clarify just nothing comes up where the shader should be.
-
Hi,
What device did you use for the test ?
it's possible that some effects may not work on low-end device.
-
It's a Samsung S8+ the same shaders will work on sprites, just not on the images. I did a workaround for one of them by having the effect on a sprite than having a camera to a render texture on an image. But still have a lot of them not working.
-
In order to understand what is causing the issue, did you test the demo scene available on the asset
as you can see on this following video (at 1:05), it's work on mobile
Shadero Sprite for Unity – 01:57
— VetasoftAlso to reproduce the same error, could you tell us what nodes did you use ?
-
Just tested, they work except the card. This is on an S8+ though so isn't an old device?
-
Hello, any updates on this?
-
Hi, pixelpaste
Sorry for the delay we will look at this issue on a real S8+ device.
however, can you send to use your shader, we will try to solve directly the issue.
-
Okay, Perhaps you could make some Image UI shaders you know that work on mobile and I could test too. As your examples are all sprites. Here is one of the shaders https://www.dropbox.com/sh/dsp5r0h1e4ok77m/AABJlfZGXe5KLUtzbRsQWpd0a?dl=0 Works like this
made up with three UI images one with confetti material the other two with confetti 1. Shows blank like the other shaders on mobile.I'm in Unity 2018.1.1f1 Using the latest Android Sdk, Also using screen space overlay for UI canvas.
-
Edit: Found the solution, with no help to Vetasoft :white_frowning_face:
The shaders don't work on Screen Space Overlay on android, the depth is thrown off and ends up behind everything. Can this please get fixed.
-
Hi Pixelpaste,
Sorry for not helping sooner,
We are back in the office now. Glad you have found the solution by yourself.
We will look at this issue and hope to found a solution for the next upcoming release.
Best Regards,
Vetasoft
-
Is there an ETA on the fix? Seems to still be a problem in the latest version.
-
Friendly Bump
-
Hi pixelpaste,
We just set a dev to check what is causing this issue, it's possible to have some more info about your scene and your UI Canvas ?
We trully want to solve this issue
-
Hey Thanks Guys!
After quite a bit of debugging, I think I have found that it is another effect I have that must be affecting it. I'm using the Unity Standard Image Effect Sun Shafts. https://docs.unity3d.com/540/Documentation/Manual/script-SunShafts.html which seems to be causing the issue. Would you happen to know why they would be making your shaders depth go behind everything? Here is the source file for it. https://www.dropbox.com/s/fr4r663zxyi4q4c/Sunshafts.zip?dl=0
-
Hi,
The problem as been found and solve in the version 1.9.3
Best Regards,
Vetasoft
-
Hi,
The problem as been found and solve in the version 1.9.3
Best Regards,
Vetasoft
-
THANK YOU! :)