-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The associated image target collection failed to load #2
Comments
Hi, this issue is on android or IOS?. |
It is on Android. When I open the sample experience (for example Image Tracking) the JS error is shown. But if I put the app to the background and then bring it on again, suddenly experience is loaded and working. It sounds like wtc file is not loaded or should be loaded after Wikitude logo gets out of focus. Maybe? Thanks. |
Hi. It' can be related that some reason the WikitudeView is rendering twice, are you running the example as it is or did you modify something else? |
Hello. Wikitude SDK install from npm:
|
Ok, the only thing remaining is the version of Wikitude SDK. I will run some tests and let you know. Thanks |
Any luck about the error? Thanks |
Hi. |
Hi, thanks, I really appreciate your work |
Nothing yet. You can switch to cordova plugin instead of react native. Still waiting for the solution. |
Let me try it again, and I'll let you know. |
HI @joaquinlom, For this reason I had to create a new react native project from scratch and gradually install the updated libraries with npm and load the various assets in the android folder. after this procedure I was able to test my application on the device and it gave me the problem that when launching the view with wikitude it gave target failed loaded, while if I put it in the background and reopened it everything would work again. Out of curiosity, I also tried to structure my application from scratch taking a cue from some bad things and the error recurred. Sometimes (a few) it also happened to me to receive the error in different ways:
Target error not found, I attach screenshots. I am available for any additional information and I hope I have been clear. |
What kind of URL are you trying to pass it to the WikitudeView Compontent? |
url: '/assets/wikitude/firstTest/index'. obviously inside openWikitude there is control on android: const openWikitude = (url, allData) => { I also attach the logs provided by the metro console: In this case I got 2 file not accessible error alerts, after which I put in the background and reopened and everything worked |
And how do you pass it to the component?. |
I was able to replicate the issue, I'll come back with a fix. |
I'm sorry if I didn't reply right away, but I'm glad you managed to replicate the error. |
Please use the latest version of the library. *In my testing still throwing the message, but it works. |
Wikitude doesn't works well with the Emulator/Simulator. So for the best always use a Devices to test Wikitude. |
perfect thank you very much.
I believe that the 2 problems are connected and solving the second automatically would also have solved the first, because I believe that augmented reality is not deleted and restored. |
When I open one of the experiences, the javascript error "The associated image target failed to load" insists. After closing the alert, sometimes Wikitude works fine, other times it does not work (white transparent bar shows Loading ...).
How can I overcome the problem?
Node.js server console:
[Wed Nov 04 2020 11:21:30.767] LOG URL WIKITUDE: ARchitectExamples/01_ImageTracking_1_ImageOnTarget/index
[Wed Nov 04 2020 11:21:30.803] LOG Is focus
[Wed Nov 04 2020 11:21:30.823] LOG URL WIKITUDE: ARchitectExamples/01_ImageTracking_1_ImageOnTarget/index
[Wed Nov 04 2020 11:21:30.859] LOG ComponentDidUpdate
[Wed Nov 04 2020 11:21:30.865] LOG Value of URL: ARchitectExamples/01_ImageTracking_1_ImageOnTarget/index
[Wed Nov 04 2020 11:21:30.868] LOG didmount Wikitude SDK index.js
[Wed Nov 04 2020 11:21:30.911] LOG {"message": "File was not found or file was unreadable."}
BR, Aleš
The text was updated successfully, but these errors were encountered: