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 /
  • Help Room /
avatar image
0
Question by deluise4 · Oct 05, 2018 at 02:00 PM · unityeditorandroid buildvuforiaaugmented realityupdate problem

Why is my app screen black when I build to Android? What am I doing wrong?

Hello, everyone. I have been working on an AR app since January of this year. I began the build using Unity 2017.3 and Vuforia 7.1.35. After a while, I kept running into some issues that I couldn't work out so I took a break from it. I came back to the project in late summer and I was able to work out those particular bugs. I tested the app on my phones, and it worked as designed, minus a few cosmetic issues. I fixed those cosmetic issues, but before I had a chance to export the app to my phones again, I absent-mindedly upgraded Unity to version 2018.2.1F1 and that's where the problems began. When I test it in Unity, the app works just as I intended. The models track, the sounds and animation play and pause on cue, the links work, and most importantly, the camera works. When I build and run to my Android device(s), however, everything is black. In earlier builds, all of my scenes would load fine leading to the actual AR camera scene. The three most recent builds have all resulted in a black screen immediately after the app opens. No splash screens or anything. I've tweaked my build settings and player settings numerous times to try to weed out the problem, but no luck yet. I've also scoured the Unity and Vuforia forums for help with the issue, but even still, I have been unable to find a viable solution. Everything I read was either outdated, pertaining to iOS, or not even answered at all. So, I am posting this question to hopefully get some solid answers for myself and anyone else who may be having this issue. Please help!!! I am testing my app on a Samsung Galaxy On5, a Samsung Galaxy S7, and a Samsung Galaxy S8 Active. I should probably also note that my S7 and S8 phones have updated to the newest Android version since January and some time in the summer. I don't exactly remember when. I am happy to provide any other specific details if necessary. Thank you.

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

· Add your reply
  • Sort: 
avatar image
0

Answer by deluise4 · Nov 29, 2018 at 04:46 PM

Hello, everyone! I am glad to announce that I was able to work out the issue with the Android black screen. I'm still not exactly sure of what the cause or cure was, but the problem went away after I followed these steps. The first thing I did was update my Vuforia software to 7.5. After restarting Unity, I opened a test project that I had been working on with the previous Vuforia. I then reimported all of the updated core samples and AR/VR samples. I successfully tested the user-defined target and the image target scenes in Unity, and on my phone(s). I made notes of Vuforia's default settings and I compared them to my notes from my project's camera, player, and build settings. From there, I adjusted my settings to match the Vuforia settings. I THINK, and I could be wrong, that the issue was in the Player Settings, under the Other Settings tab. For Target Architectures, I had all 3 selected (ARMv7, ARM64, and x86), and that's when the app would load, but the camera would be black. Whenever I unchecked ARM64, everything worked beautifully. As I said, I don't know if that was the direct cause, but that's how I worked it out. If you're having the same issue, hopefully, this works for you, too.

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

166 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 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

Unplanned Shadows in AR android build 0 Answers

Build Failure Error: Unity-AndroidSDK-Vuforia 0 Answers

Gameplay script made for Vuforia in Unity not working 0 Answers

force a camera to be the main camera 0 Answers

Unity Crash When i click play 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