Replies: 2 comments
-
do they samples provided from the codebase work ok for you?
as an aside, I turned off depthmode in my codebase. I found it caused device-dependent crashing for me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I agree with @sameerjj . Just a quick thought, have you tried the most current version of Sceneform Maintained |
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.
-
I'm developing a simple AR camera using the library "com.gorisse.thomas.sceneform:sceneform:1.21.0", the app seems to work fine until it freezes for seconds then returns normal and freezes again until it crashes. Can someone please provide assistance.
Here is the java code:
package com.example.profix;
import android.net.Uri;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Toast;
import androidx.activity.EdgeToEdge;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentOnAttachListener;
import com.google.ar.core.Anchor;
import com.google.ar.core.Config;
import com.google.ar.core.HitResult;
import com.google.ar.core.Plane;
import com.google.ar.core.Session;
import com.google.ar.sceneform.AnchorNode;
import com.google.ar.sceneform.ArSceneView;
import com.google.ar.sceneform.Node;
import com.google.ar.sceneform.SceneView;
import com.google.ar.sceneform.Sceneform;
import com.google.ar.sceneform.math.Vector3;
import com.google.ar.sceneform.rendering.CameraStream;
import com.google.ar.sceneform.rendering.ModelRenderable;
import com.google.ar.sceneform.rendering.Renderable;
import com.google.ar.sceneform.rendering.RenderableInstance;
import com.google.ar.sceneform.rendering.ViewRenderable;
import com.google.ar.sceneform.ux.ArFragment;
import com.google.ar.sceneform.ux.BaseArFragment;
import com.google.ar.sceneform.ux.TransformableNode;
import java.lang.ref.WeakReference;
public class AREnvironmentActivity extends AppCompatActivity implements
FragmentOnAttachListener,
BaseArFragment.OnTapArPlaneListener,
BaseArFragment.OnSessionConfigurationListener,
ArFragment.OnViewCreatedListener {
}
Beta Was this translation helpful? Give feedback.
All reactions