Comments (9)
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.LogFormat
ing theARSubsystemManager.systemState
(this would tell you if, for example, the device is unsupported).
What device are you using?
from arfoundation-samples.
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.
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.
@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.
@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.
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.
That output suggests things are generally working. My guess is the phone may think it is unsupported.
Did you try Try Debug.LogFormat
ing the ARSubsystemManager.systemState
?
from arfoundation-samples.
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.
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)
- [Bug] Low FPS results in face tracking to stop working HOT 1
- How to create ARFoundation's ARAnchor from ARKit's ARAnchor? HOT 2
- 为什么我发布成安卓程序,菜单都是灰色,用不了呢a HOT 2
- Support of MultiPeer for the visionOS platform HOT 2
- ARFoundation how to serializes ARWorldMap information for the specified region ? HOT 1
- Persist ARAnchors in Unity for Hololens 2 application HOT 1
- Stop URP Post Processing from affecting AR Camera Feed Background HOT 1
- [Android][ARCore] Crash occurs when changing to the front camera after ImageTracking has been performed even once. HOT 4
- [Bug] Link to Adam Demo executable does not work HOT 1
- [ARFoundation 6.0 with Unity 2022.3.15f1] error CS0246: The type or namespace name 'IAnalytic' could not be found (are you missing a using directive or an assembly reference?) HOT 1
- [Bug] I don't Know what is the issue but the AR core is not able to detect the plane surface and also not able to place objects I am using IQOO Neo 6 and the android version is android 14
- CPU Image from ARFaceManager HOT 1
- Is Bounding Box Available in Quest Pro or only Quest 3? HOT 1
- Xcode error in main funtion [ufw runUIApplicationMainWithArgc: argc argv: argv];
- [Bug] HOT 2
- 3D scanning using meshing / cloud of points?
- How to add a XR referenceImagelibrary through a script HOT 2
- How to unload loaded ReferenceObjectLibrary in ARTrackedObjectManager from memory
- [Bug]ARTrackedImage trackedImagesChanged value error #VisionPro HOT 3
- [Bug] Raycasts flicker against ARMesh on Quest 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arfoundation-samples.