Skip to content
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

Helper arrow and watering can crashes #5

Open
MrCsabaToth opened this issue Jan 23, 2023 · 1 comment
Open

Helper arrow and watering can crashes #5

MrCsabaToth opened this issue Jan 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@MrCsabaToth
Copy link
Member

These two object are not anchored to a GPS or even to a position in the AR Scene. Currently I constantly recreating them, maybe that's what causes it? Possibly I need to go low level and not even create an Anchor but a lower level non anchored object somehow?

E/BLASTBufferQueue: BLASTBufferItemConsumer::onDisconnect()
E/AndroidRuntime: FATAL EXCEPTION: GLThread 3272
    Process: dev.csaba.armap.treewalk, PID: 4691
    com.google.ar.core.exceptions.FatalException
        at java.lang.reflect.Constructor.newInstance0(Native Method)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
        at com.google.ar.core.Session.throwExceptionFromArStatus(Session.java:14)
        at com.google.ar.core.Session.nativeCreateAnchor(Native Method)
        at com.google.ar.core.Session.createAnchor(Session.java:1)
        at dev.csaba.armap.treewalk.TreeWalkGeoRenderer.onDrawFrame(TreeWalkGeoRenderer.kt:228)
        at dev.csaba.armap.common.samplerender.SampleRender$1.onDrawFrame(SampleRender.java:64)
        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1593)
        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1272)
@MrCsabaToth MrCsabaToth added the bug Something isn't working label Jan 23, 2023
@MrCsabaToth
Copy link
Member Author

MrCsabaToth commented Jan 24, 2023

This UX is disabled for now. For watering can we can use maybe an overlay of a POV 2D projected 3D watering can (a.k.a. 3D pre-render - not burdening the 3D engine). For the arrows I'll think about it. Even in AR examples with directional arrows the arrows anchored to a place. We'd need non anchored 3D objects! So we should probably just forget about anchors and wing it by ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant