Augmented Reality for UE4

Hello!

I’ve recently purchased this plugin, but have been unable to make it work on my android device (a Moto G5 Plus running Android 7.0) when installing through the .bat or Play Store.

The issue I am facing is that there is no camera feed - all I see is a blank background. When I from editor on my device, such problem does not occur and all works fine when using a webcam.

Here is what I already did, after researching the posts here:

  • I am requesting Camera and Storage permissions before calling the Init node in my blueprints;
  • I am not packaging everything inside a single .apk;
  • I already changed the obb path variable within the .xml, as explained in the Android Quick Start;

The output from adb logcat tells me:


09-27 11:45:26.992 16016 16035 E libar   : Error (2): unable to open camera parameters file "/storage/emulated/0/Android/data/com.Test.AR/files/UE4Game/Unreal4AR/Unreal4AR/Content/ARToolkit/Data/camera_para.dat" for reading.
09-27 11:45:26.992 16016 16035 E libar   : No such file or directory

Which apparently should have been fixed by changing the obb path in the .xml file

Also, this error seems to only happen the first time I open the app (I show an error message when Init returns false). After that, every time I execute the app, it seems to be working, despite no camera feed coming through and no target being recognized.

Really, I am at a loss as to what I can do here.