Ben Doherty

Results 61 comments of Ben Doherty

If I remember correctly, I think this had something to do with MSAA being enabled. You could try to disable it and see if that fixes anything.

> do you hava debug filament maven sdk? We do have one now. See [`filament-android-debug`](https://central.sonatype.com/artifact/com.google.android.filament/filament-android-debug/1.40.4).

What does the memory graph look like? When you release the old model data, does the memory graph drop back down? I suspect there is something not being released properly...

Calling `AssetLoader->destroyAsset(_asset)` does not free GPU data (such as buffers and textures) immediately, as this is done on the separate `FEngine::loop` thread. So, if you're re-creating models too quickly, you...

Can you modify our gltf-viewer sample to reproduce the issue? Then I can take a closer look.

@starccode What version of Filament are you using? I think we removed `OpenGL::updateBuffer` in favor of `OpenGL::updateBufferObject` some time ago. It'd also be helpful if you copied that `CHECK_GL_ERROR(utils::slog.e)` statement...

Thanks for helping investigate. It's possible we have a memory leak with the OpenGL backend on iOS. Are you able to switch to the Metal backend? We're in the process...

Is your model a glTF? Are you able to upload it here?

@kpeeters sounds like this is crashing consistently? As Romain said, the full crash logs would be very helpful.

I obtained a device and can reproduce the crash. I see the following error: ``` sampler argument for sample_compare must be known at compile time ``` @kpeeters can you confirm...