Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by cdytoby · Dec 02, 2014 at 02:10 PM · uiunity 4.6mask

Unity 4.6 Mask Component on Android doesn't work properly.

I have created a scroll rect, and put a mask and a image in it, here is the structure:

parentObject(scroll rect, empty image, mask)

-contentList(only a recttransform)

--item1

--item2

--item3

it works correctly on PC, but on my android device, It shows correctly in the beginning, but when I move the content, the contents sometimes become invisible, sometimes become half visible, with only some pixels, and some strange fuzzies.

And I removed the mask component, on android everything shows correctly without mask.

what's wrong? is it because of my android device? I'm using HTC One M8.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image xk · Dec 04, 2014 at 08:35 AM 0
Share

I have the same issue. Tested it on 4 devices breaks differently on each one, doesn't work on a single one. That sucks.

avatar image mrm83 · Dec 24, 2014 at 05:12 AM 0
Share

doesn't work for me at all within unity!

same setup as you, scroll rect with mask and image and a child oversized panel.. the mask doesn't mask the panel.. v4.6

downloading 4.61 to see if it fixes the problem..

avatar image Thom Denick · Dec 24, 2014 at 06:09 PM 0
Share

I'm also having this problem.

4 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by cdytoby · May 22, 2015 at 09:47 AM

I'll answer my own question,

It seems to be working with new Unity 5.0.2, device HTC One M8.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Nesokas · Apr 24, 2015 at 07:06 PM

Does anyone knows how to make this work in the new Unity5. Looks like masks aren't working for android

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Thom Denick · Dec 24, 2014 at 06:31 PM

I found the answer thanks to comworm over at Unity Forums:

Change this: Project setting -> Player -> Android -> Use 24-bit Depth Buffer should be 'Checked'.

Then quit/restart Unity and your mask will be working.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Thom Denick · Dec 24, 2014 at 06:33 PM 0
Share

At the very bottom here: http://forum.unity3d.com/threads/new-ugui-mask-doesnt-work-for-some-android-devices.269186/

avatar image mrm83 · Dec 24, 2014 at 10:23 PM 0
Share

That solved my problem. But at the same time it killed performance because my device gets hot after 1 $$anonymous$$ute of play time

avatar image AhmedHashemNTS · Mar 10, 2015 at 08:46 PM 2
Share

it does not work for me "i am using unity 5 now" and this option does not exist Project setting -> Player -> Android -> Use 24-bit Depth Buffer

avatar image Stephanie1 · May 13, 2016 at 09:10 AM 0
Share

Sorry ,it's not work still

avatar image
0

Answer by RakshithAnand · May 22, 2015 at 09:59 AM

Please check once whether there is an active camera in your scene which renders this Layer. For me i had forgotten to have a main camera in the scene and this caused mask component to behave exactly like you said.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Problem with Mask and Canvas (Sort Order) Unity 5 1 Answer

UI/Default stencil buffer for only parent? 0 Answers

UI ScrollRect mask not hiding Input Field Caret and Highlight 1 Answer

Only Rotate UI HUD on orientation change. 0 Answers

UI Mask doesnt work with Screen Space - Camera canvas? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges