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
0
Question by Taylor3003 · May 11, 2012 at 10:28 PM · androidmaterialtransparencytransparentdiffuse

Transparency Diffuse Problem

I've been looking for an answer to my question for a couple of days, and finally decided to ask here. I have some materials using the Transparency/Diffuse shader. In the editor, everything looks fine. When I run it on the pc, it looks fine. But, when I run it on my android device, some materials show up, however most are just completely black. I'm hoping someone can help me find my answer.

Thanks for your time.

Comment
Add comment · Show 4
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 hijinxbassist · May 11, 2012 at 11:30 PM 1
Share

@Taylor3003 $$anonymous$$ost likely the shader is not supported on Android(thats why it renders black). Try switching to one of the $$anonymous$$obile Shaders.

avatar image Taylor3003 · May 12, 2012 at 01:49 AM 0
Share

Thanks for the help. I'm getting the same problem with mobile shaders as well. But it appears to only happen to certain instances of certain images. For example, I have two instances of the same image in the level, both using the same shader. One renders correctly, however the other renders black. It only works when I duplicate the image that works and delete the one that renders black. I can try and upload a screenshot, as that might help more seeing it than me trying to describe it.

avatar image hijinxbassist · May 12, 2012 at 02:33 AM 1
Share

Hmmm...i havent done too much in Android so far, but no such problem has occured with the things i am doing. Just read on a post

JTBentley said "Apparently, the phone loses it's gl context, so it's basically dumping everything out of ram. When it goes back into unity, the texture doesn't exist on disk, so it's just black." Heres the http://forum.unity3d.com/threads/97388-Android-Render-Texture-Problem>link to the forum post...nothing after that as far as results go, ill keep looking tho as im sure others and ill run into this same problem.

avatar image Datael · May 12, 2012 at 02:57 AM 0
Share

What @hijinxbassist says is likely your problem from what you've described. We have had numerous problems with this at work. The problem seemed to be mostly present with dynamically created textures (such as atlases that were packed at runtime) and copies of materials. It seemed as though the textures in the resources folders etc usually survived without going back, although I don't know that that was true in all cases... Sorry I couldn't be more help than this but I just wanted to at least confirm the above comment...

0 Replies

· Add your reply
  • Sort: 

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

6 People are following this question.

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

Related Questions

Material doesn't have a texture property '_RendererColor' 1 Answer

Legacy transparent cutout diffuse material ontop of toon lit material does not work anymore on android? 0 Answers

Having trouble creating transparent material on Android? 1 Answer

Adding Transparency to a Diffuse / Spec / Normal Shader 0 Answers

Transparent material on iPhone Android 3 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