Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
1
Question by aCorreaGomes · Mar 24, 2017 at 11:38 AM · deviceblackscreen

Android Black Screen when built

I'm using the Unity 5.5.2f1 32bits + Vuforia with VideoPlayback Scene. When i run it on my Windows, everything works very well, but when i am trying to run and build it to my Android Zenfone 2 or my Motorola G, the splash is showed normally, but after that i am getting a black screen and nothing to happens. I did everything i have read in this answers and can't solved it. Does anyone can help me please? I don't know what do do anymore. Thanks a lot.

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 SohailBukhari · Mar 24, 2017 at 12:12 PM 0
Share

Have you check logs in adb ?

avatar image aCorreaGomes SohailBukhari · Mar 24, 2017 at 12:17 PM 0
Share

No man! How can i do that, please?

avatar image SohailBukhari aCorreaGomes · Mar 24, 2017 at 12:21 PM 0
Share

Try this Link

10 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by SohailBukhari · Mar 24, 2017 at 12:28 PM

  • Apparently, if you have only one camera set up as "don't clear" in the scene, the editor will give you no problem but the built executable will not show anything at all.

  • Are you sure you are building correct scene?

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 aCorreaGomes · Mar 27, 2017 at 04:24 PM 0
Share

sohail_786 What you mean as "Do'nt Clear". Where can i check it ?

avatar image SohailBukhari · Mar 28, 2017 at 07:06 AM 0
Share

This option will be found in the camera inspector. There will be a clear flags option and here check for dont clear option. i am trying to attach image but unfortunately image is not uploading.

avatar image LarsDi · Feb 24, 2019 at 12:22 PM 0
Share

On my old Huawei P8 lite Android 6 the camera-setting solved the problem - thank You very much.

avatar image Nick4 · Jun 02, 2021 at 07:33 PM 0
Share

Turns out it was just my camera that I accidentally set up as don't clear was the issue the whole time. Thanks a lot.

avatar image
1

Answer by aCorreaGomes · Mar 29, 2017 at 02:46 PM

@Addyarb and @sohail_786 Thank you very much for your attention. Finally I've solved that problem updating my Java for the latest version and updating all of my sdk on SdkTools. Have a good day you guys;

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 the_Whizzkid · Aug 16, 2020 at 08:24 PM 0
Share

3 years later... (Unity 2019.4) I had an update on my android, after that black screen on build and remote play didn't work. (already before Logo). Updating the Android Studio helped getting it to run in remote play. (Android 10+ support).

avatar image
0

Answer by Addyarb · Mar 24, 2017 at 03:11 PM

Hey there,

This is a fairly common issue I run into when building for Android. This is typically a result of attempting to render textures that are too large. Do your best to keep all textures at or under 512x512 for the best performance.

Here's some steps you can take to get your textures up and running immediately - and then you can tweak them one-by-one as needed.

  • Select all textures that you'll be using in all of your scenes.

  • At the very bottom of the inspector - tick 'Override for Android' to true/checked.

  • Set the 'Max Size' dropdown to 512.

  • Click 'Apply' at the bottom right.

  • Re-build your project

Good luck!

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 aCorreaGomes · Mar 29, 2017 at 02:50 PM

@sohail_786 I have just one scene. I'm using the "Vuforia VideoPlayback Example" that comes with Vuforia. In "Build Settings" i just clicked on "Add Open Scenes" and built. Look that Print I'm attaching below. Thanks man. alt text


sem-titulo.png (364.3 kB)
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 hameed-ullah-jan · Jul 06, 2018 at 11:46 AM

removing this permission from the manifest, solved the issue for me android:name="android.permission.WRITE_EXTERNAL_STORAGE"

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
  • 1
  • 2
  • ›

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

15 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

Related Questions

Unity2017.2 apk build comes out black in Samsung A5(Android 7.0) 1 Answer

deviceUniqueIdentifier 1 Answer

What device is being used? 1 Answer

Any asset to help me load device specific art assets? 0 Answers

gettin time from device 1 Answer


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