Coder Social home page Coder Social logo

Comments (9)

tdmowrer avatar tdmowrer commented on July 18, 2024

If your bundle identifier is the same, then you won't get prompted for camera permission after granting it the first time.

Things to try:

  • If on Android, could you check the logcat output
adb logcat Unity:* Unity-ARCore:* ArPresto:* *:S
  • Try Debug.LogFormating the ARSubsystemManager.systemState (this would tell you if, for example, the device is unsupported).

What device are you using?

from arfoundation-samples.

MarcoLavoro avatar MarcoLavoro commented on July 18, 2024

I am using a Galaxy A6, and arcore works fine.

i not understend wy but with unity 2018.1.1. now seems work

from arfoundation-samples.

tdmowrer avatar tdmowrer commented on July 18, 2024

This is difficult to diagnose without any other information. Is there any logcat output (using the command I mentioned in my previous post)?

It would also be helpful to submit a bug with a project that reproduces the issue.

from arfoundation-samples.

MarcoLavoro avatar MarcoLavoro commented on July 18, 2024

@tdmowrer the project is exactly the arfoundation-samples, i just download it and opened with different version of unity, switced platform and build it on my phones

from arfoundation-samples.

craftercis avatar craftercis commented on July 18, 2024

@tdmowrer the project is exactly the arfoundation-samples, i just download it and opened with different version of unity, switced platform and build it on my phones

Do you found the problem? I have now the same after building my app there is no camera permission pop-up and the screen is black

from arfoundation-samples.

mashai avatar mashai commented on July 18, 2024

Same issue, here's what I get when running the logcat command

09-18 13:04:46.872 10025 10046 I ArPresto: ArPresto_initialize
09-18 13:04:47.016 10025 10046 I ArPresto: ArPresto_setCameraTextureName
09-18 13:04:49.813 10025 10046 I ArPresto: ArPresto_setEnabled
09-18 13:04:49.822 10025 10046 I ArPresto: ArPresto::Got install result.
09-18 13:04:49.851 10025 10046 I ArPresto: ArPresto::Got permission result.
09-18 13:04:51.220 10025 10046 I ArPresto: ArPresto::Session created.
09-18 13:04:51.245 10025 10046 E ArPresto: ArPresto::SetConfiguration failed to deserialize Augmented Image database with status -19.

from arfoundation-samples.

tdmowrer avatar tdmowrer commented on July 18, 2024

That output suggests things are generally working. My guess is the phone may think it is unsupported.

Did you try Try Debug.LogFormating the ARSubsystemManager.systemState?

from arfoundation-samples.

sridevipavithra avatar sridevipavithra commented on July 18, 2024

Hi! How do I handle Camera Permission declined in ARFoundation? I see the error being logged in Xcode and it seems to be in API level. But again, the session state seems to be in Initialising. Is there anyway to handle those errors inside ARFoundation itself?

from arfoundation-samples.

tdmowrer avatar tdmowrer commented on July 18, 2024

Hi! How do I handle Camera Permission declined in ARFoundation? I see the error being logged in Xcode and it seems to be in API level. But again, the session state seems to be in Initialising. Is there anyway to handle those errors inside ARFoundation itself?

You can check whether camera permission was granted with this API: https://docs.unity3d.com/Packages/[email protected]/api/UnityEngine.XR.ARFoundation.ARCameraManager.html#UnityEngine_XR_ARFoundation_ARCameraManager_permissionGranted

from arfoundation-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.