Search Unity

Video file inside Asset Bundle

Discussion in 'AR/VR (XR) Discussion' started by wowemotions_company, Jan 17, 2019.

  1. wowemotions_company

    wowemotions_company

    Joined:
    Jan 7, 2015
    Posts:
    8
    Hello,

    First of all, we know that it isn't possible to include a video file from streaming assets inside an Asset Bundle.

    We have an AR platform with Vuforia that allows users to upload content on a web site and see it through an AR appllication using vuforia cloud. The application supports video, images, audio, asset bundles and even some asset bundles with preprogrammed interactions.

    The thing is that we have been asked to add 3D content along with a video, for example: a birthday invitation with a 3D cake and a video of the family talking about the party...

    The problem is that our current platform only allows 1 file per tracker, adding a dual downloading of assetbundle and then the video, will requiere a lot of changes in our application, directories, the app content administrator, website and database.

    We are trying to figure out if there is any "trick" to pack the video inside the assetbundle, something like pack the video as a chunck of bytes that we can write in the proper path in realtime and then load it from there as usual.

    Another option we though was to download the assetbundle and stream the video, but sadly is not an option for other reasons.

    We would appreciate any idea, thank you!