- Sort Posts
- 5 replies
- Last post
Image targets not recognized in with Unity 2017.2
Image targets not recognized in with Unity 2017.2
Hi All:
Solved Here if use standard scenes or missbehabiour due version failures ;
1-Just add the database name as told
case ("ImageTargets"):
dbConfig.DataSetsToLoad = dbConfig.DataSetsToActivate = new[] { "YOUR DATABASE" };
break;
2-Remember add your license key (if not never communicate).
Done
Image targets not recognized in with Unity 2017.2
My desired Database and corresponding Image Target is showing in the Inspector for that Image Target GameObject.
Also make sure that the database you have set on this project is loaded and activated in the Vuforia Configuration file. This file is under the Assets/Resources directory.
Thanks,
-Vuforia Support
Image targets not recognized in with Unity 2017.2
Thank you for your reply.
My desired Database and corresponding Image Target is showing in the Inspector for that Image Target GameObject.
I am not using the sample app. I started with an empty project/scene, although Mars assets were loaded after creating the ImageTarget and ARCamera.
Currently it doesn't appear any mars assets are being loaded via any scripts. The only Vuforia-related scripts in the project are the ones listed below. Do any of them need to be altered to load custom targets?
- DefaultInitializationErrorHandler
- DefaultSmartTerrainEventHandler
- DefaultTrackableEventHandler
- OpenSourceInitializer
Thanks again for your help resolving this.
Image targets not recognized in with Unity 2017.2
Hello Paperclap,
Here are two quick things you can check to make sure your databases are loading.
Is your custom database checked to be loaded and activated within the Vuforia Configuration file?
If you're using the sample app and running the full set of scenes (loading a specific scene through our menus), make sure you go into the SamplesMainMenu.cs script and modify the code to load your database instead of the Mars samples. This code is setting the databases to use and overwriting what is set in the Vuforia Configuration.
Let me know if one of those resolves your issue.
Thanks,
-Vuforia Support
This answer is very confusing... where did you add the line? Which script?