"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Loading prefabs through .json-files

Hi all,

I was thinking if it's possible to have the .json-file fetch a prefab from a designated URL and drop this into the rendered scene, upon the assigned image-target. If this is possible, wouldn't I be able to basically create an application, which after it's initial Google Play and AppStore release, could be updated with new targets and completely new content, without having to actually update the binary? 

So basically, what I'm asking is, if this is possible:- Scan an image

- Fetch the metadata from that image

- Fetch the .json-file, assigned inside the metadata

- Connect to a specific URL, assigned inside the .json-file, and download a Unity .prefab

- Place the prefab inside the rendered scene, on top of the image-targetAny suggestions?

Yes, you've got it. Though you might want to implement the asset loading in a seperate script component, and call that via GetComponent<classname>() to free up you event handler to catch new search results, in case the download hangs or the user wants to search on another target.