Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
This question was closed Jul 02, 2016 at 02:39 AM by tbilodea for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by tbilodea · Jun 30, 2016 at 06:26 PM · android2d gamerenderingbuild settings

Android not rendering Unity Objects (pink)

I am trying to build a little game demo for android.

In the editor window, I was having no issues running the game, everything has loaded properly and no pink, missing rendering problems (it's a 2d RPG where I don't think I need shaders, and I don't know much about rendering, so I tried disabling them, but still unsure what I'm doing and am still having issues). When I do the build and send it to my Galaxy S6 with latest version of Marshmellow it gives me pink for a screen fader in game as well as all menu items shown in this tutorial.

I notice before I added a main menu that the game itself was having issues, where the camera was not centering properly on the Player component although all of this works in the editor. (Probably a separate issue?)

The main menu, consisting of a canvas with a few buttons, a title, and a background image is completely pink, where the map and character show up in game, but the game background is pink and not black...

What is going on? Is my build settings for older Android systems messing this up (it's currently set the minimum API to Froyo), or is there some unity object setting that I need to change for the build? OpenGL 2.0 is being used for the build and I'm at a loss of how to fix it.

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

1 Reply

  • Sort: 
avatar image
1

Answer by Jessespike · Jun 30, 2016 at 07:58 PM

When a material is magenta (or pink) that means there is an error with the shader. You need shaders to render graphics, even if it's a 2D RPG. What shader is causing trouble? Try swapping it for another one or force Unity to include the shader in the Graphics Settings (Edit -> Project Settings -> Graphics).

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 tbilodea · Jul 02, 2016 at 02:38 AM 0
Share

Thanks for the help! It looks like resetting the graphics options actually added the shaders I needed so I didn't have to go looking for them. I knew I was missing something I just didn't know where to find it. Off to look at documentation on rendering and graphics I suppose...

Follow this Question

Answers Answers and Comments

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

Related Questions

Bug unity 5.2.1 Rendering UI With android 4.1.2 Jelly Bean 1 Answer

Graphics.PresentAndSync causing large fps drops on mobile Android game 0 Answers

How to fix Black Reflection in AR with URP on Android? 0 Answers

Move GameObject to touchpoint with one touch 2 Answers

Can someone please help me with implementing virtual joystick controls so that I can port my PC game to android? 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