When I enter the width of an image in the AugmentedImageDB to a value less than 1 eg: 0.15, it breaks the build. Giving an error of: BuildFailedException: Temp/UnityTempFile-436e5ef2971c3f34f9eccf70a8e76877\inputImages:line 1: Invalid width specified: 0.
adb shell pm dump com.google.ar.core | findstr /i "packages: versionName"adb shell pm dump com.google.ar.core | egrep -i versionName\|packages:adb shell getprop ro.build.fingerprint: Don't set width of Image
The Error is: "BuildFailedException: Temp/UnityTempFile-436e5ef2971c3f34f9eccf70a8e76877\inputImages:line 1: Invalid width specified: 0."
Note: Just checked, and you can still Build and install the apk on device worked fine, but the option to Build and Run is breaking
This still happens with ARCore SDK for Unity 1.10.0 and Unity 2019.1.9f1.
So I found out what was happening. My Windows is in French, and the database file was built without culture override, so 0.5 was written 0,5, which crashed the parser.
I submitted a quick fix.
It seems that this problem came back with ARCore 1.14
I'm using ARCore 1.17 and ended up here, because of the reference image width error. I found a work around, in Unity I right clicked on augmented image db file and Show in Explorer. Here I opened the db file with VS and I set the 0 values to my required number (0.078) and saved. When I loaded the db in unity it showed the 0.078 width and didn't throw me error on build.
Most helpful comment
I'm using ARCore 1.17 and ended up here, because of the reference image width error. I found a work around, in Unity I right clicked on augmented image db file and Show in Explorer. Here I opened the db file with VS and I set the 0 values to my required number (0.078) and saved. When I loaded the db in unity it showed the 0.078 width and didn't throw me error on build.