Search Unity

Timeline "Track cannot be loaded" only Assetbundle Mobile platforms

Discussion in 'Asset Bundles' started by egoquat, Jun 7, 2021.

  1. egoquat


    Jul 4, 2012
    The issue of mine is very similar with this track.(
    Timeline "Track cannot be loaded" only Assetbundle with Mobile platforms.
    This "Not working Timeline track issues" only occurs Assetbundle Mobile platforms, on PC working well.
    Pseudo simple process
    1. Define customize timeline tracks to specific Timeline Asset by overrides HomeActionEventPlayable.
    Timeline has 10-20 tracks. Customized track is one of them.
    ex) Customize track override pseudo
    public class TimelineAAA : HomeActionEventPlayable
    2. Build an Assetbundle with Timeline assets and build android apk.
    3. Execute apk and download Assetbundle and then simply load with instantiate Timeline asset on the World
    4. Popped-out the message "The referenced script on this Behaviour (Game Object '<null>') is missing!"
    and then customized track is not working.
    Environment : Unity 2019.4.20f1 / Android / iOS
    Any solutions for this problem or suggestions thankful.
    Last edited: Jun 7, 2021
  2. Aurimas-Cernius


    Unity Technologies

    Jul 31, 2013
    Most common reason for such problems is unused code stripping. Try building Android mono player and see if it works.
    The solution is to have a dummy scene in the game that uses the features to prevent them from being stripped.
    egoquat likes this.