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 karwai · Jul 24, 2014 at 10:48 AM · androidlightingnguidark

NGUI objects black color after build into phone

Hi,

I just started to use NGUI package and I am currently having some problems.

I previously have searched for an answer in the forum and stumbled upon this post. After setting the ambient lights in the Render setting, I build and run the application into my phone but in the scene all the objects are black in color. I have even tried to use directional lights and run the application again but to no avail.

Side note: I have a background sitting at depth 0 and several in depth 1 and several others in depth 2. Will this cause problems to the end result which I am having now?

Thanks in advance.

~~Edit~~

Here is my material

alt text

And here is where I apply my material to the object

alt text

Edit2

Here is my expected scene

alt text

Here is the scene I get after loading into phone

alt text

~~Edit3~~

Here is my Quality setting

alt text

screen shot 2014-08-01 at 3.48.48 pm.png (42.9 kB)
Comment
Add comment · Show 13
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 Razacx · Jul 24, 2014 at 11:03 AM 0
Share

This might mean you have a texture larger than 2048x2048 (texture atlas for example?) $$anonymous$$ost mobile devices only support up to that resolution

avatar image karwai · Jul 24, 2014 at 03:00 PM 0
Share

currently as I am creating a demo version of my app, all I have are empty materials that contain colors such as cyan, purple, green, blue, red...

avatar image Mehul-Rughani · Jul 31, 2014 at 06:03 AM 0
Share

can u please provide screen shot..

avatar image karwai · Jul 31, 2014 at 10:25 AM 0
Share

edited my question with screenshots of the material

avatar image Mehul-Rughani · Jul 31, 2014 at 10:27 AM 0
Share

I could not see any black color objects in these

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by jusabian · Jul 31, 2014 at 08:13 AM

Hi,

I did have the same problem with sprites (not NGUI) but than I realized that the texture atlas of the sprites has been very large (4096x4096). My Galaxy S3 could handle it, but my iPhone 4 could not. I did also get black sprites instead. Try to reduce the texture size if possible, and try it again. It solved my problem.

Hope it helps,

Jusabian

Comment
Add comment · Show 1 · 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 meat5000 ♦ · Jul 31, 2014 at 08:15 AM 0
Share

Hi jusabian, place your link in your profile information ins$$anonymous$$d of your posts :)

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Light culling way too early on android 0 Answers

Why are my lightmapped gameObjects flickering in my builds, but not in the Editor? [Videos Included],Why are my Game Objects flickering in my build, but not in the Unity Editor? [Videos Included] 0 Answers

Very bright flaslight in world. The beam is not strong enough 0 Answers

Lighting behaves strange on Android devices? 0 Answers

Terrain texture darkens when on Android (Darkens only, doesn't turn black) 0 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