Search Unity

Able to Fix a Corrupted Timeline Asset?

Discussion in 'Timeline' started by Hobbeslionheart, Dec 17, 2019.

  1. Hobbeslionheart

    Hobbeslionheart

    Joined:
    Sep 19, 2019
    Posts:
    5
    Somewhere between testing and uploading the file to Unity Collaborate, a timeline asset got corrupted and is not able to be opened in Unity. Unfortunately, we went too long before uploads and the older version of the asset is in a much different state than it was when we tried to upload it.

    I was wondering if I could peek into the file's code or open it somehow to see if I can fix it to make it work again. I tried opening it with Visual Studio and it didn't work.

    If it's corrupted, is it pretty much gone short of reverting to an older version or creating a new one?
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    If it's saved as text you can. A timeline file is simply sequence of assets that reference each other, so it's possible to fix up. If you can identify the corruption, you might be able to just remove a single object in the file and have it load. The objects are the timeline asset, the tracks, the playable assets referenced from clips and any recorded animation clips.