BabylonNative ARKit

Hi all,
I’m experimenting with BabylonNative and ARCore/ARkit.
I’m using the test app in the main repo (“Playground”) and have no problem on Android (and enabling ar in experience.js). However on iOS I get an error when running the app:
[MTLDebugRenderCommandEncoder validateFramebufferWithRenderPipelineState:]:1228: failed assertion `For depth attachment, the render pipeline’s pixelFormat (MTLPixelFormatInvalid) does not match the framebuffer’s pixelFormat (MTLPixelFormatDepth32Float_Stencil8).'

Any idea how to solve this?

Ohhhh sounds like a mission for @bghgary our native mastermind. He ll be back tomorrow.

Thanks.

After some more tinkering I think there’s a bug somewhere. The issue arise only in debug mode, when compiling in release everything works as intended.

1 Like

Looks like you filed an issue already and @ryantrem was able to give you a work around. We do intend on fixing it so that you don’t have to use the work around though, but this will take some time.