Closed el-mimoso closed 10 months ago
Hello,
The video referenced is a bit dated, thus the workflow may have changed since Engine's 10.0 release.
Have you tried your device database in the latest version of the Core Samples? This is a more appropriate test to determine if the issue is actually related to a problem with Vuforia Engine and/or the device database.
Thanks, Vuforia Engine Support
Hi! Thanks for the feedback.
So I imported the core samples into unity but no luck, the Same error as before. Works at editor, wont work at device.
Error at xcode while running:
Screencap from device.
Are the .xml
and .dat
files present on the device app storage after the app is deployed to the device?
Hello @el-mimoso, the procedure of the tutorial in the description also involves manually changing the Xcode project generated by Unity. Specifically, in the video they remove the Data
folder from the Unity-iPhone
target.
Are you also applying those changes? If so, please try to build without that change.
The dataset files are stored in the StreamingAssets
folder in the Unity project. While building, Unity copies the content of StreamingAssets
in Data/Raw
in the Xcode project. Removing the Data
folder as a member of the Unity-iPhone
target results in its content not being accessible by the app, and by Vuforia.
Please let us know how it goes or if you experience other issues. Thanks!
Are the
.xml
and.dat
files present on the device app storage after the app is deployed to the device?
Hi @ptc-emaggio thanks for keeping up. In order to see the files inside the app i did xcode > product > archive then in the finder showed the files inside the archive build and found them inside the unity.framework>data>raw>vuforia. I'll attach the folder structure.
Hello @el-mimoso, the procedure of the tutorial in the description also involves manually changing the Xcode project generated by Unity. Specifically, in the video they remove the
Data
folder from theUnity-iPhone
target. Are you also applying those changes? If so, please try to build without that change.The dataset files are stored in the
StreamingAssets
folder in the Unity project. While building, Unity copies the content ofStreamingAssets
inData/Raw
in the Xcode project. Removing theData
folder as a member of theUnity-iPhone
target results in its content not being accessible by the app, and by Vuforia.Please let us know how it goes or if you experience other issues. Thanks!
hi @ptc-epassaro thanks for the feedback. I just compiled but same story (also cleaned the build folder via xcode>product>clean build folder. We are planing to use vuforia within a larger app (using the beforementioned tecnologies) but this particular issue is holding us back 😞
@el-mimoso thank you for the detailed update! We will continue looking into this, though unfortunately we were not able to reproduce the issue on our side. In the meantime, one more thing you could try is to use Unity 2022.3.16f1. Other developers and ourselves have encountered issues with previous versions of the Unity LTS and Xcode 15 which resulted similar consequences.
I just Downloaded Unity 2022.3.16f1 without luck. Any other sugestion? Maybe I can zip it and share the project folder?
@el-mimoso are you able to reproduce the issue on more than a single device? If yes this would rule out a device configuration/permission problem
@el-mimoso are you able to reproduce the issue on more than a single device? If yes this would rule out a device configuration/permission problem
You mean in another iphone, if so I can test with some of my buddys phones...
@el-mimoso are you able to reproduce the issue on more than a single device? If yes this would rule out a device configuration/permission problem
You mean in another iphone, if so I can test with some of my buddys phones...
Yes a different iPhone or iPad, same or different model. Just to rule out a permission issue specific to the device
ion issue specific to the
Built for an ipad same error as before.
Buuuut find a similar error for a different framework, tried their propossed solution and now it works! Here is the solution in case somebody else has the same error: https://github.com/f111fei/react-native-unity-demo/pull/16
Thanks for the feedback and have a nice day!
Have you solved it already? I have the same problem
Hi @PeakPei,
As mentioned by the creator of this issue, they found a workaround - "tried their propossed solution and now it works! Here is the solution in case somebody else has the same error: https://github.com/f111fei/react-native-unity-demo/pull/16"
If this did solution did not solve your problem, please create a new ticket and reference this issue for clarity.
Thank you,
I solved it.
Summarize the bug: Failed to Failed to load database and failed to Create ImageTargetObserver.
Observed problem Vuforia is not able to load the databases to create imageTargets therefore there is no tracking of image targets.
Expected result Vuforia should be able to track images and display the 3D models.
Other observations
Reproducible steps Followed tutorial from here : https://www.youtube.com/watch?v=XKnzW9Z1gU0 at the last step change from ground plane to image target. Using on device database.
Steps to reproduce the behavior: Followed tutorial from here : https://www.youtube.com/watch?v=XKnzW9Z1gU0 at the last step change from ground plane to image target. Using on device database. export to xcode build to physical device error apears at run time.
Affected Vuforia Engine version: v(10.19.3)
Affected platform:
Platform version :
Affected device:
Screenshots / Video Recordings
works at unity editor
issue with iphone
Affected database Prueba
Device or platform logs
Other observation: