GoogleARCore | Texture is not RGBA8 or BGRA8 and cannot be used as a tracking target

Hi everyone,

As the title suggests, whenever I try to launch my Android app to my dev phone I get this error stating it can’t be launched because of my texture not being the right format.

In turn, that fails the augmented image database build which fails the launch to device.

These are the image settings;

Any suggestions or tips? Kinda at a loss here.

Thanks in advance!

Just for anyone in the future;

I’ve managed to fix it! I was using a QR-code which was just black and white. Apparently, Unreal doesn’t like that and will give the error I’ve mentioned in the first image, which in essence is true, but shouldn’t matter for a tracking target because it wasn’t a problem before. I’ve seen tutorials using the Hiro marker in Unreal version 5.0.3 so this might be a bug in Unreal 5.3.2.

For reference;

This works:

This doesn’t:

So yeah, maybe a bug? I don’t know…
Hope this helps anyone in the future!

1 Like

Good day folks, I found that a B&W target image worked fine for me using UE 5.3.2 for on Android and iOS devices. Target is a colour PNG image created in GIMP with alpha channels but only has B/W colours. The image packaged fine, and AR image recognition on the drives worked. I’ll have to try the QR code image at some point.

My sample target is attached here