Start a new topic

Wtc file from my own server.

Wtc file from my own server.


I used target manager to make a wtc file and then I upload it to my own server but I am unable to get it from there. How can I get the wtc file from my own server to the AR world.

I am using the below code.
 

this.tracker = new AR.ClientTracker("http://appmetrik.com/wtc/tracker1.wtc", {

onLoaded: this.loadingStep

});

Hi,

I just tried to download the .wtc file from the url you provided and had no troubles. Are you sure that the issues with the loading of the .wtc? What happens in your app when you start the AR view? Did you debug your code to see what's going wrong?

Greetings

Nicola

Thank you for your response. I am getting this error in console.

Uncaught TypeError: AR.om.getObjectForID(...).onError is not a function

Hi,

The issue looks like the object is destroyed before it's fully loaded. Can you please send over your complete AR experience (html, css, js files, target images, assets), so we can test this internally. You can send the package to forum wikitude.com

Greetings

Nicola

When I use local path to load wtc file everything is working fine but when I use my server path it is giving me this error. 
Login or Signup to post a comment