Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Problem with TerrainData after downgrade Unity version

Discussion in 'World Building' started by ReLost92, Sep 25, 2020.

  1. ReLost92

    ReLost92

    Joined:
    Jun 22, 2018
    Posts:
    1
    Hey,

    some time ago, I updated project from version 2019.1 to 2020.1, but after some time we have some optimization issues, we communicated with Unity and they recommend to use Unity 2019.4 LTS. We tried it and it really helps, we have more FPS, generally better performance but we have problem with some asset that was serialized in Unity 2020, such as Terrains.

    In console I have error
    Failed to load 'C:/(...)/TerrainData_eba606e2-e40a-451f-b803-6ed585c87627.asset'. 
    File may be corrupted or was serialized with a newer version of Unity.


    And this is true, but how I can serialize it again with Unity 2019.4 serialization?

    Reimport that files doesn't work.

    Any ideas?
     
  2. chanfort

    chanfort

    Joined:
    Dec 15, 2013
    Posts:
    641
    I would probably go with approach to write a basic script which writes terrain data into your own file in 2020. Then in 2019 you can regenerate terrain from that file. This would be the most unified way when downgrading/upgrading Unity versions and would likely give you a full control on migrating terrains between Unity versions for unforeseeable future.