Code Monkey home page Code Monkey logo

Comments (7)

ThomasGorisse avatar ThomasGorisse commented on July 18, 2024

Can you send the crash using the 1.18.5?
The lines numbers doesn't seem to correspond with the last Sceneform version on your log.

from sceneform-android.

cyberhenoch avatar cyberhenoch commented on July 18, 2024

Yes I've added some debug& memory logs so it doesn't match now. In 1.18.5 it happens here:

RenderableInternalData.java:228

if (renderableInstance == 0) {
        throw new AssertionError("Unable to create RenderableInstance.");
      }
java.lang.AssertionError: Unable to create RenderableInstance.
	at com.google.ar.sceneform.rendering.RenderableInternalData.buildInstanceData(RenderableInternalData.java:228)
	at com.google.ar.sceneform.rendering.RenderableInstance.prepareForDraw(RenderableInstance.java:285)
	at com.google.ar.sceneform.rendering.Renderer.updateInstances(Renderer.java:596)
	at com.google.ar.sceneform.rendering.Renderer.render(Renderer.java:263)
	at com.google.ar.sceneform.SceneView.doRender(SceneView.java:356)
	at com.google.ar.sceneform.SceneView.doFrameNoRepost(SceneView.java:319)
	at com.google.ar.sceneform.SceneView.doFrame(SceneView.java:301)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1008)
	at android.view.Choreographer.doCallbacks(Choreographer.java:809)
	at android.view.Choreographer.doFrame(Choreographer.java:740)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:995)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:246)
	at android.app.ActivityThread.main(ActivityThread.java:8506)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

from sceneform-android.

ThomasGorisse avatar ThomasGorisse commented on July 18, 2024

It looks like there is an issue with your model.
What format are you using? How many faces does he have? What size is it?
Did you tried the same code with another asset?

from sceneform-android.

cyberhenoch avatar cyberhenoch commented on July 18, 2024

from sceneform-android.

ThomasGorisse avatar ThomasGorisse commented on July 18, 2024

Can you make the test with the last 1.18.11 version.
Filament and we have made some works on memory and performances.

Thanks

from sceneform-android.

cyberhenoch avatar cyberhenoch commented on July 18, 2024

It seems that the error is not happening now for some time in newer versions. Thanks for your great work!

from sceneform-android.

dmohnke42 avatar dmohnke42 commented on July 18, 2024

We've seen this in version 1.17.1. I'll build with the updated version and see if it solves the problem. We encountered the same issue. It seems to occur when the device is not aimed at the plane.

from sceneform-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.