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
3
Question by MingRui · Nov 09, 2012 at 11:14 AM · androidspritesbugsspritemanager

Unity Android: sprites appearing as black squares

I tested my game in many devices and it runs ok, but someone who tried it in an 「Asus EeePad Transformer」 reported seeing the sprites as black squares.

I'm using SpriteManager (freely available in the Unity Wiki) to control the sprites. Basically all it does is to render the all sprites in billboards in the same mesh to save drawing calls. For the sprites, I have a 4096x4096 sprite sheet with automatic compression, using the Mobile/Particles/Alpha Blended shader.

The game is: https://play.google.com/store/apps/details?id=com.stdho.lavagirl

Unfortunately I don't have that device so I can't debug it. Anyone has any hint/idea of why this could be happening in that specific device?

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by cregox · Nov 29, 2012 at 08:36 PM

Most tablets don't support 4096 textures (only newest ones will do). Set it to 2048 and you're good to go. And set it to 1024 if you want to be sure it will work in any device.

I haven't tried, but here are some pointers on how to check what your device support: http://stackoverflow.com/questions/8573178/limitation-on-texture-size-android-open-gl-es-2-0

Comment
Add comment · Show 3 · 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 paulaceccon · Nov 30, 2012 at 12:32 AM 1
Share

Really? I made a game with all textures in 4096 and I have no problem...

avatar image cregox · Nov 30, 2012 at 09:55 AM 1
Share

@paulaceccon Well, it so happened on my tests with Samsung Galaxy Tab 10.1 ... But on further research, 4096 is just highly unsupported. Only newest devices do support it. I did guess and was hoping to not be corrected, but thanks for bringing it up! ;-)

avatar image Turbine · May 08, 2013 at 03:41 PM 1
Share

Thank you so much for this insight. I was about to try and rewrite and debug a big pile of code when I saw this. You saved about 3-4 hours of my life. I just lowered the texture size and everything worked.

avatar image
0

Answer by MADmarine · Nov 09, 2012 at 01:20 PM

When building, what texture compression are you using?

Might be worth looking at some of the issues that arise with certain types of compression:

http://docs.unity3d.com/Documentation/Manual/android-GettingStarted.html

http://forum.unity3d.com/threads/134019-Texture-Compression

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

13 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 avatar image avatar image avatar image

Related Questions

Shader shows black lines from occluded object 1 Answer

Animataion of a Sprite 0 Answers

Errors and bugs in player using unity ads. Works fine in editor. 0 Answers

Spritest look squashed and stretched in different screens. 1 Answer

change sprite animation in ex2d ? 4 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