Are you working with the JS API or the Native API?
Are you using any of our Extensions (Cordova, Xamarin, Unity)? If yes, which version are you using?
Is this happening with the sample app or in your own app? If it happens with your own app, does the sample app work on your device when you change the model loading?
Could you send the complete, buildable and runnable AR experienc?
Tech Hunter
if (this.tracker.state === AR.InstantTrackerState.TRACKING) {
modelAdded = true;
scaleValues = defaultScaleValue;
rotationValues = defaultRotationValue;
var model = new AR.Model(modelUrl, {
onLoaded: function modelLoadedLoaded() {
alert("Model Loaded!");
},
When I use String variable "modelUrl" which contains the url, the model does not load.
When I use String url instead of "modelUrl" (like "https://insta/model.wt3"), there is no problem with loading of 3d model.
Please help
note : I assigned url to modelUrl from android native using callJavaScript function.
Also modelUrl contains the url (tested by giving alert)