Log in or register to post comments

Use LoadLevelAdditive to load additional image targets

May 6, 2013 - 8:31am #3

Hi there, 

 

I'm trying to create a modular AR project by using Unity's LoadLevelAdditive feature. 

Basically, what I'm trying to achieve, is to have a generic AR viewer with camera, which loads additional targets from a seperate level (depending on user input). 

 

In Unity, the additional level (which only contains image targets) loads up fine, but when I build the iOS or even enable webcam behaviour in Play Mode, the additionally loaded targets don't work. It does say 'Num trackables detected: 1'  in the console when holding up a target in front of the webcam. 

 

I did a test by adding a AR Camera prefab to the additional image-targets-only scene, which works like it should. The additional level uses the same dataset as the generic one, so that shouldn't be the issue. 

I'm guessing it has something to do with a somehow broken link between the AR Camera in one scene and the image targets in the other. 

 

Any ideas? 

Thanks! 

 

Use LoadLevelAdditive to load additional image targets

May 6, 2013 - 8:57am #2

Hi, I think you replied to yourself already here:

I'm guessing it has something to do with a somehow broken link between the AR Camera in one scene and the image targets in the other. 

Indeed, currently Vuforia does not support persisting datasets across different scenes (levels), although we are potentially considering this feature for the future.

 

Use LoadLevelAdditive to load additional image targets

May 6, 2013 - 9:11am #1

Ok, too bad, seemed like an ideal solution to keep things neatly separated until building time. 

But thanks anyway, now I can start looking for a workaround. Which I think will be in the area of prefabs I'll manage in the separate scene. 

Cheers! 

Log in or register to post comments