- Home /
Unity 5 UI Mask and Android (Tegra 4)
OK, I know this has been asked already, but I have not seen any definitive answer / resolution.
I have a very basic project (as a test project to try and get this sorted) which has no code attached and only one scene.
I am trying to get the UI Mask to work in Android but it doesn't (see links below).
What it SHOULD show...
What it DOES show...
Is there something specific I need to do in Unity 5 to get this working or is it a (known) bug?
I have submitted this as a bug. If you wish to track the progress, click here
I can indeed confirm this is a bug (or issue between versions). If I create a project (exactly as above) in 4.6.3f1 it works as expected on Tegra 4 Android device (masking works). If I then make a copy of the project and import/upgrade it to 5.0.0f4, then the masking does not work on a Tegra 4 Android device.
Answer by DiegoSLTS · Mar 24, 2015 at 03:39 PM
I've had this problem in some Android devices and fixed it selecting the camera that renders the mask and setting the "Rendering path" on the camera component to "Forward".
I don't know if this can be considered as a fix, but if you aim for Android you probably want forward rendering anyway since it's supported in more devices.
I can't see "Rendering Path" on the camera object itself. The only place I see it is in Player Settings, and this is already set. Am I missing something else?
EDIT: I found it on the camera, but I have it set to "Use Player Settings" which, as I have it set to "Forward" in the player settings, is the same.
Your answer
Follow this Question
Related Questions
Unity5.4.0p4 compile error for android by il2cpp 1 Answer
Unity 4.6 UI Scroll Rect items images become invisible when OnApplicationPause(true) 0 Answers
Is Build and Run essential to make a Gear VR app ? 1 Answer
unity 4.6 new UI Android soft buttons 1 Answer
Building a aspect/resolution-independent 2D scene with an orthographic Camera 0 Answers