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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Why *unity file has multiple serialization format

Discussion in 'Getting Started' started by milanowth, Aug 20, 2023.

  1. milanowth

    milanowth

    Joined:
    Jul 30, 2023
    Posts:
    5
    I just cloned other's unity project built with Unity 2022.3.3f1. However when I tried to open it with Unity 2022.3.5f1, it shows the *.unity file cannot be open since "File may be corrupted or was serialized with a newer version of Unity".

    I know that almost all Unity files use yaml as serialization method with specific id and version. So I thought there might be it's LTS so it's quite normal to be not compatible with old version. However, when I open the scene file "BossScene.unity", it shows something like below:

    version https://git-lfs.github.com/spec/v1
    oid sha256:0cf95f1ada464a7d248d0bfcddbaf9119224a7c34bf1c14a066f56b53b3c2fca
    size 121692

    It seems like not a normal *.unity scene file, much more like a compressed file instead (bc of the md5 code). I searched over internet and it said it's probably released by AssetBundle format. So I wonder how could I recover the normal *.unity scene file from it?
     
  2. milanowth

    milanowth

    Joined:
    Jul 30, 2023
    Posts:
    5
    Okay my mistake, clearly it's been hosted on git-lfs