You can download a repro Unity project that demonstrates untrained Model Target device database swapping, based upon our 8.0 Core samples, here: https://drive.google.com/open?id=1SWM0QB-rZU_Bp1iVl-VUG_cuzsqAPwfe
Disclaimers and caveats:
The additional code, methods and classes, provided as part of this repro project and in addition to what is included as part of the Vuforia Engine Core samples, is done so for instructional use only
The additional code, methods and classes, provided as part of this repro project and in addition to what is included as part of the Vuforia Engine Core samples, should not to be shared outside of your team, organization and/or company
Any sample code provided to you by PTC is done so without warranty. If this code is used in any projects created by you, we take no responsibility for its functionality (or lack thereof)
Instructions for setup:
Print Lander.png and Printer.png on A4 paper
Open project in Unity Editor 2018.2.15f1
Drag Assets/SamplesResources/Scenes/3-ModelTargets into the heirarchy
Remove the "Untitled" scene from the heirarchy
At this point, the project is ready to be run in PlayMode and/or on device. For complete functionality, copy LanderMultipleGuideViewCreateTest.[dat|xml] and arPrinter_step1.[dat|xml] to the appropriate folder on your PC (PlayMode) and/or device.
Instructions for use:
Start the app
Align the printer guide view with the appropriate printout
Observed printer detection and augmentation
To swap between detecting the printer and lander, tap the lunar lander icon in the lower, right-hand corner when the app is running
Files updated and/or added to the Vuforia Engine 8.0 Core sample's base set of files:
Contains entry-point method HardcodedDatabaseSwap()
I've also done my best to provide additional code comments to help you better understand the steps required. Most importantly, we recommend that you replace our demo augmentation with a custom 3D model for the best user experience.
In addition, with MT Advanced you can store different models under the same database.
Hope this helps.
Vuforia Engine Support