Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question A scripted object (probably UnityEngine.Timeline.ControlTrack?) has a different serialization layout

Discussion in 'Timeline' started by Januaryz, Oct 11, 2021.

  1. Januaryz

    Januaryz

    Joined:
    Apr 18, 2015
    Posts:
    4
    unity version: 2020.3.8f1
    platform: iOS

    We pack Timeline into AssetBundle and load it during game. However, some Timelines are not played, and errors are reported through the log:

    Has anyone encountered the same problem and how can this be solved?
     
  2. shaojingliu

    shaojingliu

    Joined:
    Mar 20, 2020
    Posts:
    6
    build by il2cpp mode, add "Assets/link.xml" file, content:

    <linker>
    <assembly fullname="Unity.Timeline">
    <namespace fullname="UnityEngine.Timeline" preserve="all" />
    </assembly>
    </linker>
     
    Last edited: May 17, 2022