-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Click ARButton on Android and the camera don´t show up. #284
Comments
same for me. |
Are you doing anything out of the ordinary in your rendering pipeline like post-processing or have texture use? Unless this is a trivial setup, I'd need to see an example. Note that |
Okey, after some tests with android chrome, I have found out there are some warnings in debugger console. So I decided to append ARButton optionalFeatures with dom-overlay and this solution fix camera issue. Following code fix issue for me: <ARButton
className="ar_button"
sessionInit={{ optionalFeatures: [
'local-floor',
'bounded-floor',
'hand-tracking',
'layers',
'dom-overlay'
] }}
/> |
Fixed how? Optional features shouldn't change behavior unless they're supported. Only required features will block a request. |
Well, without 'dom-overlay' feature pressing AR button leads to just fullscreen page, no AR camera, nothing just a fullscreen page. Adding 'dom-overlay' feature normalise AR button functional |
@CodyJasonBennett Need to mention, despite the fact my solution fix camera issue it's also generates new warnings...)) |
Same here from my side as well. |
dom overlay is now supported in 6.1 |
When I click Enter AR on my phone the web page displays in all the screen but the camera don´t show up and in the browser appear the notification that my camera is in use. Also I tried the examples about webar in three.js site and here it works fine. My project it is in NEXT js, I have the emulator on my browser desktop and here works but on my phone doesn´t, it is omething about css styling?
The text was updated successfully, but these errors were encountered: