I'm using sample code from the SDK to test the image recognition functionality. When I use the example target it works fine, but when I use an generated target from Target Manager I get an error: "Architecht: Tracker: failed to load ()". The .wtc files are in exactly the same directory. The error seems to occur on the following code:
this.tracker = new AR.Tracker("assets/filename.wtc",{ onLoaded: this.worldLoaded });
I'm using Google Chrome to generate the .wtc files.
Thanks in advance for your help.
A
Andreas Schacherbauer
said
over 9 years ago
Hi Bas, which version of the SDK are you using and for which platform are you developing (Android, iOS, PhoneGap, Titanium)?
Best regards
Andreas
B
Bastiaan
said
over 9 years ago
I'm using the iOS SDK 3.2.1 (on Mac OS X 10.9.1).
A
Andreas Schacherbauer
said
over 9 years ago
Hi,
since the SDK wouldn't log an error if the file could be opened, maybe you misspelled the file name or the file is not in the final app bundle? You could use a tool like 'iExplorer' to inspect the .app bundle and have a look if the file is really existent in the specified location.
Best regards
Andreas
B
Bastiaan
said
over 9 years ago
Thank you. One final question: Is it possible to style AR.HtmlDrawable in your stylesheet or do I have to use inline CSS/Option params?
Bastiaan