• 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
Question by NachoPepe · Aug 12, 2020 at 04:12 AM · androidandroid buildaugmented-realitygoogle playaugmented reality

Help needed, all AR apps crash on startup

At first I thought the error was with the project I was building in Unity, the option Google > Build and Run in Unity would successfully build the application but as soon as I allowed camera access the application would crash, then crash again on startup every single time.

After hours and tens of question pages I tried to download a different AR Core application from the google play store, turns out a lot of them are made with Unity and they are ALL crashing on startup, after I allow camera access.

Why is this especially weird? I got my new phone on purpose so I could start developing in AR, my old phone was Android 7 and so this is a brand new phone, new install, factory settings, I've installed and reinstalled Google services for AR, I have rebooted countless times, all AR apps keep crashing as soon as I give access to the camera

What is also weird it's the same error for all the other AR apps, except the one I built gives an entirely different one, I will attatch the files with all the errors reported on crash.

Any ideas are appreciated, but it would help if someone familiar with the API and these kind of errors would take a look at them to explain what the hell is going on. Thanks in advance.link text

ar-errors-on-camera-allow.txt (4.9 kB)
Comment
nems808
looqjanis
minj6000
Dan-Lyrebird

People who like this

4 Show 0
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

Answer by nems808 · Aug 12, 2020 at 05:17 AM

Edit 1: I just found this page from google, which might solve the problem

Edit 2: Good News! I was correct. All you have to do is go to your Player Settings for Android and change Scripting Backend to IL2CPP and then in Target Architectures select ARM64.

I am experiencing the same problems. A simple app that I've built for android a few days ago stopped working without changing any code or updating my phone. I've also tried AR elements app made by google and it hangs (does not crash tho), which makes me believe it is an AR core issue. If anyone has any info on this, please help.

Comment
JesseAtBlue
looqjanis
bfaliuperspectives
orinoco37
Lozzzyy
shacharoz
aca98atw
bondgaurav21
mistelip
MarshCZA
minj6000
Dan-Lyrebird

People who like this

12 Show 2 · 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 unity_ofPZ71WLo5UTCw · Sep 08, 2020 at 10:14 AM 0
Share

Thanks for your help bro. It sorted my issue.

avatar image orinoco37 · Sep 22, 2021 at 10:10 PM 2
Share

I actually cried. I sat down with a youtube tutorial (20 minutes) wanting to get started with AR on my Galaxy S20+ - And here I am 4 hours later only just coming across this page. Thank you so much. I'm going to spread the word.

avatar image

Answer by unity_77609A299314CFF882B1 · Sep 26, 2022 at 02:43 PM

@nems808 i have default settings of IL2CPP and arm 64 still my app crashes any idea what should I do?,Hi, I have default settings of IL2CPp and arm64 still my application crashes i am using unity 2022.1.17f1 please help me.

Comment
xHNYx

People who like this

1 Show 0 · 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

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

Google Play Console closed alpha keeps getting rejected 0 Answers

Multiple native crashes in Andriod Upload 0 Answers

Unity 5.6.0f1 Does not support Nougat 7+ ? Google Console lists Nougat 7+ as unsupported on my apks. 0 Answers

Vuforia Error on Android (after build) - Failed to create ImageTargetObserver: DATABASE_LOAD_ERROR 1 Answer

AR Foundation device camera flickering 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