Replies: 5 comments 5 replies
-
|
Yes I did get rid of all of the ArFragment code and yes I am navigating to the Fragment that has the SceneView, after the mainactivity is already running and doing other things. Is that not intended to be possible and do I need to create another Activity for my AR stuff? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@ThomasGorisse I made a small sample project, that has 2 fragments and navigates between the 2 like I do and has the same exception: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Intitial Question:
So I have been in the process of transitioning my AR Project from sceneform to sceneview and I ran into an error. Since I am not sure if that is not yet supported or me doing something wrong, I figured I'd ask here first.
So my app has one MainActivity and a few fragments, but when I start my app it doesn't go straight to AR, but it starts a normal screen first, from where I navigate to the ArFragment later.
When I now am trying to run my app with code similar to your samples, I am getting the error that Camera permission result must be registered before Activity resume
So now I am wondering, with sceneview automatically handling those permissions, is it implemented that the ArFragment needs to be displayed as the first fragment in the app, or am I missing something?
This is the stacktrace: https://pastebin.com/FsMHgBpZ
Beta Was this translation helpful? Give feedback.
All reactions