Search Unity

Timeline -: Adding timeline sequences in asset bundle includes common animations also in assetbundle

Discussion in 'Timeline' started by koumodaki, Oct 18, 2021.

  1. koumodaki

    koumodaki

    Joined:
    Jun 22, 2021
    Posts:
    9
    I am making a game which uses timeline sequence video every time new level loads. And for every level we are making assetbundle , now as these timeline sequences uses common animation , in each level, assetbundle for every level is including common animations in it. is there any way that common animations should not go in assetbundle as it increases the size of assetbundle.
     
  2. DavidGeoffroy

    DavidGeoffroy

    Unity Technologies

    Joined:
    Sep 9, 2014
    Posts:
    542
    Hey @koumodaki
    The Timeline doesn't have enough information to make that call. What should and should not be duplicated depends entirely on how you decide to load your asset bundles. This is not specific to Timeline, the same issue can happen for AnimatorControllers that share AnimationClips between them.

    I know there are ways to configure asset bundles not to duplicate referenced assets, but I don't have details. I would suggest that you ask on the Asset Bundles forums instead.